• 1 Post
  • 11 Comments
Joined 5 months ago
cake
Cake day: June 11th, 2024

help-circle


  • Thanks for sharing.

    As a somewhat related thing that others might find useful, here are my shortcuts to get my Varmilo keyboard media keys working with useful functions instead of the default stuff. I’ve got these set up as custom shortcuts in KDE, but they should work in any context:

    Next track

    dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next

    Previous track

    dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous

    Play-pause toggle

    dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause

    You can replace Spotify in the destination parameter with any MPRIS-capable program. To find out what’s available on the dbus and get the exact name, use this command:

    dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames


  • Thanks for your detailed reply. I can feel I’m out of my depth in many ways, but between your reply and the others I’ve gotten, I have a lot of entryways into the problem, and I’m looking forward to figuring out how to make it work. I’ve done a bit of coding in C++ in the past as well; maybe that would also be an option. But since the purpose of the exercise is primarily to get more familiar with Rust, I think I’ll exhaust whatever options I have down that path first. Thanks again :)







  • That’s exactly why I am on Tumbleweed as well.

    I am not German myself, but most of my colleagues are. Having gotten to know the German attitude towards technology, I feel I understand why life with openSUSE is as uneventful as it is. How anyone got them to adopt something as subversively radical as a rolling release model is something of a mystery to me, but I won’t complain.



  • Commodore@lemmy.worldtoLinux@programming.devWhy openSUSE?
    link
    fedilink
    arrow-up
    33
    ·
    edit-2
    5 months ago

    There are a bunch of software-related reasons why openSUSE is a good choice (snapper, zypper, yast, to name a few), although few are exclusive to openSUSE. I think the primary selling point of openSUSE (Tumbleweed) is that it is a rolling release distro that never crashes, never requires attention, and just works. One of the reasons people don’t talk about it is probably that it is boring. All packages are tested extensively. It never breaks. And even if it did break, the default btrfs file system and snapper ensure that the system doesn’t stay broken for longer than it takes to reboot.

    If you want a distro that is up to date, easy to use, and dependable, openSUSE is a fantastic choice. It’s just not very exciting to have something that never requires attention; a lot of people use Linux because they like things requiring attention.

    As an afterthought, I also think the fact that openSUSE and its users seem to be pathologically unable to create any logo or symbol for anything even tangentially related to the distribution that doesn’t look like absolute shit might be holding them back.