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).
  • Korhaka@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    7
    ·
    7 days ago

    Does stuff I wrote myself count?

    Apache server that has a bunch of webpages that are all configured by simple JSON files and loaded by PHP. The pages have buttons on them which when pressed enter macros. So I push “Deploy Landing Gear” and Shift+alt+F8 or some obscure as fuck combination no one would ever use normally gets pressed and the game can be set to use that keybind. Most of it is for simple immediate key presses but also made a few for macros as well.

    The HTML/PHP that runs the show is a grand total of 2018 bytes, including comments. Plus a fairly bloated 2444 byte CSS file that includes some button colour options that I never use now because I decided they look ugly. Should update some of the background images though, my sheet steel Faulcon DeLacy logo looks a bit basic.

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 days ago

    I’m using XFCE with Compiz, and since I have two monitors I have a 3D octagon instead of a 3D cube desktop.

  • driving_crooner@lemmy.eco.br
    link
    fedilink
    arrow-up
    3
    ·
    7 days ago

    I use this app (webapps is the name I think) to make apps for YouTube, Mubi and TorrentLeech and I have then pinned on the task bar and use them as apps instead of webpages. This is in my hometheater pc

  • Caveman@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago

    I use many KDE activities all mapped to a single hotkey. Meta+H, Meta+J, Meta+K, then L, Y, U, G.

    I set my browser and maybe one other as sticky to show on all. I also have specific desktop picture for all of them.

    On top of that I have a startup command that opens all applications I use for work. Each application is configured to open in a certain activity.

    The end result is that instead of doing Alt-Tab or looking for the window I do Meta+Key and it’s there in front of my eyes with focus.

  • Kekin@lemy.lol
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago

    Coming from Windows, I set up KDE’s Spectacle to open with Super + Shift + S in Area Select Mode and save and copy to clipboard on click release

    Maybe not as unique but kinda neat I think

    • lengau@midwest.social
      link
      fedilink
      arrow-up
      7
      ·
      8 days 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.

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

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

  • Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    41
    ·
    9 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.

    • fool@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      13
      ·
      9 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.

    • tankplanker@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      8 days 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.

  • tonyn@lemmy.ml
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    8 days ago

    When I press Super + PrtSc, a bash script performs the following:

    Takes a screenshot of the entire desktop (import -window root) and saves it as ~/screenshot.png…

    Analyzes the screenshot to calculate the “mean brightness” value of the image. It converts the image to grayscale and determines the average pixel brightness (a value between 0 and 1, where 0 is black and 1 is white).

    Checks if the image is dark by comparing the mean brightness to a threshold of 0.2. If the mean brightness is less than 0.2 (i.e., the image is very dark), it applies a negative filter to the image (convert -negate), effectively inverting the colors (black becomes white and vice versa).

    Sends the image to a printer (lp command) named MF741C-743C for printing.

  • jordanlund@lemmy.world
    link
    fedilink
    arrow-up
    32
    arrow-down
    1
    ·
    9 days ago

    Machined badge reading “Built Not Bought”.

    My dad used to put them on the cars he built.

  • esa@discuss.tchncs.de
    link
    fedilink
    arrow-up
    21
    ·
    8 days 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 days 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
        4
        ·
        7 days ago

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

  • thejevans@lemmy.ml
    link
    fedilink
    arrow-up
    16
    ·
    9 days ago

    I have scripts set up to switch between my desk setup and my home theater setup that swap monitor configurations with wlrandr and default audio devices in wireplumber. These scripts are triggered with the “Netflix” button on my Nvidia Shield remote via Home Assistant and SSH. Simultaneously on Home Assistant power to the peripherals on my desk is toggled, the TV input is toggled between the Nvidia Shield and the PC, my AV receiver settings are toggled, and if the PC was asleep, it’s turned on with a WoL magic packet.

    • k4j8@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      9 days ago

      That’s awesome! I do something similar using Home Assistant. I scan an NFC tag to set my TV to the right input, adjust the volume, change the receiver settings, run Sunshine on my computer for screen sharing, switch computer displays to just one, and start Steam. I wish I could get WoL to work too.