Skip Navigation

User banner
Posts
10
Comments
29
Joined
2 yr. ago

  • I have one additional question. Sorry. According to the wiki I should use grub-mkconfig -o /boot/grub/grub.cfg to generate a new menu after removing or installing other kernels. But obviously /boot/grub/grub.cfg is wrong, at least for me (the subdir grub doesnt exist here). In my case the file is under /efi/grub/grub.cfg. Is that also OK? When mounting ESP I followed https://wiki.archlinux.org/title/EFI_system_partition#Mount_the_partition#Typical_mount_points and chose the 2nd variant.

  • Many thx. Worked fine.

    If I install a new kernel, I have to recreate the entries with grub-mkconfig -o /boot/grub/grub.cfg. But do I have to do that also for kernel updates?

    I don't think so, because the filename should not change, if I'm right?

  • Arch Linux @lemmy.ml

    Howto Install bootloader afterwards?

  • Ahh ok. Since in this case the script should only run at start and then exit, I use oneshot. Many thx.

  • Yep, I know. But when I only depend on

     
        
    After=network-online.target
    Wants=network-online.target
    
    
      

    this doesn't mean, I have a working internet connection. That's why the loop.

    Or is that wrong?

  • What's the difference between oneshot and simple?

  • Nice. I will try the systemd unit. Meanwhile, i have added a loop in the script, which helps a little bit:

     
        
    maxwait=15
    if [[ $(nm-online -x) != *"online"* ]]; then
        echo "missing internet connection, waiting..."
        for (( i = 1; i <= maxwait; ++i )); do
            sleep 1 &
            echo $i
            if [[ $(nm-online -x) == *"online"* ]]; then
                break
            fi
    
            if [[ $i -eq $maxwait ]]; then
                echo "No internet connection"
                exit 1
            fi
            wait
        done 
    fi
    
      

    In my test, this exits the script after 15 seconds without connection, but continues, when the connection is available or is established within this time.

    But i think, its a nice idea, to add this to the script AND use the systemd unit together.

  • Arch Linux @lemmy.ml

    How to start a script after logging in AND WiFi is ready?

  • Many thx. I hadn't referred to groups, but at least that's how it makes sense.

  • I uninstalled Steam with pacman -Runs steam. After that there were still several folders within my home. I removed these and then installed steam with pacman -Syu steam aga in. Luckily I didn't need to reinstall the games as they are installed on a separate partition. I simply remounted the library and can now start the games without any error messages. Thanks for your help.

    BTW: Whats the difference between pacman -Rns and pacman -Runs? What does u mean?

  • Do you know which locations, i have to remove?

  • Arch Linux @lemmy.ml

    Games no longer start under steam

  • Cromite, KeepassDX, Moshidon, Phone, K9

  • Jerboa @lemmy.ml

    Bigger thumbnails?

  • USB Debugging is disabled, when im travelling. I had two such situations last week. At the first, i had enough time to shutdown and lock the device, before that. But the second time, they asked to unlock the device. I have no idea, if they can force me to do that, when a password is set, instead of only a fingerprint. But i don't want to risk anything. Its not that i have to hide something. There is nothing on the phone what is not allowed. Only 2 VPN connections, which is not that good in China and some other countries. One for access to my home network and the other which i use in public networks.

    I don't want to have any problems with the authorities (in any country). As long as I don't have to hand over the device, they can have a look at what's on the phone. But I also don't want anything to be installed that doesn't belong there and I want to use my VPN the way I want to.

    The second situation, was the first time in my travelling, when someone asked me to unlock the device. They didn't take it with them after unlocking it (unlike the situation where it wasn't unlocked) but I don't see what could stop them from doing so.

  • That's not the point. I travel a lot and here the phone is occasionally checked by the local authorities. I have no control over what the Chinese authorities do with the phone when they take it with them. Needless to say, I don't plug the phone into any USB ports myself. The fact that apps from the Playstore are not affected by this is also OK, but I have installed very few apps via the Playstore, most of them are from F-Droid.

    To make a long story short: There were several such situations on my last trip and I was happy that I had this “Auto Blocker” active. But it's not a permanent solution.

  • F-Droid @lemmy.ml

    F-Droid and Samsung "Auto Blocker"

  • Many thx. This is exactly what I want. Will try that when I'm batch from vacation.

  • Linux @lemmy.ml

    Autocomplete custom scripts?

    Free and Open Source Software @beehaw.org

    Roundcube Photos 1.5.6

    Firefox @lemmy.ml

    Saving Formdata is not working

  • On mobile im using Cromite. At least for me very useful. I haven't tested it fully for privacy, but I don't see any unexpected http requests to spooky Google services or similar thing's.

  • I don't care much regarding new features as the latest security patches are included.

  • Privacy @lemmy.ml

    Is Midori worth recommending?

  • If you have access to a Roundcube instance, you can try my PrimitiveNotes plug-in, if you want. You can find it at https://codeberg.org/Offerel/Roundcube_Primitivenotes. Maybe this helps to understand, for what and how i use markdown notes. I have absolutely no knowledge about flutter or Android coding, so I can't help that much.

    But I can test and send you a little bit feedback for your app, because I really like your concept so far.

  • This looks like something usefull. Some observations after first start...

    • why does the app requests full file rights, after I selected my local notes folder? If the app has access to that folder (and subfolders), this should be enough.
    • for code, examples a code font should be used and not the same font as article text
    • i use markdown a lot for code. With this it should be possible to select the whole code block by single click. When using css, this should be possible with > user-select:all
    • auto line break should be disabled in the same context. This seems to be already the case for code block but not for single line code
    • i would love to see support for yaml. But in the form that i can hide the yaml block
    • i think the search feature doesn't work yet. If I have for example a note with the title Manjaro.md and I type "manjaro", it isn't found. The search should also search the text inside the notes or at least the yaml tags (if supported)
    • please keep the local folder and don't invest your resources in a sync mechanism. There are so much possibilities like WebDAV, rsync, SFTP and a lot of clouds. To much to make anyone happy. There are some Android apps which sync such things with an ease.
    • I keep my rare images in a hidden subfolder of the notes folder like ".media". Not only images, also linked PDF and so on. Such images are not displayed. They seems to be not found

    I really like the idea of your app. Could be a good companion for my PrimitiveNotes plug-in for Roundcube. Hopefully you find the time to develop it further.

  • Permanently Deleted

    Jump
  • Unfortunately, this version violates the DSGVO by sending telemetry without being asked. This shoots the app directly into out. I hope that the developers have an insight here and remove this function as soon as possible.

  • Darktable? It's a RAW developer and photo managing software on Linux, Windows and Mac, a little bit like Adobe Lightroom, but OpenSource. If GPS coordinates are in the RAW, sidecar or jpg files, the photos can be displayed in the map module. Much better, if you have a GPX file and no GPS data embedded, you can assign the photos to the GPX route, as long the timestamp of DateTimeOriginal in Exif is accurate. If the timestamp differs, you can specify the difference.

    Maybe Digikam can do the same. But I don't like the KDE framework which is used there. Digikam is available for Linux and Windows (yes, I know it's strange).

  • If you can selfhost, you can try my SyncMarks AddOn. It will work on any webextension compatible browser, e.g Firefox, Chrome, Chromium, Edge, Brave, Kiwi and so on. You can sync across all Browsers.

    The backend is working with selfhosted PHP/MySQL (or SQLITE) stack. If you can't use this, you can fallback to WebDAV as backend, but with limited functionality.

    The addon can work together with the standard sync mechanisms in all these browsers, but it's up to you if you want that.

    If the addon is not installed, you can access the backend url with any browser and use it as WebApp. With apps like Tasker or HTTPShortcuts, you can share any url, from any to the backend.

  • Linux Gaming @lemmy.world

    Playing "The Planet Crafter" via Proton