Linux

49110 readers
7 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
1
 
 

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...

2
 
 

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?

3
 
 

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
4
5
 
 

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 !

6
 
 

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

7
8
 
 

I was recently intrigued to learn that only half of the respondents to a survey said that they used disk encryption. Android, iOS, macOS, and Windows have been increasingly using encryption by default. On the other hand, while most Linux installers I've encountered include the option to encrypt, it is not selected by default.

Whether it's a test bench, beater laptop, NAS, or daily driver, I encrypt for peace of mind. Whatever I end up doing on my machines, I can be pretty confident my data won't end up in the wrong hands if the drive is stolen or lost and can be erased by simply overwriting the LUKS header. Recovering from an unbootable state or copying files out from an encrypted boot drive only takes a couple more commands compared to an unencrypted setup.

But that's just me and I'm curious to hear what other reasons to encrypt or not to encrypt are out there.

9
 
 

Comrades I challenge you to find the stupidest, most convoluted way to run a Windows app !

The rules are :

  • You start with Windows and end with a Windows app
  • All steps must be different, so no using 4 different VM software

Here is my entry, with a score of 9 beautifully stupid steps :

  • Windows > WSL > WSL Wayland compatibility layer > Linux Wayland session > XWayland > QEMU > macOS > Wine > Windows app !

Can anyone do better ? I'm sure whoever get the highest score will gain eternal fame !

10
11
12
 
 

I am trying to restrict access to our workgroup shares so no one can accidentally delete or move them.

Basically /path/to/parent/SHARE WITH TEAM FOLDERS/

The directory in caps is all the different team shares in the company. Hr, sales, etc. the issue we have is everyone has access to the directory with all the shares and from there it’s governed by groups on the acl.

Sometimes users accidentally drag a folder into a different teams folder or deletes a team folder.

I can’t find a way to restrict access so that the groups applied can still have access but restrict delete or moves.

Any help would be greatly appreciated….i might actually cry if something works too.

13
 
 

I bought a laptop with windows 11 instaled in its 256gb nmve ssd. I want to install linux but I want to first create an image of the ssd and store it in an external 4tb ssd with a ext4 filesystem (that I use for different backups) so in case I want to sell the laptop later I can restore windows 11 to the same ssd from the image. So what i'm planning to do is:

  • dd if=/dev/drive_device of=external_ssd/images/windows11.img

for creating the image and swapping if and of for restoring. My question is if creating the image of a drive with a windows 11 filesystem and storing it in a ext4 filesystem is possible or can have any issue. I ask this because I read that in the case of cloning the target drive will end up with the filesystem of the source drive in case they are different, which caused me some hesitation.

14
 
 

cross-posted from: https://lemmy.ml/post/24744907

I rewrote some popular games for the terminal! You can play 2048, the snake game, tic-tac-toe, connect 4, and many more.

There's still a bunch of games to be made, so feel free to contribute :)

All contributions are welcome!

15
 
 

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).
16
 
 

I'd learned about this last week, and this stuff is a bunch of Wikipedia searches so forgive me if I miss anything :]

Similar to git master and whitelist/blacklist having addressed racist origins, I've just learned that "ricing" -- i.e. way-far-from-default, colorfully souped-up *nix customizations -- came from a derogatory word for Asian "riced out" cars.

(click to enlarge spot where I came to learn about this)


Example in the lemmy.ml/c/linux community.

The linked Wikipedia article doesn't list *nix ricing specifically, but it's probably not a far reach -- for example, tech's master-slave came from cars too.


Now I'm not here to start a debate on whether the term itself is bad. The arguments are done to death and predictable (old thread~hope~ ~I~ ~can~ ~link~ ~here~). Rather, I posit that we could probably invent a new term if we forced it hard enough.

For example, 4chan forcibly invented the use of the ok hand for "white power", as a collective prank (Wikipedia).

Further, Tumblr invented 'then beg' as an insult response to 'I beg your pardon/to differ'. (click to enlarge)

Based on Pukicho.

So why can't Lemmy invent something too?

Here are some earlier takes. (click to enlarge for source, but they are listed below anyway)

I surmise it has to be (1) somewhat unique and (2) short and nounable/verbable.

  • Customization doesn't fit -- it's too broad. Changing the wallpaper is a customization -- diagonalizing your screen is a rice (term to be replaced...).
  • Bespoke doesn't fit either. That's for a duct-tape script you hack together.
  • Pimping out... is not a good alternative. It preexists^(citation^ ^needed?)^ and has inertia but it's not any better.
  • Souping up... doesn't roll off the tongue so much. But it's food-related (and thus not far from "rice"). Though I can't see myself saying "Yo, check out this epic soup."

Brainstorming welcome :P

17
18
25
submitted 1 week ago* (last edited 1 week ago) by narr1@lemmy.ml to c/linux@lemmy.ml
 
 

Hello all,

So I have this old Samsung RV520 laptop. You can see the specs there. I've installed and reinstalled a few different linux distros on it for the past 12 years or so, the last one being Arch (btw) which is what I use as my daily driver on my main desktop as well (by the btw). But I really don't need this laptop anymore, so I was thinking I'd give it as a birthday present to my friend's son, who turns 2 this month. It would be used as a "media station" to basically just play kids' videos from Youtube.

The problem is that I basically need to install an extremely windows-like (or otherwise simple) distro on it, because while my linux-fu is somewhat high level, my friend uses windows daily so system maintenance must be simple. Ubuntu is for me the obvious choice, but I'm not sure if the laptop can even run it anymore :D of course the HDD in it is also 16 years old and I'm pretty sure I'll upgrade it to an SSD before set up. So, taking all this preamble into account, what would you recommend? Some Ubuntu-derivative, pure Debian, maybe even Arch with linux-lts? Give me your thoughts!

19
20
21
 
 

I had never heard of Absolute Linux, but the rest of this article has some interesting musings on lightweight distros that I thought would make for good discussion here.

22
 
 

Hi, I setup RetroArch from Steam on my Fedora machine that is my daily driver since 3 years. It works tremendously well if I run in directly from my computer, but the problem starts when I want to stream it to my TV on the other room. RetroArch launches on my computer screen and takes in any input received through the in home streaming connection just fine, it looks fine on my computer screen, but on the other end on the TV I get only a black screen. If I switch RetroArch to compatibility mode on proton experimental (that is - force to use the Windows version instead of Linux native), the stream works perfectly but the cores won't load and this is far from a perfect solution anyway.

I wonder if anyone knows what the issue could be?

23
 
 

Key Features in OpenZFS 2.3.0:

  • RAIDZ Expansion (#15022): Add new devices to an existing RAIDZ pool, increasing storage capacity without downtime.
  • Fast Dedup (#15896): A major performance upgrade to the original OpenZFS deduplication functionality.
  • Direct IO (#10018): Allows bypassing the ARC for reads/writes, improving performance in scenarios like NVMe devices where caching may hinder efficiency.
  • JSON (#16217): Optional JSON output for the most used commands.
  • Long names (#15921): Support for file and directory names up to 1023 characters.
  • Bug Fixes: A series of critical bug fixes addressing issues reported in previous versions.
  • Numerous performance improvements throughout the code base.
  • Supported Platforms:
    • Linux kernels 4.18 - 6.12,
    • FreeBSD releases 13.3, 14.0 - 14.2.
24
 
 

over on reddit, there's a distinction between /r/linux (general discussions) and /r/linuxquestions (community support). i notice a lot of support posts over here, which could warrant the split, but otoh maybe the volume of posts is not enough to justify it and it could risk spreading our community way too thin

what do you think?

25
 
 

I have a machine who's mission is to run FreeDOS. It will do this most of the time, but sometimes it would be nice to be able to get it connected to a modern network to transfer DOS files out to my 'production machine' If DOS is like Windows the system clock ticks local time, but usually Linux likes UTC time - so this may be an issue that needs resolving too.

view more: next ›