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:

10K
active users

#modernlinuxproblems

0 posts0 participants0 posts today
𝘋𝘪𝘳𝘬<p>When using GIMP, “downgrading” to X11 by using Xwayland does not only fix the splash screen having window decoration (on Wayland it weirdly has), it also makes it possible to store window positions in multi-window mode (<a href="https://gts.0x7be.net/@dirk/statuses/01JPNFMDAA2P3XAK8NZ5B9V41Q" rel="nofollow noopener noreferrer" target="_blank">which on Wayland does not work</a>).</p><p><a href="https://gts.0x7be.net/tags/wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a> <a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ModernLinuxProblems</span></a> <a href="https://gts.0x7be.net/tags/x11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>X11</span></a> <a href="https://gts.0x7be.net/tags/gimp3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GIMP3</span></a> <a href="https://gts.0x7be.net/tags/gimp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GIMP</span></a> <a href="https://gts.0x7be.net/tags/xwayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Xwayland</span></a></p>
𝘋𝘪𝘳𝘬<p>Or maybe single-window mode, even if it feels super crammed and I cannot individually move images around.</p><p><a href="https://gts.0x7be.net/tags/gimp3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GIMP3</span></a> <a href="https://gts.0x7be.net/tags/gimp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GIMP</span></a> <a href="https://gts.0x7be.net/tags/lightmode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LightMode</span></a> <a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ModernLinuxProblems</span></a></p>
𝘋𝘪𝘳𝘬<p>But some session-related stuff is in Milestone 3.2 for <a href="https://gts.0x7be.net/tags/gimp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GIMP</span></a>, disabling this session-related stuff, which implicitly fixes GIMP not remembering windows positions(?)</p><p><a href="https://gitlab.gnome.org/GNOME/gimp/-/issues/5323#note_2344641" rel="nofollow noopener noreferrer" target="_blank">https://gitlab.gnome.org/GNOME/gimp/-/issues/5323#note_2344641</a></p><p>So maybe in a few months … In the meantime manually moving the windows in the right positions is the way to go.</p><p>Utterly annoying, but unavoidable in modern <a href="https://gts.0x7be.net/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a>, I guess</p><p><a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ModernLinuxProblems</span></a> <a href="https://gts.0x7be.net/tags/magicbullshit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MagicBullshit</span></a></p>
𝘋𝘪𝘳𝘬<p>After lots and lots of waiting and trying out multiple different things regarding single window recording in <a href="https://gts.0x7be.net/tags/obs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OBS</span></a> :obs: on <a href="https://gts.0x7be.net/tags/wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a> :wayland: running <a href="https://gts.0x7be.net/tags/labwc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>labwc</span></a> :labwc: there is now a solution in place I can work with.</p><p>I wrote a wrapper script (<a href="https://0x7be.de/projects/virtual-output-casting-wrapper-script/" rel="nofollow noopener noreferrer" target="_blank">see here</a>) that does the following things when added as <a href="https://gts.0x7be.net/tags/pipemenu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pipemenu</span></a> in labwc and I click the menu entry to create the output.</p><ol><li>Add a virtual output</li><li>Use <code>wlr-randr</code> to set the geometry</li><li>Use <code>swaybg</code> to set the wallpaper</li><li>Send an update signal to a custom <a href="https://gts.0x7be.net/tags/waybar" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Waybar</span></a> module</li></ol><p>I can now start <a href="https://gts.0x7be.net/tags/obs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OBS</span></a> and can add a <a href="https://gts.0x7be.net/tags/pipewire" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PipeWire</span></a> 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).</p><p>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”.</p><p>When I’m done, I invoke the script again, by clicking the remove entry which is dynamically shown if the output is active.</p><ol><li>Remove the output</li><li>Remove “the output’s <code>swaybg</code> instance”</li><li>Send an update signal to a custom Waybar instance</li></ol><p>Until individual-window recording will be possible this is a good workaround.</p><p><a href="https://gts.0x7be.net/tags/justlinuxthings" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JustLinuxThings</span></a> <a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ModernLinuxProblems</span></a> <a href="https://gts.0x7be.net/tags/sharingiscaring" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SharingIsCaring</span></a> <a href="https://gts.0x7be.net/tags/scripting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scripting</span></a> <a href="https://gts.0x7be.net/tags/luanti" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Luanti</span></a> <a href="https://gts.0x7be.net/tags/minetestgame" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MinetestGame</span></a></p><p>//cc <span class="h-card"><a href="https://fosstodon.org/@whynothugo" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>whynothugo</span></a></span> (thanks) <span class="h-card"><a href="https://mastodon.social/@LXQt" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>LXQt</span></a></span> (thanks, too)</p>
𝘋𝘪𝘳𝘬<p>I wish <a href="https://gts.0x7be.net/tags/freecad" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeCAD</span></a> :freecad: would consistently work on <a href="https://gts.0x7be.net/tags/wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a> :wayland: … For a few releases it does, with the 1.0 release it stopped. (No, using <a href="https://gts.0x7be.net/tags/xwayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Xwayland</span></a> is not a solution but a disgusting workaround that introduces a lot of issues).</p><p><a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ModernLinuxProblems</span></a></p>
𝘋𝘪𝘳𝘬<p>Great. Another thing I need to work around. 😠</p><p>The <a href="https://gts.0x7be.net/tags/evolution" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>evolution</span></a> of modern Linux feels more like a <a href="https://gts.0x7be.net/tags/devolution" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devolution</span></a> for me sometimes.</p><p>Latest entry in my personal list is <span class="h-card"><a href="https://hachyderm.io/@neovim" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>neovim</span></a></span> which now uses the ancient <a href="https://gts.0x7be.net/tags/vim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vim</span></a> leftover highlight configurations <code>guifg</code> and <code>guibg</code> by default, messing up modern colorschemes in Lua-only setups.</p><p><a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ModernLinuxProblems</span></a></p>
𝘋𝘪𝘳𝘬<p>Modern Linux reminds me of when I started using Linux ca. 2 decades ago.</p><p>The graphics server randomly crashing without any usable error message, all applications have different font scaling and style. Screen recording not working (let alone individual windows recording), having to re-login for gaming, desktop menu has no proper icons support etc.</p><p>My last thing is starting log-running terminal tasks in a <a href="https://gts.0x7be.net/tags/tmux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tmux</span></a> session because I know that at some point the GUI just stops working and drops me to the login prompt.</p><p><a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ModernLinuxProblems</span></a> <a href="https://gts.0x7be.net/tags/nvidia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nvidia</span></a> <a href="https://gts.0x7be.net/tags/labwc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>labwc</span></a> <a href="https://gts.0x7be.net/tags/wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a></p>
𝘋𝘪𝘳𝘬<p>Unfortunately <a href="https://gts.0x7be.net/tags/freecad" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeCAD</span></a> :freecad: does not run on <a href="https://gts.0x7be.net/tags/wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a> :wayland: (maybe it’s an <a href="https://gts.0x7be.net/tags/nvidia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nvidia</span></a> issue?). By using <a href="https://gts.0x7be.net/tags/xwayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Xwayland</span></a> this issue can be circumvented.</p><p>It of course comes with all the downsides of Xwayland, like lower performance, running less stable, etc.</p><p>With this custom startup script at least the scaling on my 4K 28" screen is fixed (you might want to tinker with the <code>QT_FONT_DPI</code> value). Just place as file with 755 permissions in <code>/usr/local/bin/freecad</code>.</p><pre><code>#!/bin/bash QT_QPA_PLATFORM=xcb \ QT_AUTO_SCREEN_SCALE_FACTOR=0 \ QT_SCALE_FACTOR=1 \ QT_FONT_DPI=160 \ QT_SCREEN_SCALE_FACTORS=1 \ /usr/bin/freecad "$@" </code></pre><p>I just wish it would work with Wayland on <a href="https://gts.0x7be.net/tags/labwc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>labwc</span></a> :labwc: instead of just showing a blue area where the 3D model would be.</p><p>//cc: <span class="h-card"><a href="https://fosstodon.org/@FreeCAD" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>FreeCAD</span></a></span></p><p><a href="https://gts.0x7be.net/tags/justlinuxthings" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JustLinuxThings</span></a> <a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ModernLinuxProblems</span></a></p>
𝘋𝘪𝘳𝘬<p>So this is where modern Linux is right now.</p><pre><code>xdg-desktop-portal-wlr: unsupported wl_shm format 0x34324742 </code></pre><p>Searching the web for <code>unsupported wl_shm format</code> gives SIX results, one referring to a patch from 2 years ago, one being useless, one being a dead link, one describing the same problem I have, without a solution, one being a source code file for translations and one being a click farming site.</p><p>I know, <a href="https://gts.0x7be.net/tags/xorg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Xorg</span></a> is dead software not suggested or maintained anymore. But at what point did <a href="https://gts.0x7be.net/tags/wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a> took the wrong turn that we now have this bullshit? 😠</p><p><a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>modernLinuxProblems</span></a> <a href="https://gts.0x7be.net/tags/magicbullshit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>magicBullshit</span></a></p>
𝘋𝘪𝘳𝘬<p>I wish, screen recording on <a href="https://gts.0x7be.net/tags/wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a> :wayland: would be easier. When trying <a href="https://gts.0x7be.net/tags/obs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OBS</span></a> ist just gives this window and logs a nonsense message that simply is not true.</p><pre><code>warning: [pipewire] Failed to start screencast, denied or cancelled by user </code></pre><p>Neither did I deny or cancel anything. I just clicked the “Select Monitor” button</p><p>All the <a href="https://gts.0x7be.net/tags/magicbullshit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>magicBullshit</span></a> is running. Webcam recording works, microphone recording works, desktop audio recording works.</p><p>I have no idea.</p><p><a href="https://gts.0x7be.net/tags/modernlinuxproblems" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>modernlinuxproblems</span></a></p>