med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

373
active users

#sway

0 posts0 participants0 posts today

In the process of moving from #i3 to #sway, I also had to let xscreensaver go. :(

I wasn't sure how swayidle dealt with another process running swaylock, so I wasn't sure what command I should bind to M-C-<L> - my normal lock key combo.

Then I realised the machine I use wakes up super fast from suspend so I just set it to "systemctl suspend". Works great and saves power!

I'm starting a journy of setting up a beefy #linux desktop for data/AI work. I've used #macOS for a while and will continue to do so on my laptop. However, I'm really excited to try to do all my main work in #Fedora with #sway. My goal is to share findings from the process here to both document for myself and help others out that are on a similar journey. #macos2linux

Ich habe heute mal interessenhalber einen #sway Desktop auf meinem "DevTerm" aufgesetzt und ich muss sagen: Ich bin positiv überrascht! Alles läuft ein wenig flotter und irgendwie "flüssiger" als bei meinem bisherigen #X11 setup...

Jetzt muss ich mich nur noch an die Wayland Tools gewöhnen.

I've installed just about every tiling compositor / Window Manager for #Wayland, and am slowly eliminating the ones that have showstopper issues.
* #Sway is good, and I love that all my i3 configs can be used, but scaling the display on my high-DPI monitors was just unusably awful,
* #MiracleWM just flat-out refused to run, and I'm not motivated to put the time in to fix whatever is wrong
* #hyprland is another of the mainstream WMs (as much as a tiling window manager for #Linux can be called mainstream), and works really well, in terms of having the most bells and whistles—like really good scaling with the option of leaving XWayland windows unscaled—but at the cost of a pretty greedy amount of CPU usage even when it's not doing anything.
* #RiverWM looks like a good contender, though it feels like it's a small project and early in the development process. Best thing: they use good ol' IRC for the user forum, rather than reddit. I think I've found my people.
wiki.archlinux.org/title/River

wiki.archlinux.orgriver - ArchWiki
Replied in thread

@futurebird It's not the strangest computer I own or have access to, but it is the strangest one I use for "normal" fediverse access. It's a £100 ARM-based #PineBookPro I bought back when they were new, and installed #PostmarketOS on. It saved me in a pinch at work when I had a laptop die on me, although I definitely drove it harder than it wanted that day.

I'm running absolute nerd-bait stuff on this thing: #sway, #waybar, etc. My normal laptop is straight GNOME, usually.

This week's Linux and FOSS news:

LINUX NEWS

Ubuntu 24.10 will reach EOL on July 10, upgrading to 25.04 is recommended:
omgubuntu.co.uk/2025/06/ubuntu

Ubuntu 25.10 (shipping GNOME 49) will remove GNOME X11 session:
9to5linux.com/ubuntu-25-10-que

Linux Mint 20 reached EOL, upgrading to 22 is recommended:
news.itsfoss.com/linux-mint-20

Linux Mint 22.2 adds out-of-the-box fingerprint authentication support with Fingwit app:
9to5linux.com/linux-mint-22-2-

Nitrux drops the Plasma-based NX desktop for Hyprland, due to the discontinuation of Plasma LTS released:
9to5linux.com/nitrux-linux-dro
(It's a bit weird choice that they ditched a full DE for a standalone compositor, which is tiling in fact, and requires editing some config files manually, not sure if DE users want that.)

Kali Linux 2025.2 released with revamped Kali Menu, GNOME 48, KDE Plasma 8.3, 13 new tools (including Azurehound, binwalk3, bloodhound-ce-python etc.):
9to5linux.com/kali-linux-2025-

GNOME 49 Alpha 0 available with preparations for disabling X11 by default:
phoronix.com/news/GNOME-49-Alp

Sway 1.11 released with explicit sync support, support for the ext-image-copy-capture-v1 and ext-image-capture-source-v1 protocols for improved screen capture, support for the alpha-modifier-v1 protocol for setting an alpha multiplier for a surface, etc.:
9to5linux.com/sway-1-11-tiling

(More Linux and FOSS news in comments)

OMG! Ubuntu · Ubuntu 24.10 Support Ends July 10thUbuntu 24.10 Oracular Oriole reaches end of life July 10, 2025. All users will need to upgrade to Ubuntu 25.04 Plucky Puffin to continue receiving security updates.

Bon je dois me rendre à l’évidence : je crois que j’aime bien écrire des articles de blog/tuto sur des sujets #tech comme j’ai fait pour celui sur #neovim
Est-ce qu’il y aurait d’autres sujets qui pourraient vous intéresser ? Mon setup #desktop #linux optimisé pour l’utilisation clavier avec #sway, #kitty, le lanceur #rofi (apps, emojis, etc), mes mappings #ergol et mes quelques apps #cli dont je peux pas me passer ?
Des tutos #python sur #litestar notamment ? Autre chose ?

Replied in thread

@xerxespersrex

#Sway really doesn't like display managers.

On my Sway machines, I use multi-user.target (not graphical.target) and have the following in my ~/.bashrc:

function inst {
    type "$@" &>/dev/null
}
[[ -n $PPNAME ]] || PPNAME=$($psef |awk '$2=='$SHELL_PPID' {print $8}')
if [[ $PPNAME =~ (.*/)?login && $XDG_SESSION_TYPE == tty ]] && inst sway && [[ -e ~/.config/sway/config ]] && ! pcheck -x sway; then
    swaytmpfile=/tmp/.swaystart.$USER
    function _startsway {
        touch $swaytmpfile
        local logfile=~/.sway.log
        [[ -f $logfile ]] && mv -f $logfile{,~}
        echo "Starting sway..."
        export _JAVA_AWT_WM_NONREPARENTING=1

        # ask Firefox to use Wayland
        export MOZ_ENABLE_WAYLAND=1
        export MOZ_WEBRENDER=1

        # set XDG vars for apps that might need it
        export XDG_SESSION_TYPE=wayland
        export XDG_CURRENT_DESKTOP=sway

        exec sway -d &> $logfile
    }
    echo
    tmpisram=false
    \mount |grep -qF 'tmpfs on /tmp ' && tmpisram=true
    if $tmpisram && [[ ! -e $swaytmpfile ]]; then
        read -N1 -t1 -p "Start sway? [Y/n] >" ynstartsway
        echo
        [[ $ynstartsway == [nN]* ]] || _startsway
    else
        read -N1 -t 5 -p "Start sway? [y/N] > " ynstartsway; echo
        if [[ $ynstartsway =~ ^[yY]$ ]]; then
            $tmpisram && touch $swaytmpfile
            _startsway
        fi
    fi
    unset swaytmpfile tmpisram ynstartsway
fi

@tripplehelix

They're just so dang convenient!

Also, while I love #KDE #Plasma's flexibility, power, and aesthetics, there's just something about the directness and immediacy of #i3wm / #sway that I just can't give up.

I still totally love Plasma at work, and it's great for my convertible/yoga device, but for just sitting down and doing concentrated/focused text-based work, tiling is where it's at.