this post was submitted on 14 Jan 2025
54 points (100.0% liked)

Linux

49424 readers
1396 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) 50 comments
sorted by: hot top controversial new old
[–] captain_aggravated@sh.itjust.works 3 points 2 weeks ago (1 children)

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.de 1 points 2 weeks ago (1 children)

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

[–] Gumus@lemmy.world 2 points 2 weeks ago

I use https://github.com/trganda/obsidian-attachment-management to automatically rename and move screenshots, in conjunction with https://github.com/Mara-Li/obsidian-explorer-hider to hide them. It makes pasting screenshots organized, yet completely transparent.

[–] driving_crooner@lemmy.eco.br 3 points 2 weeks 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

[–] JetpackJackson@feddit.org 3 points 2 weeks ago

Custom cowsay written in Rust that pulls German song lyrics from my favorite band from a text file?

[–] haui_lemmy@lemmy.giftedmc.com 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

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

[–] fool@discuss.tchncs.de 2 points 2 weeks ago (1 children)

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

(Thanks for reminding me to limit accumulator charge)

load more comments (1 replies)
[–] mesamunefire@lemmy.world 3 points 2 weeks 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.

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.

[–] data1701d@startrek.website 3 points 2 weeks 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. 😈

[–] Scott_of_the_Arctic@lemmy.world 3 points 2 weeks ago (1 children)

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.

[–] ICastFist@programming.dev 3 points 2 weeks ago (1 children)

So you have to use a keyboard with your keyboard...

[–] Scott_of_the_Arctic@lemmy.world 3 points 2 weeks ago

With my laptop.

[–] nycki@lemmy.world 3 points 2 weeks ago (2 children)

wait how does your clipboard shortcut work op? that sounds nifty!

load more comments (2 replies)
[–] atzanteol@sh.itjust.works 3 points 2 weeks ago* (last edited 2 weeks 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.

[–] irotsoma@lemmy.blahaj.zone 1 points 1 week ago

I'd love to see your implementation specs, code, pr any other technical details you'd like to share. I'm setting up home assistant and one of the things I want it to do is replace the functions of my thermostat and add some additional details.

I used to have a Nest Thermostat, but my furnace needed to be replaced a couple of months back and I got a Mitsubishi heat pump, but their thermostat sucks, and it isnt compatible with Nest because it's all wireless. I installed the WiFi add-on to the furnace so I can use the app, too, but it also sucks pretty bad. Plus I miss the functionality of it turning down the heat when I'm away to save money and turning it back on before I get home.

So I'm planning to implement my own solution and documenting and open sourcing everything. But it's going to be several months before I get to doing it due to other more urgent projects. So, I'm looking at everything available. I definitely will be setting up a small display to replace the thermostat and having motion detectors to turn on the display when you approach it to see the temperature and such and to supplement the home/away detection.

Anyway, I would love to see your implementation to see how you did this piece of it.

[–] tetris11@lemmy.ml 1 points 2 weeks ago (3 children)
load more comments (3 replies)
load more comments (1 replies)
[–] olafurp@lemmy.world 2 points 2 weeks 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.

[–] thejevans@lemmy.ml 2 points 2 weeks 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.

[–] Kekin@lemy.lol 2 points 2 weeks ago (2 children)

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

[–] fool@discuss.tchncs.de 2 points 2 weeks ago

Not unique, but we are now kindred (I did the same <:)

[–] merthyr1831@lemmy.ml 2 points 2 weeks ago

I do this too. just a very slick hot key combo imo

[–] knolord@lemmy.zip 2 points 2 weeks ago

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

load more comments
view more: ‹ prev next ›