Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)T
Posts
17
Comments
50
Joined
2 yr. ago

  • AFAIK Proton uses its own wine build, so by the time they go WoW64 only, it should comply with anticheats (or atleast I hope valve takes that into consideration)

  • If you want to get into customizing UIs hard, something the likes of this

    You could get started with window managers (very opiniated topic, its really up to you to decide on which you should use) and UI toolkits like

    Also I know X11 is slowly dying but AwesomeWM fits your bill really nicely.

    TL,DR: You want a cool UI? look at unixporn's top posts of all time, research an option you find good enough and go bananas on everything you need to make yourself at home.

    ALSO consider posting at !unixporn@lemmy.ml so we can marvel at your fine grained setup, good luck!

  • Support for larger 32-bit x86 systems (those with more than eight CPUs or more than 4GB of RAM) has been removed.

    What? How do you get more than 4GB of ram on a 32-bit CPU architecture? Now I need to know what kind of black magic they used for that

  • The Driftveil City Theme from Pokemon B&W pops up in my mind quite frequently, I'd say its up there in the list for catchiest Pokemon tunes. Honorable mention for Cave Story's Main Theme (the wii version is clearly superior from all others and I will not accept any other opinions on the matter)

  • I really thought that the effort of Fedora integrating flatpaks with their atomic spins meant that flatpak development was anything but lacking. I wonder if Redhat's budget falls too short to take a look at those PRs? Specially for the replacement of pulseaudio, giving mic permissions because you allowed audio to go through your speakers really shouldn't be a thing. Great summary either way

  • If anyone is curious, I checked the yay aur helper go dependencies here and it had none of the malicious packages mentioned on this post

  • Deleted

    Permanently Deleted

    Jump
  • LocalSend for quick local network file sharing from my phone that just werks. I prefer it over kde connect because the latter uses lots of random ports that kinda bloat my firewall whitelist. I know there is an alternative called warpinator, but I don't see a reason to change my preferences for now.

  • Isn't that what openGL and vulkan aim for?

  • So ZQ comes from the sound of a fly being swatted?

  • I've got to try #1

  • ooo that looks nice! I'll try it once I need to unrust my script skills again, thanks for the help!

  • It's fixed now! At first I researched a little more and found about the desktop-file-validate cli utility from the desktop-file-utils package, and it did tell me a lot about the syntax errors I was making with the exec command.

    But as you wisely suggested, dealing with those escaping rules was a bit too bothersome for my use case, so I ended going the bash script route which worked flawlessly at last! So thank you for pointing that out!

    Here's the final .desktop file for anyone interested:

     toml
        
    [Desktop Entry]
    Type=Service
    MimeType=image/png;image/jpg;image/jpeg;image/ico;image/heic;image/svg+xml;image/webp;
    Actions=topng;tojpg;toico;towebp
    X-KDE-Submenu=Convert Image Format
    Icon=viewimage
    
    [Desktop Action topng]
    Name=To Png
    Exec=/home/myuser/.local/share/kio/servicemenus/scripts/convert-image.sh %f png
    Icon=viewimage
    
    [Desktop Action tojpg]
    Name=To Jpg
    Exec=/home/myuser/.local/share/kio/servicemenus/scripts/convert-image.sh %f jpg
    Icon=viewimage
    
    [Desktop Action toico]
    Name=To Ico
    Exec=/home/myuser/.local/share/kio/servicemenus/scripts/convert-image.sh %f ico
    Icon=viewimage
    
    [Desktop Action towebp]
    Name=To Webp
    Exec=/home/myuser/.local/share/kio/servicemenus/scripts/convert-image.sh %f webp
    Icon=viewimage
    
    
    
      

    and the bash script coupled with it:

     bash
        
    #!/bin/bash
    
    FILE="${1}"
    FORMAT="${2}"
    
    # Check if magick is installed
    if ! command -v magick &> /dev/null; then
        echo "Error: magick command not found. Please install ImageMagick."
        exit 1
    fi
    
    # Check if FILE exists
    if [[ ! -f "$FILE" ]]; then
        echo "File not found: $FILE"
        exit 1
    fi
    
    DIRECTORY=$(dirname "$FILE")
    # Get the file name by looking for the longest match starting from the beginning of the string up to the last dot.
    FILENAME=$(basename "$FILE" .${FILE##*.})
    
    # Convert the file format using magick
    magick "$FILE" -format "$FORMAT" "$DIRECTORY/$FILENAME.$FORMAT"
    
    
    
      
  • If I understood correctly, I made the changes as you said like this:

    Exec=sh -c "FILE=\"%f\"; DIRECTORY=\"$(dirname \"$FILE\")\"; FILENAME=\"${FILE%.*}\"; magick \"$FILE\" -format png \"$DIRECTORY/$FILENAME.png\""

    Now when I click on the service menu option this error popup appears:

    Syntax error in command sh -c "FILE=f DIRECTORY=(dirname FILE FILENAME={FILE%.*} magick FILE\ -format png DIRECTORY/$FILENAME.png coming from

    It seems escaping the double quotes doesn't actually escape the backlash with it?

    I then tried escaping those new backlashes like this

    Exec=sh -c "FILE=\\"%f\\"; DIRECTORY=\\"$(dirname \\"$FILE\\")\\"; FILENAME=\\"${FILE%.*}\\"; magick \\"$FILE\\" -format png \\"$DIRECTORY/$FILENAME.png\\""

    and now Dolphin doesnt complain about syntax, but the new converted image doesn't get made :(

  • Thanks!

  • That vimeo link of the spanish tv crew coverage doesn't seem to work for me. Do you happen to have any mirror of it?

  • Never

    Jump
  • Tux is in need of a glass of wine to handle all those pesky windows households

  • Checking your battery percentage by using neofetch is wildd