Linux

49544 readers
1529 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
126
28
Fav handheld Linux? (lemmy.selfhostcat.com)
submitted 2 weeks ago* (last edited 1 week ago) by ocean@lemmy.selfhostcat.com to c/linux@lemmy.ml
127
 
 

Now to make it all RGB and shit 👾

128
 
 

Finally a distro has me tempted into considering moving from Arch which I've been using for almost a decade (kudos to the CachyOS devs on a job well done!).

But one of the things I love about Arch is that I choose what is and isn't installed and after my spouse installed Cachy (also previously on Arch) I can see a number of apps come pre-installed (like Meld).

Is there a list somewhere of what CachyOS installs by default so that I can uninstall it post-install? Or is there a minimal install ISO somewhere that I'm missing that just installs the Cachy 'tweaks' and Cachy-specific apps (like Hello) + a DE?

I have considered converting my Arch install to Cachy but since this install is 3+ years old now, it would be more difficult to find and get rid of all the tweaks I've made here and there than just start a fresh CachyOS install and remove unwanted packages.

EDIT: Here is the answer: https://github.com/CachyOS/cachyos-calamares/blob/cachyos-systemd-qt6/src/modules/netinstall/netinstall.yaml

129
 
 

SOLVED: BananaTrifleViolin's post contains the solution.

Flatseal won't start by itself anymore, which is a known issue. I got it running by running

GSK_RENDERER=gl com.github.tchx84.Flatseal

and inspired by a response in the above linked issue, I wanted to add GSK_RENDERER=gl as a variable in Flatseal so I could open it without having to manually run this in the terminal.

However, I seem to have screwed that up, and written GSK_RENDERER=ng instead, because the application still won't run, and now I get the following output anytime I try to open it by the method above:

(com.github.tchx84.Flatseal:2): Gsk-WARNING **: 22:09:54.997: Unrecognized renderer "ng". Try GSK_RENDERER=help
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:782: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:814: FINISHME: support more multi-planar formats with DRM modifiers
Gdk-Message: 22:09:55.406: Error 71 (Protocol error) dispatching to Wayland display.

However, I can't for the life of me seem to correct this. I've tried running the above command again, I've tried overriding it with flatpak:

flatpak override --env=GSK_RENDERER=gl com.github.tchx84.Flatseal

(which yielded a "permission denied", and nothing happening after running with sudo)

I've reinstalled the applications several times, including removing the config files from ~/.var/app/com.github.tchx84.Flatseal and checked that /var/app/ does not contain any config files.

I just want to reset the user input changes I made to this flatpak and start over, but I'm getting no where...

130
 
 

Is there anyway to pass terminal colors through a pipe?

As a simple example, ls -l --color=always | grep ii.

When you just run the ls -l --color=always part alone, you get the filenames color coded. But adding grep ii removes the color coding and just has the grep match highlighting.

Screenshot of both examples:

In the above example I would want ii.mp3 and ii.png filenames to retain the cyan and magenta highlighting, respectively. With or without the grep match highlighting.

Question is not specific to ls or grep.

If this is possible, is there a correct term/name for it? I am unable to locate anything.

131
 
 

That's pretty much it, after several months, maybe even a year of wanting to take the leap, a couple days ago I finally did it. I just wanted to share this cuz I think it's an absolute win, and I guess just see if anyone has any general advice to keep in mind during the process. I ended up choosing Fedora, right now I'm dual booting while I'm still in the process of finding software alternatives and getting everything set up, but trying to minimize my use of windows as much as possible, and so far I've been loving it. I love this community and I just wanted to thank everyone that has given any advice or suggestions in the past, i'm really excited about this and grateful that I could get to this point.

132
133
 
 

I can't search in discover for any of the KDE software like kmail or KDE partition manager. On the apps.kde.org website when I click the install on Linux button it pulls up discover. But it says "Could not open app stream://org.kde.whatever because it was not found in any available software repositories.".

I have been googling for awhile and can't figure out what repository I need or how to add it. If any one could help I would appreciate it. Thanks.

134
135
 
 

This release adds the following features:

  • Record the entire USB descriptor in the emulation data
  • Return defined return code when network metadata refresh fails

This release fixes the following bugs:

  • Add a new private flag of 'delayed-removal' to remove a footgun
  • Added a more specific instance ID for qc-s5gen2 USB devices
  • Add fadvise64 to the systemd syscall allowlist
  • Add the Unifying bootloader VID/PID as a full instance ID
  • Allow disabling zero-length packet for modem-manager devices
  • Allow recovering Logitech Bolt receiver in bootloader mode
  • Correctly parse CSV streams without trailing NULs
  • Detect if network is reachable before downloading metadata
  • Disabling reading the OptionROM device after dumping
  • Do not claim kernel interface to avoid Parade downstream port resets
  • Do not save BootOrder when measuring system integrity
  • Enumerate child nordic-hid devices correctly
  • Fix a possible critical warning for Mediatek scaler devices
  • Fix Firehose padding for some modem-manager devices
  • Fix UEFI capsule updates when using 4096 byte NVME blocksize
  • Get the Dell dock update package version correctly
  • Never read more of the composite stream from a partial stream
  • Notify snapd about DBX updates
  • Probe sd_mod before starting
  • Properly handle FU_DEVICE_PRIVATE_FLAG_NO_GENERIC_GUIDS
  • Remove the test for CSME 18 manufacturing lock
  • Restore the Logitech compatibility UFY instance IDs
  • Show the correct version when installing a same-device composite update
  • Show updates with problems when using 'fwupdmgr get-releases'
  • Split up the AMD GPU VBIOS P/N for the version
  • Use attr USB4_TYPE rather than guessing from thunderbolt_domain
  • Use the ISO date as a dbx version number for the Microsoft KEK
  • Use the KEK to set the dbx vendor ID
136
 
 

I have the following kernels installed:

  • linux-zen (Zen)
  • linux-rt (RealTime)
  • linux-hardened (Security Hardened)
  • linux-lts (Long Term Support)
  • linux-tr-lts (Realtime LTS)

When I boot up, I try the different kernels from time to time just to see if anything interesting happens. It never does.

My question: How do I actually physically notice the difference between these kernels? If I use RT, does Firefox spawn quicker (in my testing, no, not really)?

What are some use cases when I can really see the difference in these kernels?

137
 
 

Using latest fedora 41 with Plasma Mobile, I can't get Bluetooth to work. Nothing shows up running bluetoothctl list. It's an intel wireless 7265, which shows up as a network controller under lspci, but the bluetooth part doesnt. hciconfig returns nothing.

Steps I've taken:

sudo modprobe bluetooth

sudo dnf install bluez bluez-utils

sudo systemctl start bluetooth

I'm having deja vu where I followed all these steps before, but somehow I'm stuck here. Thank you for any help.

138
 
 

so my Fedora installation was upgraded in place from 35 onward, survived three SSD upgrades (all glory to btrfs send | receive), got switched to systemd-boot, then from Gnome to Plasma, so there's some junk hanging about.

one of those is my flatpak setup that's system-wide, as was the style at the time, instead of the current user-level. although everything works, there are enough irritants (like forcing crappy electron apps to use wayland) that the old way is just a chore now. so, here's my brief write-up on how I made the switch.

flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo  
/flathub.flatpakrepo

flatpak list --system --columns=application > system_flatpaks

edit the list by removing various org.kde., org.gtk., org.freedesktop., etc. runtimes and save it as e.g. flatpak_apps. otherwise, the following install and remove processes will ask tons of questions as to versions and nobody got time for that; the unused runtimes will be autoremoved later.

flatpak install --user $(cat flatpak_apps)

after it's done, time to pull the dependencies; no idea why they don't get pulled in the first place, when installing? anyhoo:

flatpak --user upgrade

will pull everything that's needed. thanks to the glory of btrfs deduping, this won't take up any additional space as it's already on the disk. to remove the system apps:

flatpak remove --system $(cat flatpak_apps)

after it's done, the runtimes:

flatpak remove --system --unused

and finally list all the system repos and remove them:

flatpak remotes --system
flatpak remote-del --system {flathub,flathub-beta,fedora-testing}

all app data remains safe and untouched in ~/.var/app, everything works as before and no reboots necessary. from this point forward, it's not neccessary to include the --user switch.

bonus content: if you haven't set up flatpak autoupdate, fix that post-haste.

~/.config/systemd/user/flatpak-autoupdate.service

[Unit]
Description=Update user Flatpaks  
  
[Service]  
Type=oneshot  
ExecStart=/usr/bin/flatpak update --assumeyes --noninteractive  
  
[Install]  
WantedBy=default.target

~/.config/systemd/user/flatpak-autoupdate.timer

[Unit]  
Description=Update user Flatpaks daily  
  
[Timer]  
OnCalendar=daily  
Persistent=true  
  
[Install]  
WantedBy=timers.target
systemctl daemon-reload
systemctl --user enable --now flatpak-autoupdate.timer
139
140
141
 
 

I've got an x86 tablet, and I don't want to run Windows or Android, so I have always been left with the option of Linux with GNOME. GNOME is a solid DE, but despite the design language, it is nowhere near ready for touchscreens. Depending on the distro, it was either severely outdated or just generally buggy, particularly with the onscreen keyboard. This lead my to completely abandon my tablet for a while, but today I had an arbitrary though that I should try out KDE Plasma Mobile. Low and behold, it was exactly what I needed for my tablet.

I expected it to be a bit buggy, because I had tried out KDE Bigscreen and this seemed like the mobile equivalent of bigscreen, a fork that is half-baked and still has lots of work to do before it's worth daily driving. Imagine my shock when I booted the Fedora liveUSB and everything felt incredibly fluent and polished. I knew about 15 seconds in that I was switching. The navigation feels like an Android tablet, which I see as a positive, and the keyboard is just so much larger and more responsive. The GNOME default OSK is hardly usable because it's letters are so small, so this was a relief being able to type with no need for checking that I'm writing correctly every few characters. The next thing I noted is how polished it feels even for large screens(I have a 12 inch tablet). The gestures work on the whole screen, and this makes it feel effortless to navigate around. The final thing I want to touch on before I stop glazing is the really good performance. I have a very old tablet, about 10 years old, and the performance felt like it was brand new.

Thanks for reading my glazing exhortation, and if you have a tablet, I couldn't recommend Plasma Mobile more.

P.S. does anyone know where KDE connect is?

142
143
 
 

A Qnap NAS has a drive with some bad sectors, I want to RMA it, but before just want to figure out how to prepare a drive? It's part of a raid 5 setup of 4 drives unencrypted. So I want to remove it and wipe it. Got a Linux machine I can use, but never done this before.

What are common Linux tools to do that sensibly?

144
145
146
147
 
 

Let's say I want to enforce certain settings, such as the use of a proxy in network settings for certain users.

Isn't this easily bypassable by for example by installing TOR browser or using a VPN app in the user space?

How does system mangers can be sure users will only use the system as planned by the sysadmin? I'm especially interested in network settings, but in general I would be interested to know more about this/be pointed towards the right direction.

Thank you!

148
 
 

Hello :)

There isn't any community about note taking where I could post my question and no this is not a "What's the best note taking app" question...

I'm getting tired of maintaining my Obsidian vaults... Somehow I'm fighting to get it right and obsidian seems to fight back. I've got 4 vaults of the same subject and I always end to make a mess out of it and make a fresh one... Also my notes a scattered in all direction and the more my knowledge base grows the less I seem to be able to find something...

This is probably a me problem rather than Obsidian issue. The way I'm taking notes are not compatible with Obsidian. IMO Obsidian's defaults configuration are bad and visually not appealing. Sure customization in Obsidian is "endless" but digging in the HTML code to change the style or adding plugins to somehow get something visually appealing seems more like a chore than actually taking notes.

Here I'm again roaming the web for a Note taking app the could fit my needs and after trying a lot of different apps (please don't suggest the already well known apps... I have probably already tried it...) I couldn't find something that fits my workflow.

The only one that looked great and simple was osmosnote but it isn't maintained anymore. There's also dendron but it's in maintenance mode. So there goes the only ones that looked promising from my perspective.


After giving it more thoughts, I was looking for something that could:

  • Keep my scripts updated
  • Simple markdown text
  • No database
  • Local first
  • Open source
  • If webapp self-hostable
  • Back-linking
  • Keep track of changes

Except for back-linking, a self-hosted Forgejo with git seems to fit all my needs, however I'm not sure if this is the right tool and I'm scared that in the long run I will mess it up the same way I did with Obsidian.

Does anyone here has some experience and is taking notes that way? I'm really curious on your experience and maybe your thoughts if it's feasible ? Practical ?

Please don't suggest Org.mode or Emacs ! They look very cool and very promising but they are WAY to much overkill ! And they also implement a totally new way of taking notes... Relearning on how to take notes will probably give me the last hit on abandoning to document anything !

Thank you for any helpful input !

149
 
 

The card in question: Thames [Radeon HD 7550M/7570M/7650M] (Radeon HD 7570M) I am starting to face mounting issues as a lot of modern software have started to abandon OpenGL in favor of Vulkan, and if its possible, I just want to try for the learning opportunity

150
view more: ‹ prev next ›