Linux

49393 readers
1678 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
127
 
 

I have been going strong for 34 days and 5 hours.

You can check by running inxi in the command line or checking the CPU in Mission Center

128
15
submitted 2 weeks ago* (last edited 2 weeks ago) by SolarPunker@slrpnk.net to c/linux@lemmy.ml
 
 

I use this HDMI switch between PC and PlayStation4, it seems that PS4 has no problems at all but PC often struggles to get signal back and no longer appears on screen after the switch. Looks like PC can perfectly switch without issue in the BIOS or when I boot in "nomodeset", so it should be something Linux related. I've also tried with my intel iGPU bypassing my RX580 and the issue persist.

My setup:

EndeavourOS (Arch Linux), KDE Plasma, systemd-boot, SDDM, amdgpu, a cheap nobrand HDMI switch with a simple but respectful job to do

Additional notes:

  1. If I manually unplug the monitor's hdmi switch and plug it back in it works, maybe something related to power options?
  2. Maybe I have to load graphics modules earlier at kernel startup? I don't know if they are already like this by default on recent kernels but it's a consideration.
  3. Another hypothesis is that it's BIOS related, I've already tried to set the PCIe GPU as primary. I have disabled secure-boot and fast-boot to use the distro.
  4. Thanks for any advice, in these days I will also try other consoles and devices, I will update this post.
129
 
 

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 !

130
131
 
 

We all know this. We need to do a specific task and with the help of the internet we find a specific tool alongside command line parameters to do the job right from the shell.

What is a good way of collecting/documenting these snippets on your own for future reference and use? Just a text file in the home folder?

132
36
submitted 2 weeks ago* (last edited 2 weeks ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

Changes:

  • Add Ctrl+N shortcut for creating a new bottle
  • Add Shortcuts window
  • Remove support for the runtime sandbox
  • Add mnemonics in main menu
  • Polish and rework the new bottle dialog
  • Polish and rework the environment variables dialog
  • Fix CSS warnings in the terminal
  • Fix bug where Bottles would not start when running the --executable flag in the terminal

Dev Release Notes

  • fix[close #3599]: CLI no longer works when starting a Bottle by @jntesteves in #3605
  • Use GtkButton for donate button by @TheEvilSkeleton in #3603
  • Add keyboard shortcuts dialog by @TheEvilSkeleton in #3588
  • Integrate pre-commit by @TheEvilSkeleton in #3592
  • Use FileDialog for all file/path pickers by @penguinpee in #3554
  • Delete sandbox and runtime, and clean up directory structure by @TheEvilSkeleton in #3615
  • Fix missing combo letter when removing a drive by @EmoonX in #3616
  • Save pre/post-scripts paths with None instead of "" on reset by @EmoonX in #3620
  • window: Add mnemonics in primary menu by @TheEvilSkeleton in #3665
  • Rework New Bottle dialog by @TheEvilSkeleton in #3653
  • Fix forums link by @Qronikarz in #3672
  • Start "Add Shortcuts" dialog at the root of the bottle by @XBagon in #3688
  • Rework Environment Variables dialog by @jntesteves in #3679
  • bottle-row: Port to AdwWrapBox by @TheEvilSkeleton in #3700 ___
133
 
 

like not doing anything, just a spare laptop in case i ever need one, what if i use it years after i installed debian on it?? i would have to update like 300 packages and would take a lot??

134
 
 

I'll preface this by saying that these issues are on a Surface Tablet that I've been using to play around with, so I haven't been too diligent in documenting what changes were made when.

I've got a Surface Go 2 tablet with the LTE modem that I installed Linux Mint onto several months ago. When I first made the switch, cellular connectivity seemed very "touch and go" but Wi-Fi had been solid.

At some point in time (roughly 6 months ago), I switched my home network to using Control D for DNS resolution for about 2 months until I decided it wasn't what I wanted and went back to my default setup which is a Unifi UCG Max gateway using the AdGuard public DNS servers coupled with the built-in ad blocking of the Unifi gateway. This feeds to a separate Wi-Fi mesh network in my home.

About a month ago I noticed that I could no longer reach internet locations on my tablet when connected to my home Wi-Fi network, but I could still access other computers on my LAN just fine, so Wi-Fi was working. Cellular connectivity seemed to have stopped working entirely even though I ran the "lte_modem_fix" that is on github and was seeing several bars of connectivity in the status bar.

Even though websites were inaccessible (Firefox gave me an error saying there was no network connection), in my attempt to try anything I found that I could visit the Control D website even though I stopped subscribing months ago.

On a lark I pulled up my Mullvad VPN app which I have an active subscription to and it let me connect to a server. As soon as I did this, ALL internet sites became available.

Next I took the tablet with me away from home, disabled Wi-Fi and activated the cellular network. Again the bars appeared but I couldn't access any sites. I loaded up Mullvad and was able to connect, after which I could reliably connect to all internet sites. Again, cellular connectivity was never 100% but Wi-Fi was.

How do I even begin troubleshooting and fixing this? Needing a VPN isn't the end of the world, but when at home it gets in the way of accessing local computers so I'd like to get to where the tablet works on Wi-Fi or cellular, with and without a VPN active.

135
 
 

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.

136
 
 

I came across this old IBM screen saver on a old machine and thought it was pretty cool. I set it up on my work laptop, but not Im curious if there are any cool linux or other screen savers you guys know?

137
 
 

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!

138
 
 

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

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

140
141
56
submitted 2 weeks ago* (last edited 2 weeks 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!

142
143
144
 
 

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.

145
 
 

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?

146
 
 

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

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?

148
 
 

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.

UPDATE - For now I have Debian in multi-user mode. I have set Grub to remember what I chose last so reboots from FreeDOS are hands free after ctrl-alt-del (Just like if FreeDOS were the only OS here) I have set the clock in Debian to run on the local timezone too, Thanks over_clox. Please continue to recommend your favorite distro.

149
364
Immutable Distro Opinions (www.linuxfordevices.com)
submitted 2 weeks ago by Kroxx@lemm.ee to c/linux@lemmy.ml
 
 

I recently took up Bazzite from mint and I love it! After using it for a few days I found out it was an immutable distro, after looking into what that is I thought it was a great idea. I love the idea of getting a fresh image for every update, I think for businesses/ less tech savvy people it adds another layer of protection from self harm because you can't mess with the root without extra steps.

For anyone who isn't familiar with immutable distros I attached a picture of mutable vs immutable, I don't want to describe it because I am still learning.

My question is: what does the community think of it?

Do the downsides outweigh the benefits or vice versa?

Could this help Linux reach more mainstream audiences?

Any other input would be appreciated!

150
 
 

With no flags when I open chrome://gpu everything seems fine but when I start my browser (cromite) with the --ozone-platform-hint=wayland flag everything over at chrome://gpu gets disabled which got me wondering if wayland backend + hwaccel is possible at all

view more: ‹ prev next ›