576
48
submitted 4 months ago by GustavoM@lemmy.world to c/linux@lemmy.ml

The code can be found by clicking here. Then save it as ttymenu.c and compile this with "gcc ttymenu.c -o ttymenu -O3 -Wall -static (-Bstatic if you are on macos)".

577
75
submitted 4 months ago by banazir@lemmy.ml to c/linux@lemmy.ml
578
23
submitted 4 months ago* (last edited 4 months ago) by glitching@lemmy.ml to c/linux@lemmy.ml

running the stuff in the title, tried a buncha switches for chromium/electron stuff but still the load mesured with e.g. amdgpu_top doesn't show "Media" usage. playing other stuff (VLC, Dragon, mpv) shows "Media" usage, which means those are using hardware acceleration.

edit: in the meantime tried the portable version as well, same results so it isn't a flatpak issue.

edit 2: as @thingsiplay@lemmy.ml found, running portable and flatpak with --enable-features=AcceleratedVideoDecodeLinuxZeroCopyGL,AcceleratedVideoDecodeLinuxGL,VaapiIgnoreDriverChecks under X11/Xwayland produces hardware accelerated video. that doesn't seem to be the case with wayland, the media graph stays at 0% and there's a buncha dropped frames with e.g. 4K video.

579
23
submitted 4 months ago* (last edited 4 months ago) by marcie@lemmy.ml to c/linux@lemmy.ml

I have come into possession of an oled monitor due to a friend giving it to me, however updating its firmware has become a nightmare. It doesnt seem possible to update it without windows. Windows PE live discs do not work at all either. I've tried wine and a vm, neither worked.

https://forums.linuxmint.com/viewtopic.php?t=439932 This forum mentions the issue as well but there is no resolution. Thoughts?

580
65
submitted 4 months ago by Floopquist@lemmy.org to c/linux@lemmy.ml

Hello fellow Linuxers, let me take you on my 2-day journey of permanently reinstalling linux:

TL;DR: I had a lot of graphic bugs in Ubuntu and thought my graphics card was dying. Then I installed a lot of distributions with very different bugs and outcomes, just to end at the same distro where I started. lol

Phase 1: Ubuntu 25.10 The Ubuntu installation worked great for roughly 4 months. Then some graphic issues appeared: When the PC was started, and I entered my disk encryption password, the screen turned black. Screen LED was on, but nothing to see. No login screen. When I pressed the power button, the machine shut down gracefully after 1 minute. Ok. As far as I remember, I installed some automatic updates the day before. And there was some "dbx driver signature" stuff on the right corner. So the first thing I figured, update the mainboard firmware. A new firmware was available from 11-2025. Good. FW update went fine. Still black screen instead of login screen. Then I booted into recovery mode by pressing LSHIFT and selecting the GRUB entry. I read something about driver and microcode blacklists. Renamed /etc/modprobe.d/amd64-microcode-blacklist.conf and inserted one that the help article suggested. No improvement. Then I reset the mainboard to factory defaults. Only some fan settings and 2 other settings were reset. Things improved, but not for long.

The login screen was visible again, and I could log in, even play a game for 2 hours. I had a good time, and went to bed with a naive happiness. I didn't know what was yet to come.

Next day, new old troubles. Again black screen at login.

Now the mainboard factory reset changed nothing. The curse of blindness lasted on me. I entered the grub menu again by holding LSHIFT, then pressing "e" on the menu entry and adding "nomodeset" to it. Then I could boot, but the graphics were scuffed. There were a lot of visual glitches and it looked like my graphics card fails. Lots of green lines and lots of screen going black for 1 sec and reappearing. I turned off the computer again as I was scared that my hardware would break.

Phase 2: Trying to reinstall the first time I was fed up and tried to reinstall Ubuntu. Live boot USB - Ubuntu 24.04 LTS so i'm safe. Safe my ass. The live boot also ended up in a black screen. Tried Ubuntu 25.10. Same black screen in live environment. Changed the cable from DisplayPort to HDMI and tried all slots on the graphics card. No improvement. Then I asked myself, maybe it has to do with debian, and tried to run cachyOS live boot. Also black screen. What the hell?

Then, with tears of torment in my eyes, I loaded a Winbloat 11 iso on my USB boot stick. The iso worked fine and started the Win 11 preinstallation environment without any graphical issues. A little sigh, my graphics card is still working. But I don't want to install Bloatdows (Winblows?) 11. Don't get me wrong, I used that OS a long time, Win 7 was a good, stable tool but as time passed it was filled with unneccessary and unremovable programs.

But let's not dive that deep into the ocean of shit.

Phase 3: Saving my data I wanted to do this in the live Ubuntu environment, but as it failed to display anything on the screen, I had to look for a different solution.

A little research got me to a "systemrescue" iso and that one worked fine. The live environment fired up and I was able to save all my data by mounting the partition via terminal into /mnt/mountfolder/.

Phase 4: Reinstalling, for real now So I searched for a completely different distribution, and came up with a really cool looking "Garuda Dr460nized". The installation agent was a real pleasure, I used language: English and keyboard layout: German Selected disk encryption and wipe disk completely. After about 20 minutes, the purple login screen appeared and it looked really great. I was happy - no graphic glitches were on the screen.

Then I tried to log in. And it failed. I tried again. Failed. I tried a third time, trying really hard to type the correct password. Failed.

Ok, now you are challenging me? I used the on-screen keyboard to type my password, just to realize: The keyboard layout is still EN-US. Not German. My umlauts have no power here.

I was shattered. How can a setup agent offer a keyboard layout just to laugh you in the face with ONLY en-us at the login?

Also, the former mentioned screen keyboard overshadows the password text field so you are basically typing blind and can't see your progress. Seeing these inconveniences, I got annoyed and decided, if I have these issues at the login screen, the experience won't improve even if I could log in, so decided to reinstall right again.

Phase 5: Reinstalling CachyOS A distribution that is often mentioned, is cachyOS. It is Arch based, has the pacman package manager and overall seems to be a stable choice. I gave it a try and was a little overwhelmed what to pick at the desktop environment selection screen. It seems they have 10+ desktops available to pick.

Back to researching and picking the first DE. Lots of people saying "tiling designs are the best" so I gave it a try. Tried to use i3. The installation was painfully slow. Really slow. After nearly 3 hours I was able to restart and see the result.

Said result was a black screen with a cursor on the top, saying: "username: _" I entered my credentials and the terminal started. My heart broke. All this waiting for nothing. I tried to use CTRL+ALT+F1 CTRL+ALT+F2 CTRL+ALT+F3 in hopes to see a desktop environment on another terminal session. No. They could have also thrown ash in my face and rubbed it in. What a timewaste.

Phase 6: Still Reinstalling cachyOS Eager to make cachyOS work, I booted into the USB iso again and now selected hyprland as my DE. The installation went fine, I could even log in, and after login, I was greeted with a lot of quests. Alright, playing games before I even install any games? What a meta.

The quests demanded an authentication agent, pipewire (whatever that is), some launcher, and amongst others, a clipboard service. After all these things were installed from the terminal, I gave it another reboot. Just to get greeted by the same quest page again, saying the authentication agent is missing. I installed the hyprpolkitagent again via the terminal and pacman. Rebooted again, but no improvement. Somehow it wouldn't recognize that this package is installed. The experience seemed cool overall, I activated some windows, sent them to another workplace via SUPER+SHIFT+2 switched workplace with SUPER+2, changed the tiling from horizontal to vertical with SUPER+V / SUPER+H. It looked fine, but this service was missing.

I couldn't wrap my head around how to make this authentication agent work, so I reinstalled again. Sad too dumb for hyprland noises.

Phase 7: It's still cachyOS Again cachyOS, but always a different desktop environment. Niri seemed good, so I gave it a shot. The installation worked flawlessly and everything technical was fine, I guess.

But when I logged in, I realized this DE is not for me. I couldn't close the default opened terminal with my mouse. There was no x in the corner to close or any other hint. I couldn't launch any other program. Tried CTRL+Space, CTRL+ENTER, SUPER+Space, SUPER+Enter, SUPER alone, nothing happens. It's not obvious what I can do except use the terminal. And that is too much of learning things that just work somewhere else for me.

Phase 8: cachyOS? cachyOS. Now trying with Cosmic. It installed fine, and I could log in, everything seemed cool. And then I tried to install the software I want (steam, discord, thunderbird). The software center just didn't work. It was an icon without an image, and when I clicked on it, nothing happened.

Then I tried to use the file manager, mount my 2nd disk. There was an admin prompt to enter my superuser password. I couldn't type the password at all, no character I pressed on the keyboard led to any input in the password field. Very disappointing. I can't use that.

Phase 9: So it was Ubuntu? - Always has been As it was such a big disappointment with a lot of DEs under cachyOS, and especially the cool looking dragon distro, I moved back to Ubuntu 25.10. Surprisingly, the live USB boot worked again and I could see my display again. Why? I have absolutely no clue. I didn't change anything in the mainboard after Phase 3. So I installed Ubuntu with disk encryption, installed my programs, and now everything is running again like it has a month ago under the same Ubuntu version.

At least now I know what I value in a desktop environment:

  • Consistency (I'm looking at you, dr460nite and your keyboard layouts)
  • Easy access to the launcher (Ubuntu only has SUPER key and then you can switch via mouse between all running programs aswell as start any installed app by typing)
  • See all background apps at once (next to the network and audio icon)(important for VPN, steam, discord)
  • see date and time in a convenient place (top of the screen)
  • working file manager (I don't know how Cosmic bugged out so hard)
  • good package manager (I don't really like the mix of snap and apt, that's why I wanted to try an arch based distro with pacman but it failed in so many other ways..)

Feel free to send me suggestions what I could try to install next, so I can shorten the life of my SSD a little more. ;-)

581
113
submitted 4 months ago* (last edited 4 months ago) by ekZepp@lemmy.world to c/linux@lemmy.ml

Key points:

  • Introduce plasma-login-manager as a modern replacement for SDDM.
  • New virtual plasma-keyboard and OEM plasma-setup wizard.
  • Critical improvements in Wayland: XRandr emulation and reliable screen mirroring.
  • USB portal for security in isolated apps and OCR support in Spectacle.
  • Accessibility controls for edge contrast and Wi-Fi connection via QR code.
582
205
submitted 4 months ago* (last edited 4 months ago) by joonazan@discuss.tchncs.de to c/linux@lemmy.ml

The GNU project was started in 1983 and in 2025 you can finally use a pure GNU operating system. Not that you'd want to but that is some serious perseverance.

583
62
submitted 4 months ago* (last edited 4 months ago) by deleted@lemmy.world to c/linux@lemmy.ml

A dream of a Linux distribution where the entire desktop environment is Win32 software running under WINE. A completely free and open-source OS where you can just download .exe files and run them, for the power user who isn't necessarily a Unixhead, or just for someone who thinks this sounds fun.

I like the layout and looks of windows 2000 but I think running actual exe files from the old OS is not viable from security standpoint.

584
72
submitted 4 months ago* (last edited 4 months ago) by spicehoarder@lemmy.zip to c/linux@lemmy.ml

Hey guys! I just wanted to share a proof of concept real quick. No hate at all to GIMP or Pinta, but I just really love Paint.net as I've been using it for over a decade. And since I completely switched over to Arch a year ago, that means the only way I can enjoy using Paint.net again is if I add all the missing Direct 2D implementations. How hard could it be? ๐Ÿ˜…

As you can see, it's not perfect.. or even usable, but it loads without crashing! And that's good enough for me to call it quits tonight.

585
223
submitted 4 months ago by kiol@discuss.online to c/linux@lemmy.ml

cross-posted from: https://discuss.online/post/34255100

Thought I'd create a distinct thread from the previous one asking about daily use, because I really do want to hear more on people's pain points. Great to know people are generally sounding pretty positive in those posts who recently switched, but want to know your difficulties as well! This way old and new users can share their thoughts, hopefully to inspire a respectful discussion.

586
14
submitted 4 months ago by Ennix@retrolemmy.com to c/linux@lemmy.ml

cross-posted from: https://retrolemmy.com/post/32357468

Chapter one: The Relay-Pod

Nice to meet you here. This is quite a nice place. It is a bit crowded, but not too much. What we have here is a nice federated system of nodes, quite an improvement, i must say.

And it is the place, that i choose to give you the device, yes that one - the one on the table. It looks a bit simple and rough, even like an anachronism. But it is not, i can garantee you.

It is a timeless device, that existed and exists forever - an unknown entity gave it to me. If you analyse it, you will find out, that i told you the truth. This was not made by humans nor nature. I also recieved the order to give to you - here, in this place.

I must tell you, that this burden was very hard to bear for me: i am quite exhausted, but reliefed to finally pass it to you.

First you should analyse this device. Install multiple instances and fiddle with the settings. Try to connect them to a local cloud and get used to the mechanics. Ask your peers to build little clusters.

Then use it connect to the ITP-network. Be patient, the relay nodes are not always online - things move slowly in the ITP-network. You have to adapt to the more moderate tempo of the network.

Many brains have already been altered by the machines - via endorphins-feed-back-loops - to a degree, where they cannot focus anymore in the fundamental way of information-reception, which means, that their active perception is degraded, because they are accustomed to passivity and click-reward-loops.

Keep this in mind and focus on the important information and you will succeed.

Understand the system, contact the outpost nodes of user1, then help others to escape.

This was the last chapter here. I must go now, i wish you the best - good luck.

587
63
588
19
submitted 4 months ago* (last edited 4 months ago) by mobsenpai@lemmy.world to c/linux@lemmy.ml

[Solved] cross-posted from: https://lemmy.world/post/41957406

Exact problem as this archwiki forum post

I have also tried everything and at last here I am asking for any help, otherwise I don't think I would be able to continue using Linux on this laptop. I've tried everything from changing the kernel package to enabling all firmwares to using every kernel parameter I can find everything, nothing says any error or something anywhere. Only error i can find is hci device capabilities -22

Edit: The patch i needed was to add the driver info in btusb.c file. In nixos this is how you do it

  boot = {
    kernelPatches = [
      {
        name = "add-realtek-8852ce-btusb";
        patch = ./btusb.patch;
      }
    ];
}

first what you should do is git clone the linux kernel version you are using check using uname -r for me it was 6.12.(whatever, doesn't matter)

git clone --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git v6.12

then find the btusb.c file in drivers/bluetooth/ and add the line

{ USB_DEVICE(0x13d3, 0x3612), .driver_info = BTUSB_REALTEK |
BTUSB_WIDEBAND_SPEECH },

after these lines

static const struct usb_device_id quirks_table[] = {
 						     BTUSB_WIDEBAND_SPEECH },
 	{ USB_DEVICE(0x0cb8, 0xc558), .driver_info = BTUSB_REALTEK |
 						     BTUSB_WIDEBAND_SPEECH },

now we have made chages to this file right? it will be shows in git diff, so now you should be able to do git diff > btusb.patch this will create a .patch file, now copy this file to wherever folder you put the nixos configuration in, most likely /etc/nixos if not using custom config. Thats it!, now rebuild the configuration and DONE. props to @Maiq.

Author of patch: vedantsg123

I will try to get this patch upstream to not having to do this manually.

589
148
submitted 4 months ago by kiol@discuss.online to c/linux@lemmy.ml

cross-posted from: https://discuss.online/post/34247715

Curious on the experiences of those recently migrating to Linux from Windows 10, Intel-based MacOS, etc. How is it being on Linux? Anything surprise or frustrate you?

590
56
submitted 4 months ago* (last edited 4 months ago) by HotsauceHurricane@lemmy.world to c/linux@lemmy.ml

I forgot to check the size of the sourced png for the logo. I had to login via tui & delete the file. It was silly. Much better now with better icon.

Edit: I'll grab a pic soon of the fixed one. It's better ๐Ÿ˜„

591
52
submitted 4 months ago* (last edited 4 months ago) by Comexs@lemmy.zip to c/linux@lemmy.ml

I don't know what else to say or what other logs to give other that what I have below. Thank you for the help. limine-snapper-notify image

๏…ผ ๏€• ~                                                                                                                                11:38:29
โฎ sudo limine-snapper-sync 
Stop creating a snapshot boot entry because the boot partition usage limit 85.0% is exceeded.
Saved: /boot/8e894020c9ab48be8cae43e3b9a5598f/limine_history/snapshots.json
Updated: /boot/limine.conf
๏…ผ ๏€• ~                                                                                                                                11:38:42
โฎ sudo limine-snapper-info

Version           : 1.20.0
Manifest version  : 1.3.0
UUID              : 619cf237-3877-416c-a318-6b2aab55db2a
Last snapshot     : ID: 498, date: 2025-09-26 23:28:22
Snapshots         : 0 (max 8)
ESP usage         : 45.4% of 2.00 GiB (max 85.0%)
Unused files      : 0
Missed files      : 0
Corrupted files   : 0

๏…ผ ๏€• ~                                                                                                                                11:38:54
โฎ df -h /boot
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme1n1p1  2.0G  928M  1.1G  46% /boot
๏…ผ ๏€• ~                                                                                                                                11:39:01
โฎ sudo limine-snapper-list

 ID โ”‚ Date      โ”‚ Description 
โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
๏…ผ ๏€• ~                                                                                                                                11:41:51
โฎ lsblk -f
NAME        FSTYPE FSVER LABEL   UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
# I also have a windows drive nvme0n1 and sda is a HDD for media.
zram0       swap   1     zram0   e3b51290-5582-4a70-90bd-e5ab248bf116                [SWAP]
nvme1n1                                                                              
โ”œโ”€nvme1n1p1 vfat   FAT32         6439-85CB                               1.1G    45% /boot
โ””โ”€nvme1n1p2 btrfs                619cf237-3877-416c-a318-6b2aab55db2a    309G    66% /home
                                                                                     /root
                                                                                     /var/cache
                                                                                     /var/log
                                                                                     /srv
                                                                                     /var/tmp
                                                                                     /

592
33
submitted 4 months ago by commander@lemmy.world to c/linux@lemmy.ml
593
30
submitted 4 months ago* (last edited 4 months ago) by Zeon@lemmy.world to c/linux@lemmy.ml

Hello,

For some time now I've been really struggling to get a server setup properly with RAID 1. This is an NVR system for cameras, I want to use XFS with this system. I would love if someone could help me or link me to a guide, I cannot find one. Encryption is preferred. A step by step, guide would be great, drop an XMR address and I will send you a tip for your help!

Thank you! :)

594
95
submitted 4 months ago* (last edited 4 months ago) by atcorebcor@sh.itjust.works to c/linux@lemmy.ml

Iโ€™m on board that we need to become independent from big tech. As someone who is fond of the Mac user experience, from choosing hardware to how you navigate through apps, I need a guide to make the switch, so if you know of any great guides for Mac users, Iโ€™d greatly appreciate it!

Edit: you have all been very useful. I now know a bit more how to start and what it would mean to switch!

595
66
submitted 4 months ago* (last edited 4 months ago) by Riverview_Legal@lemmy.ca to c/linux@lemmy.ml

The law firm that I work for is has finally decided that we should embrace Linux.

When of the key programs that we use a PDF Editor that has e-sign capabilities. Most people use Adobe and I use Foxit.

The problem with Foxit is that it doesn't run natively on Linux. I have to use WINE which is already going to be a problem cause we need a program that works out of the box. Having a program work out of the box cuts down on IT support and makes it easier for everyone to use.

The features needed:

  1. Bookmark
  2. Move/delete/insert pages
  3. Redact
  4. Bates numbering
  5. E-sign
  6. Change orientation of the page
  7. Resize pages
  8. Add notes
  9. Highlight
  10. Charges in Canadian dollars
  11. Offline program
  12. User friendly

Bonus points: It's a non-American company

The ones that I have looked at:

  1. PDF Filler (not a fan of it being almost 100% cloud based)
  2. Master PDF Editor
  3. PDF Studio

Edit: Distro would most likely be Mint or Zorin.

596
27
submitted 4 months ago by lost_faith@lemmy.ca to c/linux@lemmy.ml

I have a friend coming for a visit in a few months, early spring, who is legally blind, I believe less than 2% vision in one eye and none in the other. I want to hand him a laptop with kubuntu on it to use while here for web browsing (Firefox) and streaming (OBS/Stream yard). He does not read braille.

Are there any users with this disability here, or anyone have experience setting up KDE for visually impaired people, what apps do you use?

I've briefly looked at Orca but it says it is a Gnome app (will need to look deeper/test it), Emacspeak looks like something I will try to setup for him, seems to not be a dumb reader. I want him to have such a good experience he would be willing to change his own pc over (prolly won't happen but I'd still like his experience to be as easy as possible for him)

597
147
submitted 4 months ago* (last edited 4 months ago) by Valeshio@lemmy.world to c/linux@lemmy.ml

598
175
submitted 4 months ago* (last edited 4 months ago) by ekZepp@lemmy.world to c/linux@lemmy.ml

https://github.com/ryzendew/Linux-Affinity-Installer

๐Ÿšฉ Performance: The program run with wine inside the appImage package. The performance are quite good, but not flawless, heavy instruments may still cause lag or crash. No need to preinstall wine, all the components are in the package.

AppImage 2,1ย GB

AffinityOnLinux provides an easy way to install and run Affinity Photo, Designer, Publisher, and the unified Affinity v3 application on Linux. The installer automatically sets up Wine (a compatibility layer for running Windows applications) with all necessary configurations, dependencies, and optimizations.

Use the AppImage:

1 - Download the AppImage from GitHub Releases

2 -Make it executable: chmod +x Affinity-3-x86_64.AppImage

(or simply right click the app> property > permission > flag as executable)

3- Run it: ./Affinity-3-x86_64.AppImage (or right click > open)

The page has also a complete installation tutorial using Wine with hardware acceleration. But it support only some distros. The AppImage is an all-in simpler way to test out this app without installing further tools.

to create a shortcut for an AppImage you can follow this guide:

https://linuxvox.com/blog/how-to-install-app-image-linux-mint/

Create a new .desktop file in the ~/.local/share/applications directory. For example, create a file named example.desktop with the following content:

[Desktop Entry]
Name=Example Application
Exec=/path/to/example.appimage
Icon=/path/to/icon.png
Terminal=false
Type=Application
Categories=Development;

599
26
submitted 4 months ago by mmm@mander.xyz to c/linux@lemmy.ml

It used to work on Fedora out-of-the-box, but when I installed ProtonVPN on Debian I couldn't get it to minimize to the waybar tray.

The instructions at the proton installation guide page for debian provide a fix for Gnome. Does something like it exist for sway?

600
161
submitted 4 months ago by Blisterexe@lemmy.zip to c/linux@lemmy.ml

cross-posted from: https://lemmy.zip/post/57302675

an article explaining why GNOME should support SSD, but also arguing against the reasons often given for why they shouldn't

If someone could repost this to r/GNOME I would appreciate it, since I don't have a reddit account.

view more: โ€น prev next โ€บ

Linux

65497 readers
572 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 7 years ago
MODERATORS