fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#labwc

0 posts0 participants0 posts today
Replied to Justine Smithies

@justine
I recommend reading this evident provocation.
xahlee.info/linux/why_tiling_w

I am happy with .
I have configured the titlebar with double left click to iconify and middle click to lower, xfce4-panel as vertical with intelligent autohide.
I use "Run or Raise" with single key shortcuts for most used applications.

Here is a link to an old implementation request of mine.
github.com/labwc/labwc/issues/

Below is the current state of my desktop environment

Still playing with #Labwc and trying to hate it but failing miserably. I'm a tiling WM girl at heart but I'm actually liking the way Labwc works. There's no IPC for external control, You just use keybinds, rules and maybe some scripting magic with the likes of wlrctl or wob. I'm still running #RiverWM as my daily though and just testing Labwc to see what's on the otherside but hey. ;)
#Wayland #OpenBox
Replied in thread
Agreed. I mean, most of #Wayland compositors seem to be tilling #WM based, which I am always afraid to even try out because I am so spoiled by stacking windows. But #labwc makes me at home even I am trying out something totally new.
Continued thread

Oh, of course. #GIMP not behaving as expected on #Wayland is a 4 years old issue that now has an actual effect but isn’t really GIMP’s fault.

https://gitlab.gnome.org/GNOME/gimp/-/issues/5323

Also this one which is not really related but used as reference when closing a bug reports with the recent version and window positions:

https://gitlab.gnome.org/GNOME/gimp/-/issues/12230

… I still wonder if I can somehow get the individual windows with a #labwc window rule.

GitLabWayland: broken window positioning restoration (#5323) · Issues · GNOME / GIMP · GitLabGIMP version: master Operating System: Wayland/Linux Description of the bug Our code for restoring dialogs to their...
Continued thread

Seems like I cannot get the individual windows by title. (Title is set after the window was created?)

Unfortunately the windows all have the same ID, so I cannot get the windows by their ID, either. Just using the ID lets me modify the windows just fine – but all windows the same, because they all have the same ID.

The funny thing is: #GIMP3 can store the window sizes just fine, but when restarting it, all windows positions are removed and #labwc opens them in the center (because centering otherwise unspecified windows is my default rule and thus expected).

I tried setting window hints as normal window or utility window, but without luck.

So either #GIMP doesn’t play nice with #Wayland, or something is wrong with labwc.

After lots and lots of waiting and trying out multiple different things regarding single window recording in #OBS :obs: on #Wayland :wayland: running #labwc :labwc: there is now a solution in place I can work with.

I wrote a wrapper script (see here) that does the following things when added as #pipemenu in labwc and I click the menu entry to create the output.

  1. Add a virtual output
  2. Use wlr-randr to set the geometry
  3. Use swaybg to set the wallpaper
  4. Send an update signal to a custom #Waybar module

I can now start #OBS and can add a #PipeWire screen recording and select the output (I have to do it blindly by just moving the cursor outside my actual display, because there is no menu, but that’s fine).

For what I’m doing the performance of the OBS preview is fast enough so I simply move the cursor over to the virtual output and use it “inside OBS”.

When I’m done, I invoke the script again, by clicking the remove entry which is dynamically shown if the output is active.

  1. Remove the output
  2. Remove “the output’s swaybg instance”
  3. Send an update signal to a custom Waybar instance

Until individual-window recording will be possible this is a good workaround.

#JustLinuxThings #ModernLinuxProblems #SharingIsCaring #scripting #Luanti #MinetestGame

//cc @whynothugo (thanks) @LXQt (thanks, too)

Continued thread

Users of and should note that we have moved the session files and application dependencies to new packages: sway-session and labwc-session. This enables the use of these compositors with other desktops, or under different contexts, without needlessly installing applications that may not be needed or wanted.

If you use these compositors as your desktop, make sure you install the session packages before logging out or restarting!