Wayland

283 readers
1 users here now

!Wayland

Anything to do about Wayland and things built around it.

Related Communities

founded 3 years ago
MODERATORS
1
 
 

cross-posted from: https://lemmy.ml/post/21898601

One of the quickest ways to determine whether particular application runs using Xwayland is to resize one of its windows and see how it behaves, for example

While it can be handy for the debugging purposes, overall, it makes the KDE Plasma Wayland session look less polished. So, one of the goals for 6.3 was to fix this visual glitch.

This article will provide some background behind what caused the glitch and how we addressed it.

2
 
 

cross-posted from: https://discuss.tchncs.de/post/23486789

This full packed release comes with three new staging protocols:

  • system bell - allowing e.g. terminal emulators to hand off system bell alerts to the compositor for among other things accessibility purposes

  • fifo - for implementing first in first out surface content update behavior

  • commit timing - for adding time constraints to surface content update

Other than this, the presentation timing protocol protocol got a version minor bump describing how to deal with variable refresh rate.

Other protocols saw the regular clarifications and bug fixes, and some deprecated events is now properly indicated as such in the XML. Please see individual commits for details.

3
4
1
submitted 7 months ago* (last edited 7 months ago) by teolan@lemmy.world to c/wayland@lemmy.ml
5
 
 

Hey guys, I've been using tiling wms for a long time and today I decided to try floating wms. Do you guys know any Wayland floating wm?

6
7
 
 

cross-posted from: https://programming.dev/post/9378922

v0.1 was released recently

8
6
submitted 10 months ago* (last edited 10 months ago) by max641@lemmy.world to c/wayland@lemmy.ml
 
 

Qn^

I was looking for dmenu alternatives in wayland.

Required to search and execute commands in $PATH.

Edit: Solved using bemenu, with a simple script.

source ~/.bashrc
bemenu-run -b -H 4 --fn 'fixedsys-Excelsior-12'
9
 
 

AFAIK waybar doesn't offer quick launch buttons, but it does offer custom modules, which one can use to mimic such buttons. I'm using custom modules in a pretty simple way, for example for librewolf (I didn't find an awesome icon font for it, so using the FF one):

    "custom/librewolf": {
        "format": "",
        "interval": "once",
        "on-click": "librewolf",
    },

I have some other ones for other applications. I do use keybindings as well, and I can use wofi to search for the applications, but none of them are really alternatives for other users.

It does work ! However I was looking for a very simple way to add what official modules, like a "tooltip-format" which is part of the official modules. Not sure why on earth it's not part of the custom modules. So for example, I'd look for something similar to:

    "custom/librewolf": {
        "format": "",
        "tooltip-format" "Librewolf Browser"
        "interval": "once",
        "on-click": "librewolf",
    },

So that if someone doesn't recognize the awesome font icon, one could just find out by the tip shown when getting the mouse on top of the button. As this is not supported. Is there any simple way to do that? Hopefully not requiring to add several scripts just for this. Something that might be part of such snippet, and pretty simple would be great, 🙂

Please let me know of suggestions.

Thanks !

10
 
 

I recently switched to Hyprland on my laptop and was able to set it up as I like, but I struggle hard to set up keybinds to simply print different characters when pressing certain key combinations.

For example, one small snippet from my .Xmodmap (there are more in this file but that’s enough for a minimal working example)

keycode 108 = Mode_switch
keycode 38 = a A adiaeresis Adiaeresis

This allows me to press the A key in combination with the right Alt key to print an ä or an Ä when shift is pressed, to.

wtype and built-in key binding

After some research I found wtype which allows me to write arbitrary text when called with the parameters.

After I learned that Hyprland (or Wayland) does not distinguish between Alt_R and Alt_L (they’re shown as Alt_R and Alt_L in wev with different keysyms, so they’re clearly two different keys) and I accepted it, I just found out that this tool only works when being in a terminal emulator and not in a GUI application so this tool is useless for me.

keyd

Then I tried keyd. After setting it up and adding my user to the needed groups and starting the service and trying to figure out how to actually define keymaps I was able to send something when pressing a defined key combination.

But: Nothing else than ASCII.

The dev thinks it’s a Chromium problem based on this issue but it actually isn’t. I wasn’t able to send an ä to ANY application, no matter if GUI or terminal or Qutebrowser.

Since there is basically no online resources or user community for this tool, I cannot find any usable information on this issue except the unrelated Chrome reference and thus I removed it again because I cannot use it for what I want to use it for.

xkb

For whatever reason Wayland (or Hyprland) uses certain parts of the X keyboard extension, so I also tried this one.

Despite being absurdly complex and annoying to setup I was able to configure a user based keyboard variant using user-based symbols. From what I’ve taken from various sites my config should do nothing more than remapping Alt_R to ISO_Layer3_Shift just for testing purposes.

But all I achieved was reproducibly crashing Hyprland when setting it up to actually use said keyboard variant and there seems to be no log file.

yeah, that’s where we are

Again, it’s not about the umlauts, and not about the German keyboard layout, and not about switching lkayouts on-the-fly, it’s just to demonstrate what I mean. You can replace ä with any other character you want.

After a long night of trying out to have the Xmodmap functionality in Wayland using Hyprland as compositor I ended up with not being successful.

I give up for now.

Maybe one day there will be an actually working solution requiring nothing more than two lines in a file.

11
 
 

cross-posted from: https://kbin.social/m/linux@lemmy.ml/t/465738

Wayland. It comes up a lot: “Bug X fixed in the Plasma Wayland session.” “The Plasma Wayland session has now gained support for feature Y.” And it’s in the news quite …

12
 
 

Every release has a killer feature. Qt 6.6 features the opposite - staying alive. This blog post describes work to make Qt clients more robust and seemlessly migrate between compositors, providing resistance against compositor crashes and more.

13
 
 

"Most of our desktop applications have a toolbar, sometimes they even have multiple toolbars next to or stacked on top of each other. More complex desktop applications such as Krita, Kdenlive or LabPlot often consist of multiple sub-windows, docks, tabbed views, etc. Docks and toolbars can be undocked, moved around and arranged freely and when dragged over a part of a window snap back into the window. This allows the user to customize their work environment to their liking and needs. This worked fine on X because it lets you do anything, this post explores the situation on Wayland."

14
 
 

cross-posted from: https://lemmy.ml/post/3072599

"With this blog I would like to introduce KRdp, which is a new library implementing the required glue to create a server exposing a KDE Plasma Wayland session over the RDP protocol. It also contains a command-line based server which will allow remote clients to control the current Plasma Wayland session."

15
 
 

Hi !

I'm using wayfire with several other wayland tools, and though most gtk3 applications respect GDK_DPI_SCALE, it so happens that nautilus, which is built with gtk4 doesn't (on Artix, non systemd derivative from Arch), and I haven't found a way to scale its fonts up.

Now I really don't care much about nautilus, but I do care about the environment, and don't see how to overcome this limitation for gtk4 applications.

Any help?

16
1
submitted 2 years ago* (last edited 2 years ago) by jumanjimanju@lemmy.ml to c/wayland@lemmy.ml
 
 

So i use gnome, and while im on wayland everything works really good, but i cant set a keybinding to 'Super+Shift+$'.
Is there a reason i dont know for this? All of my other keybindings work perfectly fine, but this one doesnt.
It works on Xorg

17
1
submitted 3 years ago* (last edited 3 years ago) by kixik@lemmy.ml to c/wayland@lemmy.ml
 
 

Hello, I just noticed there's a paperde wayland DE using Wayfire as compositor, and of course there's Liri wayland DE.

Has anyone experienced with them? Which is lighter and requires less resources? Which is more stable? Which provides a better general purpose desktop (not focus just on their own apps)?