I spilled a glass of scrumpy on the keyboard and a, s, and d no longer work. So I have to use a keyboard with it.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
So you have to use a keyboard with your keyboard...
With my laptop.
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.
Custom cowsay written in Rust that pulls German song lyrics from my favorite band from a text file?
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)
Edit: nice try to fingerprint me, big tech. You succeeded! /j
Triangulating your location. Are you... in the Milky Way Galaxy
?
(Thanks for reminding me to limit accumulator charge)
I have a meshtastic script that runs once a day that sends a weather report for our local area at 6:00 am. It was based off a script that some awesome person did. I also have a script that once a week sends out ham/meshtastic events to all local people. Its worked out pretty well.
CTRL+SHIFT+L to sync my room lights to the screen using huenicorn. Plan on hooking up openrgb as well when I can be bothered to write a script.
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. 😈
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.
I've got a RPI running a full-screen 'kiosk' view from homeassitant that turns an external display on/off based on a motion sensor.
So basically it's showing current temperatures, thermostat control, etc. but I have the display turn off after X minutes of no movement and turn on when there has been movement so it's only on when you're in the room.
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
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
I do this too. just a very slick hot key combo imo
Not unique, but we are now kindred (I did the same <:)
I have a custom script, which changes the fan profile (in my case between two thinkfan config files) depending whether the dock is connected or not. That one gets triggered whenever it switches the power source (AC
or BAT0
). (AC gets plugged in -> script starts -> check if dock is connected -> if connected run different profile)
It's janky but very helpful when it works :D
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.
I have a zellij snd micro config for journaling and writing that makes a completely borderless full screen terminal with no decoration whatsoever and narrows the terminal for micro to the upper half of the middle 1/3 of my screen.
It helps me focus and limiting to the upper half and middle 1/3 makes it easier for my eyes. I get distracted easily and this helps keep my editor from being the source of that.
I also seperate Firefox on different workspaces, but only manually. How is the extension called? Having it automated would save me some seconds every reboot.
edit: based on the other commenter I think I might be missing a simpler declarative way to do this. The following will be kept for posterity though
The main idea is:
- Use Window Titler to add a title. For me, if I want it on workspace 7, I title the window "7". (NOTE: The title will probably appear like [title], see below)
- Make a script that queries the window manager, and then dispatches a movement to the appropriate workspace. In Hyprland that might be
hyprctl -j
which gives
... json blahblah
"title": "[7] What's a unique customization on your Linux machine you think no one else has? - tchncs — Mozilla Firefox"
... json blahblah
but in Sway it might be something similar to using swaymsg. Only titled windows will have the bracket number thing so just regex that part
- Put it in autostart. Because Firefox takes a while to load on my junk machine I
sleep
for like 30 seconds to a minute before all the titles register.
Thanks a lot!
Sway (and i3) you can assign windows to workspaces based on any property that is available in the swaymsg tree. It can do parital matches, so for example if you wanted your Lemmy firefox window to always start on workspace 3 you could use:
assign [title="lemmy" app_id="firefox"] workspace number $ws3
Title can use regex so you can do some pretty neat matching if you need it.
"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