Just wondering since I know a lot of people quietly use a screen-area-select -> tesseract OCR -> clipboard shortcut.

  • I separate subjects of interest into different Firefox windows, in different workspaces – so I have an extension title them and a startup script parse text to ask the compositor to put them in the correct workspace (lets me restart more conveniently).
  • I have automatically-set different-orientation wallpapers for using my 2-in-1 depending on whether I use it in portrait or landscape (kind of just for looks, but I don’t think if anyone else adds a wallpaper change to their screen rotation keybind).
  • nycki@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 hour ago

    I have Syncthing set up to copy save data between my pc and steam deck, but not just for emulator stuff: its got my entire modded minecraft directory and my balatro modloader nn there too.

    • Eyedust@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 minutes ago

      Syncthing is great and incredibly easy to use. I have mine set to sync my Obsidian notes so I don’t have to pay for the official service.

      I have tried multiple different open source note apps that offer free local sync, but I can’t find anything I like. It frustrates me because I love open source.

    • fool@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 hour ago

      I think I mentioned it but here it is again in case the comment didnt federate

      click to enlarge
      # snippet based on end4 dotfiles -- FIXME edge case where a
      #     preexisting tmp.png might be overwritten
      # English
      bind = Super+Shift,T,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l eng "tmp.png" - | wl-copy && rm "tmp.png"
      # Korean
      bind = Super+Shift,K,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l kor "tmp.png" - | wl-copy && rm "tmp.png"
      # Japanese
      bind = Super+Shift,J,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l jpn "tmp.png" - | wl-copy && rm "tmp.png"
      

      Pipe grim and slurp (selects part of the Wayland screen then copies) into a tmp.png, tesseract it into the clipboard, then delete the tmp.png. Has like 1 sec of lag tho :]

  • corsicanguppy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    8 hours ago

    In all my servers I still have a cron->make routine running. It’s a hold-over from 20 years ago and the state of IaC back then, and it’s made its way onto every server I manage because it is simple and effective.

    And it still does its job. 8 major RHEL releases later, and the thing it needs to do, it does.

    Lennart would build 3 new daemons and link them all into dbus, I’m sure.

  • SitD@lemy.lol
    link
    fedilink
    arrow-up
    5
    ·
    15 hours ago

    the ability to use two Bluetooth dongles simultaneously, each for one device. try that on Microsoft’s clown os and see how pressing the gamepad triggers makes the bluetooth headphones chop up the sound 😂

  • esa@discuss.tchncs.de
    link
    fedilink
    arrow-up
    17
    ·
    1 day ago

    I suspect my habit of having an alias userctl="systemctl --user" is slightly unusual, as is running Firefox, Steam, and some other graphical programs as systemd units is somewhat unusual (e.g. mod4-enter runs systemd-run --user alacritty)

    But what I’m actually pretty sure is unique is my keyboard layout. I taught myself dvorak a summer some decades ago, but the norwegian dvorak layout has some annoyances, so I’ve made some tweaks. Used to be a Xmodmap file, but with the switch to wayland I turned it into a file in /usr/share/X11/xkb/symbols/.

    Part of what I did to teach myself dvorak and touch-typing at the same time was randomize the placement of the keycaps too. It has a side effect of being a kind of security by obscurity layer: I type quickly and confidently, but others who want to use my machines have an “uhh …” reaction.

    • navordar@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      7 hours ago

      I didn’t know about the systemd-run command. Do you use it to save the command log? I created a script conveniently named x which opens a file in a default app, in the background, so I can still use the terminal. But then I had the problem with handling logs and this sounds like a perfect solution. Gonna try it today.

      As for the alias, I wanted to create a pacman-like interface for systemctl, so the commands would be much shorter, but never finished it. For example, sctl -Eun unit would be equal to sysyemctl enable --user --now unit

      • esa@discuss.tchncs.de
        link
        fedilink
        arrow-up
        3
        ·
        6 hours ago

        The logs are handled, but I mostly use it for command separation and control, including killing unruly child processes.

  • Cysioland@lemmygrad.ml
    link
    fedilink
    arrow-up
    1
    ·
    15 hours ago

    “yubi [website name]” in Alt+F2 — asks yubikey for a TOTP code for a website and autotypes it into wherever I’ve got my focus

  • twinnie@feddit.uk
    link
    fedilink
    arrow-up
    4
    ·
    21 hours ago

    I created my own openSUSE splash screen for KDE because I felt all the existing ones were a bit amateur and I wanted something professional looking. I haven’t published it because I can’t be bothered creating an account. It only took about 15 minutes because I chopped up another one which had clearly chopped up another one.

  • faercol@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    10
    ·
    1 day ago

    I boot on a custom EFI app to control my dualboot (instead of systemd-boot or grub) that asks a service on my proxmox server which OS I’m supposed to boot.

    Overkill, but it allows me to control my dual-boot without a keyboard in my computer (because it’s a Bluetooth keyboard so I can’t really use it in grub anyway)

    • fool@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      A custom EFI app? Is that like a handrolled Unified Kernel Image with some Proxmox-specific addons in it? How’d you make it?

      • faercol@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        7
        ·
        1 day ago

        No, it’s a EFI app I developed in Rust that does a query over multicast UDP and uses the result to select which EFI app (Windows bootloaded (yeah I know…) Or systemd-boot to start Arch)

        There’s nothing related to proxmox itself, it’s just there that I host my LXC with the service that responds to the quey.

    • SeekPie@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 day ago

      Probably, I have about 20 extensions for GNOME and have tweaked right about every setting and keybind.

    • lengau@midwest.social
      link
      fedilink
      arrow-up
      5
      ·
      22 hours ago

      Some people use plasma because they like how configurable it is. I do like that, but I’m also drawn to it because of its great defaults.

      The main ways I change it are setting my background (on my work activity I have it selecting from various company related backgrounds while on my personal activity it uses a selection of my favourites of my own photos) and adjusting the bottom panel.

  • data1701d (He/Him)@startrek.website
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 day ago

    On my desktop, I wrote a Python script that pulls a random Star Trek: The Next Generation or Deep Space Nine script from a folder and prints it in STDOUT. I use this in the XScreenSaver Text Manipulation > Program option to turn Star Trek into a screen saver.

    Currently, I use it with the Apple II screensaver, but in its original incarnation, I used the Star Wars intro screensaver. 😈

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    I’m pretty sure no one else has my shell script that takes a picture, uses imagemagick to copy a scaled down version of it to a special folder, and then build a string that allows me to just middle click paste the image into Rednotebook so it appears correctly.

    • fool@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      ooh I should do that for Obsidian instead of having an enormous directory of Pasted Image 202302050124300845012.pngs. =◡=

      • Captain Aggravated@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        If I can rant a bit…

        I used to do my daily journal as plaintext in Vim. I wanted something that was a little more capable and in RedNotebook I almost got it. It stores plaintext markup (I think yaml?), the thing is it has an edit and a display mode, and you can’t edit it in display mode. Inserting a picture is pasting a file path to where that picture is stored. If I linked to where the pictures are stored in my ~/Pictures directory, if I ever migrated from Rednotebook or Linux or anything like that, the links to those pictures would break. So I store teh pictures I link in my journal in a subdirectory alongside the journal itself, so the pics should go with it and it should survive a transfer easier.

        This is, of course, extremely user unfriendly to do, because it would mean copying pictures, reducing their resolution so they don’t take up the entire damn journal window, and then working through RedNotebook’s interface to navigate to where I just stored that picture to generate the link.

        Or, I wrote a couple lines of Bash that did most of that for me and put the file path link in the primary buffer so I could open my file browser, right click, select Add To Journal, and then middle click in my journal. Felt kind of clever coming up with that one, and I kind of wish A) it was a bit easier and B) we lived more in a world where we did that kind of thing where things interoperated more than trying to silo things.

  • Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    36
    ·
    2 days ago

    I have an old gamer keyboard with extra programmable keys on the side, which I use for cut, copy, paste, close tab, close window, etc. Logitech provides drivers/software for Windows & Mac only.

    To make it work I have a custom monkey-patched USB driver that I compiled from source, some weird daemon that interacts with the driver and some shell scripts on top of that. I’m not sure how but it works thanks to a 9 year old youtube video made by a guy from eastern europe somewhere.

    • tankplanker@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      I do something similar.

      I have a V4N4G0N that I use the top row (half the normal number row on a full sized board) for switching workspace or switching apps to another workspace, and doing other stuff like copy and paste on different layers for the keyboard.

      As its QMK (via VIAL) I have set all that up directly on the keyboard so its portable to any other PC I want to use. I have eight of these, mix of alu, acrylic and 3D printed, that I can choose from, all sharing the same map. I don’t like using anything else now as its become integral to my normal workflow.

    • fool@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      2 days ago

      Awesome…

      Care to share the video/code? I actually have something similar (Corsair Scimitar’s macro customizer doesn’t work on Linux

      As I was writing this I found a project that deals with Corsair MMO mice on Linux so now I will be going on an egg hunt.

  • haui@lemmy.giftedmc.com
    link
    fedilink
    arrow-up
    9
    ·
    1 day ago

    Definitely not nobody but statistically VERY FEW people will have this combination:

    • pop!os (fight me!)
    • script that limits accumulator charge to 80% on asus laptop
    • script that turns on vpn if out of home and kicks off a backup if at home (through wifi ssid)
    • fool@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      Triangulating your location. Are you… in the Milky Way Galaxy?

      (Thanks for reminding me to limit accumulator charge)

      • dave@feddit.uk
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        Yeah, I have a script that toggles my Dell XPS between full charge and 80%, as I’m usually on mains and only need full charge occasionally.