this post was submitted on 14 Jan 2025
104 points (99.1% liked)

Linux

49007 readers
1233 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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).
(page 2) 22 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 day ago (2 children)

my awesome wm config has a lot of customization. We're talking 5+ years of basically re-writing an entire theme, along with behaviours, widgets, and bindings.

load more comments (2 replies)
[–] [email protected] 38 points 1 day ago (4 children)

I use my DE mostly as it comes, that's got to be unique in this community

load more comments (4 replies)
[–] [email protected] 5 points 1 day ago

I use hot mount SATA slots for backup and other media. Not that common on workstations. Sure, common on servers.

[–] [email protected] 11 points 1 day ago (1 children)

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.

[–] [email protected] 12 points 1 day ago* (last edited 1 day ago) (1 children)

Risky business considering there's always some horny anime crap mixed in on Wallhaven.
Filters and tags only help so much since lots of it either has poor tags or no tags at all.

[–] [email protected] 11 points 1 day ago (1 children)

There is a toggle for SFW/Sketchy which in my experience has worked pretty well in avoiding such things, but you are probably right it does not catch everything.

If such a thing happened, I would just re-run the same command to update to a different one though. I guess I generally just make sure no one is in the room when it runs haha.

load more comments (1 replies)
[–] [email protected] 9 points 1 day ago* (last edited 1 day ago) (3 children)

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.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

I have similar, but I turn my display on/off with HDMI-CEC based on time.

[–] [email protected] 2 points 1 day ago (1 children)
[–] [email protected] 3 points 1 day ago (1 children)

Much simpler than that - The motion sensors are zigbee and integrated with HomeAssistant. I have a HA automation that sends a REST call to a webservice I wrote on the PI that then just needs to write 1 or 0 to /sys/class/backlight/rpi_backlight/bl_power.

[–] [email protected] 2 points 1 day ago (1 children)

Do you know what the chip of the PIR is? How many false positives do you get?

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 7 points 1 day ago

I've got basically the bspwm workflow, but on KDE.

So, bspwm has tiling of windows and doesn't want you to minimize (nowadays, it actually has a minimize-feature, but back when I last used it, it didn't). As a result, if a window is open, it is visible on some workspace. If you want to hide windows, put them on a different workspace.
I like that workflow, because while it probably seems complex when you first hear about it, it actually simplifies things. When you're looking for a window, you don't have to check all the workspaces and minimized windows and behind other windows.

KDE adds to that, in that I can have a workspace overview in my panel, so where I can see all workspaces with the windows that are visible on them (which with this workflow is all windows on that workspace). I like to call it my minimap.
It makes the workflow a lot easier to use, but it also allows me to group workspaces by location. So, if I'm working on a topic, I often have a Firefox window on one workspace, my text editor on the workspace below and then a terminal on the workspace below that. If I then realize, I need to quickly look up something for a related topic, I'll open up a new Firefox window two workspaces below that (leaving an empty workspace as separator). If I do something completely different, I might leave a whole bunch of empty workspaces in between. Or, well, KDE actually allows grouping workspaces with a feature called "Activities", so I'll often switch Activities.

I find that works a lot better for multi-tasking than the traditional Windows workflow of one window per application, with all kinds of different topics mixed into all kinds of ungrouped windows. If I switch between topics, I just go to the right location on my minimap and I've all the topic-related information in the windows that are there.

[–] [email protected] 10 points 1 day ago

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.

[–] [email protected] 6 points 1 day ago (1 children)

I open links from different categories of websites in different firefox profiles via a bash script. For example the current one is named "memes".

Also i have a second panel at the top of my second monitor so i can always see the current date and time.

[–] [email protected] 4 points 1 day ago

Also i have a second panel at the top of my second monitor so i can always see the current date and time.

I think this one is probably very popular. I had a very hard time giving Gnome a chance because of its inability to do this by default.

[–] [email protected] 32 points 1 day ago (2 children)

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.

[–] [email protected] 10 points 1 day ago (1 children)

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.

[–] [email protected] 13 points 1 day ago

video https://www.youtube.com/watch?v=8gAT-BbyOWw

code https://github.com/Leproide/Linux-G15-Daemon-Logitech-G110-

I'm pretty sure it will only work with a handful of old Logitech keyboards.

When I eventually upgrade my OS and can't compile the stack for some reason, I've got a Sun Type-7 waiting in the wings.

load more comments (1 replies)
[–] [email protected] 15 points 1 day ago (1 children)

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.

[–] [email protected] 4 points 1 day 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.

[–] [email protected] 27 points 1 day ago (1 children)

Machined badge reading "Built Not Bought".

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

[–] [email protected] 16 points 1 day ago (1 children)

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

That's pretty rad.

load more comments (1 replies)
load more comments
view more: ‹ prev next ›