• 28 Posts
  • 693 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle




  • I want to use Glim too, because the binary Blobs in Ventoy are bugging me a lot. But Glim is a bit limited still: README

    My experience has been that the safest filesystem to use is FAT32 (surprisingly!), though it will mean that ISO images greater than 4GB won’t be supported. Other filesystems supported by GRUB2 also work, such as ext3/ext4, NTFS and exFAT, but the boot of the distributions must also support it, which isn’t the case for many with NTFS (Ubuntu does, Fedora doesn’t) and exFAT (Ubuntu doesn’t, Fedora does). So FAT32 stays the safe bet.


  • thingsiplay@beehaw.orgtoLinux@lemmy.mlBalenca vs Ventoy?
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    21 hours ago

    Those are two completely different programs. balencaEtcher is for flashing an ISO to the USB stick. Basically its like installing an operating system on your hard drive, but it installs it on the USB drive. It will make it bootable. If you want a different OS, you have to completely flash the drive and replace whats there.

    Ventoy will also make the USB stick bootable, but it will not flash an operating system onto it. It’s more like a general launcher of ISO files. This means, you only install Ventoy once and then can drag and drop ISO files to a folder. If you boot Ventoy from USB stick, it will show a list of all available ISO files. Choose one and it boots into the distribution, like you would have flashed it with balencaEtcher.

    The advantage of Ventoy is clear: Easy replaceable ISO files and having many to choose from withing a single installation. Filenames of ISOs doesn’t matter and they can be placed in sub directories in the ISO folder I think. Ventoy will just list all available ISOs you can choose and boot into. The disadvantage is, that some distributions or hardware might not work well with Ventoy, but that’s not my experience so far.



  • If I do ps aux | grep root, then the newline is preserved. So I’m not sure what exactly the problem is. There is a user option for ps, but it does not work with aux, ps --user root . You can ps ax --user root, but I’m not sure if this output is what you want.

    Btw if you grep, then I recommend using ^user , so it only matches the beginning of each line (the actual username), as ps aux | \grep ^root (notice the backslash). Do you have an alias for grep? Try \grep instead. The backslash in front of the command will use the actual command and ignore your alias.













  • I like these self made scripts. Some ideas to improve this: a) instead ls, use find command if you want use its output as input in another program (will yield fullpath too), b) fzf has a preview functionality, which I like a lot to use when it comes to directories or script files. As for the run command, I’m not sure why you use xargs and what i3-msg is needed for. Here is an alternative way.

    (Edit: I always forget that beehaw will convert my ampersand to &. Have this in mind if you read the below code.)

    bash -c 'cd "${HOME}/.local/bin"; path="$(find . -maxdepth 1 -type f -executable -printf "%f\n" | fzf --preview "cat {}")" && "${path}"'
    

    below same command in a bit more readable standalone script:

    #!/usr/bin/env bash
    cd "${HOME}/.local/bin" || exit 1
    path="$( \
        find . -maxdepth 1 -type f -executable -printf "%f\n" | \
        fzf --preview "cat {}" \
    )" && "${path}"
    

    The biggest problem with fzf is, that scripts that need an argument are not covered here. One could either use the input string from fzf as arguments or like that, or an optional input after fzf selection.


  • I might be missing something here but I don’t know how other launchers could possibly make this a simpler process.

    Shortcuts to launch an app directly in example. So my keyboard becomes my launcher.

    I use bunch of different tools, including KRunner (on KDE) and previously Rofi. These type name and search tools for launching an app have the problem that you need to remember what name the tool was. For programs I use often this is not an issue, but not all applications have names good to remember and not all of them are used often. The associated description helps, but sometimes I don’t know what words to type.

    Therefore I “need” the app menu with categories and favorites, to navigate with the mouse through. And the most used applications are usually assigned to a shortcut and my panel on the top. In short I use mostly all of these techniques as an application launcher (in that order):

    1. favorites on panel and my keyboard shortcuts
    2. app menu with categories, navigating with mouse
    3. run tool to search for app name and description (also integrated into the app menu)
    4. additional helper scripts to search and launch programs in the terminal

    Edit: Forgot to mention that some of the launchers I use are custom made scripts for the terminal.