Linux

3468 readers
1 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 2 years ago
MODERATORS
26
27
28
29
30
 
 

macOS has a bunch of apps which can do so, including SketchyVim. Basically you would have all the vim modes motions and operators, inside any text box in the OS / in any app. I just did some looking up and asked LLMs, but didn't find any linux equivalents of that. Ideally they would work on wayland and have app or window class exceptions.

31
32
33
 
 

I did some searching and many users recommend Rofi but looking at man rofi-script it seems to just be a list picker. You pick something from the a list and only one thing runs. On Alfred and Raycast you can have interactive extensions which are essentially keyboard navigable UIs.

  • One example looking at the Alfred workflow gallery is Reddit Browser, where you select a subreddit from a list and then it shows of lists of posts, you can press cmd enter to go back & select another subreddit.
  • Another one lets you ask questions for chatgpt and shows answers right in the launcher (I'm not necessarily looking for AI extensions).
  • This Raycast extension lets you search and create Notion pages.
34
 
 

cross-posted from: https://lemmy.world/post/27854420

On fediverse at @linuxprepper@podcast.james.network

cross-posted from: https://lemmy.world/post/27825913

Click for comprehensive shownotes with detailed links

  • Linuxfest Northwest
  • Audience Suggestion - Forgejo
  • Television Fuzzy Finder
  • Uptime Kuma- Monitoring
  • Dockje - Docker Compose Manager
  • Homebox - Inventory Management
  • Ameridroid Sponsor
  • Whisper AI - Speech to Text
  • Themio Stereotool
  • scp - SSH based Copy
  • ffmpeg audio extraction
  • Getting a New Laptop
  • Ubuntu adopting uutils
  • Podcasting 2.0 support - State of the Podcast
  • Spread the Word! Help promote the show. Send in feedback.

If you enjoy the show, please help spread the word. Thanks!

35
 
 

cross-posted from: https://sh.itjust.works/post/35352374

If I open a text file that needs root privileges to modify, I get this error:

Failed to save 'this_file': Insufficient permissions. Select 'Retry as Sudo' to retry as superuser.

That's fine, that's expected.

But when I click on "Retry as Sudo", I get this error:

Failed to save 'this_file': Unable to find pkexec or kdesudo.

This happens though pkexec is installed on my machine, at /usr/bin/pkexec; and I granted VSCodium access to it through Flatseal. How do I fix this?

36
 
 

Imagine a world where you could browse -and- watch youtube without using a graphical software or a web browser.

Guess what? Now you can.

With this nifty, minimal and 100% portable piece of software, you can now watch the best youtube has to offer without compromising your potato or waiting several minutes (!) for a video to appear on your screen.

The only caveat is that you need to install mpv.

And nothing else.

The code, alongside instructions on how to compile it can be found by clicking here.

37
 
 
 1. [✓] net.minetest.Minetest.Locale                    stable                i             flathub              5.8 kB / 1.6 MB   **
 2. [✓] org.freedesktop.Platform.GL.default             24.08                 i             flathub            156.2 MB / 156.6 MB
 3. [✓] org.freedesktop.Platform.GL.default             24.08extra            i             flathub             25.2 MB / 156.6 MB *
 4. [✓] org.freedesktop.Platform.Locale                 24.08                 i             flathub             18.6 kB / 380.3 MB **

Look at the asterisks. It downloads far less than what it says, yet it still completes and runs fine. How‽

38
 
 

The Linux Ship of Theseus

Crossposted from: https://lemmy.ml/post/27387345

  1. pick any distro and install it.
  2. Then, without installing another distro over the top of it, slowly convert it into another distro by replacing package managers, installed packages, and configurations.
  • System must be usable and fully native to the new distro (all old packages replaced with new ones).
  • No flatpaks, avoid snaps where physically possible, native packages only.

Difficulties:

  • Easy: pick two similar distros, such as Ubuntu and Debian or Manjaro and Arch and go from the base to the derivative.
  • Medium: Same as easy but go from the derivative to the base.
  • Hard: Pick two disparate distros like Debian and Artix and go from one to the other.
  • Nightmare: Make a self-compiled distro your target.

Clarifications

  • chroot, dd, debootstrap, and partition editors that allow you to install the new system in an empty container or blanket-overwrite the old system go against the spirit of this challenge.
  • These are very useful and valid tools under a normal context and I strongly recommend learning them.
  • You can use them if you prefer, but The ship of Theseus was replaced one board at a time. We are trying to avoid dropping a new ship in the harbor and tugging the old one out.
  • It may however be a good idea to use them to test out the target system in a safe environment as you perform the migration back in the real root, so you have a reference to go by.
39
40
 
 

cross-posted from: https://lemmy.world/post/26434564

Lots of feedback to respond to in regards to self-hosting, a good amount sent by Lemmy users and fediverse types. Hope you all enjoy!

(00:40) Linuxfest Northwest 4/25 - 4/27

(01:30) Forum now available for full show notes and project discussion. Also accessible from Matrix.

(02:39) Simple feedback form now available for sending your feedback and suggestions. Or, you can always email podcast@james.network

(03:45) ameriDroid now sponsors the podcast.

  • use LINUXPREPPER coupon code to support the show.

(04:50) If you like the show please do share it! Spread the word. This is a small show, which most people don't know about. Thank you so much.

  • You can also donate to me on paypal.
    • Allowing recurring donations with a fancier system is in-the-works.

(05:50) Librewolf browser, community fork of Firefox.

(06:35) Works on My Machine badge by CodingHorror of Discourse

(07:30) Kickstarter for PixelFed and Loops by dansup

  • PixelFed is a federated, FOSS alternative to Instagram
  • Loops is a federated, FOSS alternative to TikTok
  • Dansup website

(08:45) @linuxprepper@podcast.james.network

  • This podcast is also available on the fediverse at the above address. Use Mastodon of whatever client you prefer.

Audience Feedback with HB

(10:00)

Hungry Bogart interview on Linux Prepper origins and background on Medium.

Full show notes within the podcast or at https://discuss.james.network/public/d/25-shownotes-for-episode-4-audience-feedback-on-selfhosting

41
 
 

For the old farts (like me) out there.

Instructions on how to compile, screenshot, etc are all inside in the code provided @ op.

42
 
 

It's too bad Marcan42 deleted his Mastodon page, I wish it was at least left as read-only. It had lots of insightful hardware and software posts. I'm really feeling a void for that content and would love to read similar posts from devs. Posts that are not too long, like ones on Mastodon or Bluesky, rather than long articles (which there are an abundance of).

43
 
 

I've been suggested to use a tiling window manager like Sway since it allows for controlling windows with hotkeys, but I'm having trouble getting started. I installed it in Fedora and tried logging back in with SwayFX (since it has features like blurring) but after I'm just shown a wallpaper with a top bar, the top left shows a 1 and the top right shows the time. I don't know what to do there. I tried looking up guides but didn't find anything, can you link me some if you know of any?

44
 
 

TLDR: I want to be able to set specific window sizes and positions of the current window with hotkeys, as well as focus on specific apps with hotkeys, but I'm overwhelmed.

I've been trying to switch to Asahi Linux Fedora, and trying Gnome as my desktop environment since it can be customized with CSS, and with Wayland. I tried looking up how to change window layouts with hotkeys and it's confusing on what solution(s) I would end up wanting to use. Would I want to use a window manager?

Ultimate I want an alternative to Rectangle Pro app on Mac, which let's you set many hotketys for changing the current window's size & position: like use up the left or right halves or thirds of the screen, or corners and taking up a quarter of the screen. You can also make custom window layouts and bind those to keys.

I didn't find many results while looking up how to focus on specifc apps with hotkeys. For instance, I'd want to press CTRL Shift Z to switch specifically to Zen Browser or open it if it isn't opened, and CTRL Shift O to open or switch to Obsidian. I looked this up and didn't find options other than wmctrl or wlrctl. I tried the later: wlrctl window focus firefox, but got the error Foreign Toplevel Management interface not found!. on macOS there are many apps for this like BetterTouchTool & Hammerspoon.

45
 
 

Edit: Yep KDE is the most customizable full desktop environment. I gave Gnome a shot but like KDE A lot more with desktop effects and kwin scripts.

What makes Linux appealing to me is the extent of customizability, but I didn't find many answers when looking up with desktop environment is them most customizable. Some say KDE is most customizable than say, Gnome, but doesn't Gnome support CSS customization while KDE doesn't?

46
 
 

Hector Martin (Marcan42) was the lead developer of Asahi Linux, until he recently resigned. He had a Mastodon page where he would talk about AL development and hardware stuff, as well as frustrations dealing with kernel maintainers to upstream things like Rust stuff (long before the beef that went down this month).

Marcan has made it clear he needs a break, but I really wish he at least kept his Mastodon page up, perhaps in read-only. I'll admit, I liked his posts so much I looked at it daily. I had a bookmark keyword in Firefox: I'd type tr in the URL bar to go to https://social.treehouse.systems/@marcan.

47
 
 

Obviously we all want to avoid enshittified (aggressively monetized) software or at least get our money's worth. I'm looking at self-hosting software right now and one I'm looking has a pricing page but only for cloud (no other paywalled features) and is open source. I tried looking up future plans and didn't find much, so it doesn't seem like it will enshittify. (not related) I had thought about switching to Omnivore for a long time but then they merged with ElevenLabs and the rest is history.

48
 
 

So I have been kind of bummed about the lack of a screensaver option for wayland and pining for the old days, of a land that came before. I completely understand the wayland devs perspective on this. But I'm old and nostalgic so I set out to try to find a workaround.

env -u WAYLAND_DISPLAY xscreensaver --no-splash

So xscreensaver's settings won't work which makes it hard to configure. The only solution I have is to configure it in an X session and switch back to wayland. It doesn't really have a screen lock function and really I don't need/want it to. I just wanted to have some bouncing cows on my screen while I'm listening to music doing the dishes!

Thought I'd ask if anyone knows any hacks to get xscreensavers settings working under wayland so I don't have to switch sessions? Also maybe a hack to get one of the awesome xscreensavers working as a desktop background in KDE?

A side note, a lot of work went into these screensavers and I don't think they should be lost to time or relegated to the annals of history because it's lock screen functionality is kind of obsolete. I say we deserve bouncing cows!

49
 
 

cross-posted from: https://sh.itjust.works/post/32235573

I just installed a Debian 13 Trixie system on my laptop. I have 5 GPT partitions on 1 terabyte SSD and NO LVM!

partition layout

sda1 vfat 256M   EFI system partition
sda2 ext4 512M   boot partition
sda3 LUKS 460G   encrypted root
--   sda3_crypt  root partition, unlocks with passphrase
sda4 LUKS 465G   encrypted home
--   sda4_crypt  home partition, unlocks with passphrase
sda5 LUKS 4G     encrypted swap
--   sda5_crypt  swap partition, unlocks with keyfile

GRUB works fine, it loads the kernel, then I enter the password to decrypt my root partition. It decrypts correctly, then hangs for 1 minute 30 seconds.

After that, I get this error:

[ TIME ] Timed out waiting for device dev-mapper-sda4_crypt.device - /dev/mapper/sda4_crypt.
[DEPEND] Dependency failed for home.mount - /home/
[DEPEND] Dependency failed for local-fs.target - Local File Systems.
[DEPEND] Dependency failed for systemd-fsck@dev-mapper-sda4_crypt.service - File System Check on /dev/mapper/sda4_crypt.
[ TIME ] Timed out waiting for device dev-mapper-sda5_crypt.device - /dev/mapper/sda5_crypt.
[DEPEND] Dependency failed for dev-mapper-sda5_crypt.swap - /dev/mapper/sda5_crypt.
[DEPEND] Dependency failed for swap.target - Swaps

Not once does it ask me for the password to decrypt my home partition, it just waits until it fails.

50
 
 

Behold, a Linux maintainer openly admitting to attempting to sabotage the entire Rust for Linux project:

https://lwn.net/ml/all/20250131075751.GA16720@lst.de/

The good news is this doesn't affect drm/asahi, our GPU driver. The bad news is it does affect all the other drivers we're (re)writing in Rust, two so far with a third one coming.

Another choice quote, calling R4L "cancer": https://lore.kernel.org/lkml/20250128092334.GA28548@lst.de/

Personally, I would consider this grounds for removal of Christoph from the Linux project on Code of Conduct violation grounds, but sadly I doubt much will happen other than draining a lot of people's energy and will to continue the project until Linus says "fuck you" or something.

As for how to move forward, if I were one of the Rust maintainers, I would just merge the patch (which does not touch code formally maintained by the dissenter). Either Linus takes the pull, and whatever Christoph says is irrelevant, or he doesn't, and R4L dies. Everything else is a waste of everyone's time and energy.

Edit: Sent in my 2 cents: https://lore.kernel.org/rust-for-linux/2b9b75d1-eb8e-494a-b05f-59f75c92e6ae@marcan.st/T/#m1944b6d485070970e359bbc7baa71b04c86a30af

view more: ‹ prev next ›