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).
  • Thembo McBembo@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    24 days ago

    I have two mice, one for either hand, and use xinput to flip the buttons on JUST the left one. It’s actually one of the main things keeping me from moving to Wayland, which doesn’t seem to have the same configuration features

  • faercol@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    ·
    24 days 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
      0
      ·
      24 days 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
        1
        ·
        24 days 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.

  • Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    25 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.

  • tonyn@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    24 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.

  • jevans ⁂@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    25 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.

  • golden_zealot@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    25 days ago

    I am indecisive when it comes to wallpapers so I have a script somewhere which accepts tag-words as arguments and then scrapes wallhaven.cc for those words at the resolution of my setup and picks one that contains those words at random before downloading it to my wallpapers folder and setting it as my wallpaper image.

    So for example, you could just know you want something blue so you would run wallpaper blue and it just grabs one and sets it. You could get a wallpaper of the sky, of a blue car, of the ocean, whatever happens to be a wallpaper that met the criteria of the word/s supplied.

  • vort3@lemmy.ml
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    24 days ago

    I use compose key sequences to save time writing out long email addresses. For example, I have something like this in my ~/.XCompose:

    <Multi_key> <b> <o> <s> <at>: "[email protected]" # Email of my very angry boss
    

    So I can just type Compose (right alt on my system), bos@ and get his email address. Less error prone than typing out emails manually.

    I’m probably not the only one to use compose strings as a replacement to a text expander, but I don’t know anyone else who does this.

      • vort3@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Because email clients are not the only place where I enter emails. And not every program supports address book integration.

        I might be filling out online forms and enter someone’s email or phone number or any other long string such as full name I can’t remember how to properly spell.

        • Fonzie!@ttrpg.network
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 day ago

          At least Google and Outlook accounts support sharing the address book through the account, so it doesn’t matter where you use it from.

          Seems like privacy respecting alternatives could do that, too.

          • vort3@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            1 day ago

            Is there Google and/or Outlook integration into a terminal (Konsole) I’m not aware of?

            • Fonzie!@ttrpg.network
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              1 day ago

              What implied there’s a terminal client? I don’t think you mentioned it, either. Did you reply to the correct comment?

              Either way, both Gmail and Outlook support POP and IMAP, so if you have a terminal e-mail client there’s an about 100% chance it works with Gmail and Outlook.

              • vort3@lemmy.ml
                link
                fedilink
                arrow-up
                1
                arrow-down
                1
                ·
                24 hours ago

                I may also want to type out someone’s email NOT in an email client, while in terminal, for example in bash shell or in vim.

    • lengau@midwest.social
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      24 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.