linuxmemes linuxmemes Snap out of it
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 hours ago 100%

    I tested installing some web browers, kdenlive, yuzu and libreoffice and without knowing I ended up with 3 different runtimes and the total storage usage (with deduplication) was 4.79 GIB.

    Meanwhile with 33 appimages that I have (which includes same flatpak apps I mentioned) are using 2.2 GiB.

    It doesn't matter if they share if in the end they end up using several times more storage than the appimage equivalent.

    1
  • linuxmemes linuxmemes Snap out of it
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    5 hours ago 100%

    Isn't the gnome runtime alone 2GiB? You know how many appimages that is?

    Not to mention you are unlikely to only use one runtime.

    2
  • linux Linux Linux Directory Structure - FHS
    Jump
    firefox Firefox Vimium like plugin for firefox with favicon support?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 weeks ago 100%

    it may have the same problem.

    It actually doesn't! it works thank you!

    Btw when I have multiple tabs on the vomnibar, if I scroll down the list using the arrow keys it doesn't change to the next page, I instead have to use the mouse wheel to move to the next page, is there a way I can fix that?

    2
  • firefox Firefox Vimium like plugin for firefox with favicon support?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 weeks ago 100%

    Is there an easy way to migrate my vimium conf to it?

    Also are you sure that it displays the page icon in the active tabs menu?

    1
  • firefox
    Firefox Samueru 2 weeks ago 92%
    Vimium like plugin for firefox with favicon support?

    I know vimium works in firefox, however I ran into this 4 year issue: https://github.com/philc/vimium/issues/3674 Is there an alternative that doesn't have that issue?

    24
    7
    linux Linux What is the most duct-tape thing you've done to Linux?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    4 weeks ago 100%

    It makes me mad to see the current state sway is in, I even bought an AMD GPU for nothing.

    4
  • asklemmy Asklemmy What web browser extensions would you highly recommend to others?
    Jump
    linux Linux ZRAM configuration and other tweaks for potatoes running Linux
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    1 month ago 100%

    I really don't know lol

    Increasing the max_map_count is needed for some Steam games, iirc Arch is now dong this by default.

    iirc the dirty_bytes settings prevent the system from hanging if there is too much disk IO

    And setting transparent_hugepages to madvise was something I did when archlinux had this bug in the kernel: https://old.reddit.com/r/archlinux/comments/1atueo0/higher_ram_usage_since_kernel_67_and_the_solution/

    It was eventually fixed but I later ran into the issue again and I decided to keep it on madvise.

    2
  • linux Linux ZRAM configuration and other tweaks for potatoes running Linux
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    1 month ago 100%

    Here is what I ended up using for my sysctl conf, iirc I got some of these from popos default config:

    vm.swappiness = 180
    vm.page-cluster = 0
    vm.watermark_boost_factor = 0
    vm.watermark_scale_factor = 125
    vm.dirty_bytes = 268435456
    vm.dirty_background_bytes = 134217728
    vm.max_map_count = 2147483642
    vm.dirtytime_expire_seconds = 1800
    vm.transparent_hugepages = madvise
    
    2
  • linux Linux IDE/Text Editor Recommendations for Go Development on Linux
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    1 month ago 100%

    nvm I just noticed that the issue is that I had the gcompat package installed in alpine, which fixes that issue you just had, I don't know if chimera has something similar to it.

    1
  • linux Linux IDE/Text Editor Recommendations for Go Development on Linux
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    1 month ago 100%

    That's interesting that it doesn't work, iirc the biggest difference of chimera is that it uses musl like alpine does.

    Can you extract the appimage with --appimage-extract flag and run the AppRun that's inside of it directly? Or that also fails?

    Isn't lite-xl in your distro repo?

    1
  • linux Linux Manjaro Immutable Out Now for Community Testing
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    1 month ago 100%

    Manjaro: Lots of criticism from others, ironically ran 2 years without major issues. But I wanted to switch to btrfs and EOS was hyped up to be a better version of a simple Arch installation.

    I had a similar story, in fact EOS has a problem that they use dracut by default and is set to overwrite the kernel parameters every time you update the system lol.

    I'm very sorry you had to deal with some users from here btw, specially the nixos people.

    2
  • linux Linux IDE/Text Editor Recommendations for Go Development on Linux
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    1 month ago 100%

    I use lite-xl, it has been very good, but I'm not a Go developer though.

    They also release an appimage and I just did a quick test on a alpine container and it works, so it should work on Chimera as well.

    2
  • world World News Blinken says US has 'serious concerns' about announced result of Venezuelan election
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 months ago 80%

    Venezuela has been a target of US diplomatic aggression since they nationalized their oil.

    Since 1976? Venezuela's oil was nationalized by Rafael Caldera in that year.

    And yes that Rafael Caldera, the guy Chavez tried to overthrow lmao.

    3
  • linux Linux Mounting Folders VS Symlinks?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 months ago 100%

    would you suggest XDG or creating Symlinks?

    You can do both, and both are easy.

    The user-dirs.dirs file contains something like this:

    XDG_DESKTOP_DIR="$HOME/Desktop"
    XDG_DOCUMENTS_DIR="$HOME/Documents"
    XDG_DOWNLOAD_DIR="$HOME/Downloads"
    XDG_MUSIC_DIR="$HOME/Music"
    XDG_PICTURES_DIR="$HOME/Pictures"
    XDG_PUBLICSHARE_DIR="$HOME/Public"
    XDG_TEMPLATES_DIR="$HOME/Templates"
    XDG_VIDEOS_DIR="$HOME/Videos"
    

    For example if you mount the disk in /media/dirname, it would be something like this, I'm giving it a external-drive name in this example:

    XDG_DESKTOP_DIR="/media/external-drive/Desktop"
    XDG_DOCUMENTS_DIR="/media/external-drive/Documents"
    XDG_DOWNLOAD_DIR="/media/external-drive/Downloads"
    XDG_MUSIC_DIR="/media/external-drive/Music"
    XDG_PICTURES_DIR="/media/external-drive/Pictures"
    XDG_PUBLICSHARE_DIR="/media/external-drive/Public"
    XDG_TEMPLATES_DIR="/media/external-drive/Templates"
    XDG_VIDEOS_DIR="/media/external-drive/Videos"
    

    And for the symlinks, if the drive already has the Desktop, Documents, etc directories. It is as simple as this:

    ln -s /media/external-drive/* $HOME

    That will symlink all the files in the drive to your $HOME

    I suggest you do both because you might run into a program that doesn't follow XDG user directories.

    2
  • linux Linux EXT4 Has A Very Nice Performance Optimization For Linux 6.11 (Phoronix)
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 months ago 100%

    If you want my answer, this video sums it up pretty good: https://www.youtube.com/watch?v=x9qCqRTEVz0

    More recently fedora pulled this move which causes headaches to everyone: https://gitlab.com/gnuwget/wget2/-/issues/661

    To this day I notice that there is some skepticism with Btrfs, and I think it is because fedora also pushed it early.

    3
  • linux Linux EXT4 Has A Very Nice Performance Optimization For Linux 6.11 (Phoronix)
    Jump
    linux Linux Mounting Folders VS Symlinks?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 months ago 100%

    Folders? you mean directories 👀

    Mount the disk (if you ask me at /media/nameofdir) and configure ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs (99% of that time that would be the .config dir in your home lol) and define each XDG_***_DIR= to the respective directory in the path of the mounted disk, no need to make symlinks, though you might need to because there is likely many apps that don't follow xdg specs.

    I would really appreciate a GUI way

    I know gnome-disks has a GUI way to change the mount options, I don't know how good it is though.

    4
  • linux Linux Will Linux’s New run0 Command Run sudo Out of Town?
    Jump
    linux Linux My fellow software engineer, It's the year 2024...
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 months ago 100%

    I have /tmp in my fstab with these mount options.

    tmpfs /tmp tmpfs rw,noatime,size=20G 0 0

    And the rest of the setup is done in my zprofile

    3
  • linux Linux My fellow software engineer, It's the year 2024...
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 months ago 100%

    It's empty lol, it's a directory on tmpfs that i use to build programs and similar stuff to not be hammering my ssd with unnecessary writes.

    I have $XDG_CACHE_HOME in tmp as well and I moved the mesa sharer caches to $XDG_STATE_HOME as that's really the only thing so far I've needed to preserve.

    1
  • linux Linux My fellow software engineer, It's the year 2024...
    Jump
    linux Linux My fellow software engineer, It's the year 2024...
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 months ago 100%

    zsh is actually easy and it is detailed in the archwiki

    You have to set $ZDOTDIR in /etc/zsh/zshenv and iirc that was the only location that required root to edit.

    For the rest of stuff, here is how I fix steam for example and you can check the rest of my dotfiles for how I configured zsh and all of that.

    Although I haven't updated them, I still had a .local directory back then, it was 1 week ago that I changed .local for Local and that let to an issue with distrobox which I made a PR fixing it that's still open though.

    3
  • linux Linux My fellow software engineer, It's the year 2024...
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 months ago 100%

    ls -A | grep "^\."

    I had to make a dummy .dotfile to test because I don't have hidden files in my home.

    2
  • linux Linux Will Linux’s New run0 Command Run sudo Out of Town?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    2 months ago 100%

    Speaking of doas, is there any advantage of using it when… sudo is still available to be used?

    I like that its configuration file is very very simple.

    4
  • linux Linux aisap: Tool to make sandboxing AppImages easy (using bubblewrap)
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    3 months ago 100%

    Thank you for posting this @boredsquirrel@slrpnk.net

    I will later see if I can convince the gearlever dev to add aisap support, since that app targets flatpak users.


    Also during testing Ivan discovered something interesting in fedora, sometimes some of the xdg-user-dirs variable for some reason were being defined as $HOME/ with a trailing slash instead of $HOME/Scrivania (desktop) for example, even though they were clearly defined in the conf file of xdg-user-dirs.

    am has a check in the sandbox script that unsets these variables and makes aisap use their default location when that happens to prevent giving full access to $HOME, I don't know if flatpak has similar measures in place.

    2
  • linux Linux Split-/usr on Linux became so broken, that even Gentoo maintainers decided they can't fix it
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    3 months ago 88%

    Alpine still keeps /bin and /usr/bin separated.

    And iirc the next fedora release will finally unify everything under /usr/bin.

    7
  • linux Linux Inkscape Flatpak is looking for a maintainer!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    3 months ago 100%

    Very interesting tool. So this is for appimages but also binaries?

    Anything portable.

    Thats not a sandbox, its a nice wrapper for firejail,

    aisap uses bwrap it is mentioned in both links I gave you.

    appman used to have firejail sandbox but it was dropped in favor of aisap because of that.

    1
  • linux Linux Inkscape Flatpak is looking for a maintainer!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSA
    Samueru
    3 months ago 100%

    Are all Appimages using that, if not what percentage of the ones you know?

    Usually if the appimage has a github release with a zsync you have that verification.

    And are tools like Gearlever enforcing or using that signature check?

    I don't use gearlever, as far as I know gearlever doesn't even let you sandbox the appimage like AM does. I don't think any of those forces signature verification besides AppImageUpdateTool and that's because that's part of the zsync update process.

    2
  • linux
    Linux Samueru 4 months ago 95%
    Anyone using wayland with $XDG_CACHE_HOME set?

    I'm a i3 user that has been trying to migrate to sway. I use it with these environment variables: ``` export XDG_DATA_HOME="$HOME/.local/share" export XDG_STATE_HOME="$HOME/.local/var/state" export XDG_CONFIG_HOME="$HOME/.local/config" export XDG_CACHE_HOME="$HOME/.local/var/cache" ``` Which gives me a clean home with only `~/.local` for my dotfiles. And issue that I've noticed that I haven't been able to fix is that every time that I start sway, hyprland and also the alpha of cosmic is that I get a new `~/.cache` directory created in my home that contains a `mesa_shader_cache` directory. Btw in the middle of writing this post I just ran into another bug, thunar for some reason decided to steal my key presses from the web browser, and even though I had the browser window focused as I have sway configured to change the border color of the window with focus, thunar was like nope wtf. Thank you all for the help, ended up opening a bug report at sway: https://github.com/swaywm/sway/issues/8191

    21
    23
    archlinux
    Arch Linux Samueru 10 months ago 100%
    How to undo xrandr --setmonitor extended?

    I have this command on my i3wm configuration, which extends the 3 displays that I have into a single one for games. bindsym $mod+Shift+k exec "xrandr --setmonitor extended auto DP-1,DP-2,DP-3" The only issue that I have is, once I'm done, how do I revert back to having the displays individually? This has been driving me crazy. Searching on internet all that I've managed to find is using xrandr -s 0, which actually just turns off my other displays. And what is worse is that if I then manually turn the displays back on, THEY ARE STILL EXTENDED "xrandr -s 0" does not even reset that lol. So far what I have to do to revert the changes is to log out of my current session. SOLUTION: THE COMMAND IS: xrandr --delmonitor extended

    5
    1
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    How can I turn this shell script into a single line command?

    Here is the script, which is a hack that I use with i3wm, I already converted most of it to a single line and it still works: #!/usr/bin/env bash is-leaf-node() { i3-msg -t get_tree | jq 'recurse(.nodes[]?, .floating_nodes[]?) | select(.type == "con" or .type == "floating_con") | select(.focused == true) | .nodes == []';}; parent-type() { i3-msg -t get_tree | jq -r 'recurse(.nodes[]?, .floating_nodes[]?) | select(.nodes[]?.focused == true) | .type' ;}; if [ "$(is-leaf-node)" == "true" ]; then i3-msg focus parent, focus parent; else i3-msg focus child, focus child; fi Here is where I'm stuck: The script needs the #!/usr/bin/env bash to work, it is the only script that I have that needs it. Changing it to #!/usr/bin/env bash; <SCRIPT> does not work, it has have a second line for it to work.

    5
    3
    archlinux
    Arch Linux Samueru 10 months ago 100%
    Theme issues when starting i3 session with startx instead of lightdm.

    I'm trying to migrate from lightdm to just using startx to start my i3 session. First I had issues with kdeconnect working which were fixed by replacing exec i3 with exec dbus-launch --exit-with-session i3 in the xinitrc. Now even though the apps works it is not following the system theme, I checked qt5ct and it is telling me that QT_QPA_PLATFORMTHEME is not set to qt5ct. But I do have export QT_QPA_PLATFORMTHEME=qt5ct on my ~/.profile it seems the file is not being read but I have no idea on how to fix it.

    8
    4