Linux

47948 readers
2145 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
1676
1677
1678
1679
1680
 
 

Yeah. It's another one of these. But! Here me out! So I have some experience using Linux. Run some VMs for services I run in my home, I switched my surface book 3 (funnily enough) to ubuntu for my work computer as I was getting more and more frustrated by windows 11 and it turned out really good. Was able to completely get off windows and i didn't miss out on anything. Now. Ive been trying to migrate my gaming rig to Linux with... Not a lot of success. I have 3 monitors plugged into it, a Samsung crg49 and then 2 small no name brand monitors I like for websites and discord and stuff while I play on the Samsung monitor. On windows it works flawlessly. No Linux distro I've used has been able to handle it and I'm not sure how I should be approaching this. Running games has been fine. I use lutris and have been able to play pretty much everything I've wanted to with some tweaking. But whether a few hours or a few days, eventually I start having issues with the displays. Monitors will black out. Not boot. Eventually the whole system just stops working in a way that I can figure out. I have a ryzen 3700x, and a Nvidia 2080ti. 64GB of RAM. all my storage is nvme. I have tried most major distros. Mostly Ubuntu is what I have experience with. I have tried some others like nobara, but performance was awful, and display management was an issue. Ive never really installed other desktop environments other than what comes with those distros, so if it's a matter of "use distro x, but you need to install weyland" then sure. Just let me know that's something I need to do. 😋 So... What do you suggest I run? I really dont want to go back to windoze. It's just awful these days.

1681
 
 

Something like nvtop perhaps?

1682
673
submitted 5 months ago* (last edited 5 months ago) by KISSmyOSFeddit@lemmy.world to c/linux@lemmy.ml
 
 

Source: https://linux-hardware.org/?view=os_display_server

Reporting is done by users who voluntarily upload their system specs via
# hw-probe -all -upload

1683
 
 

I wanted to install Debian Linux after a weird journey with Gentoo Linux. My partition layout is this:

  • Boot Partition (512 MiB, mount at /boot)
  • Swap Partition (4 GiB)
  • Root Partition (~80 GiB, mount at /)
  • Home Partition (~170 GiB, mount at /home, LUKS encrypted)

While trying to preserve the home partition, I think I clicked 'Configure encrypted partitions' on the Debian installer and then set a password for it (the same that it had before).

Now, I can unlock it like before, but after it is unlocked, no utility recognizes the filesystem (ext4) and the file command reports it as being data:

# file -s -L /dev/mapper/home
/dev/mapper/home: data

file on the encrypted partition returns the following:

# file -s /dev/nvme0n1p4
/dev/nvme0n1p4: LUKS encrypted file, ver 2, header size 16384, ID 3, algo sha256, salt 0x590d84c0e8397ad0..., UUID: c5ff37db-11f7-4ccf-8869-c4bc22648202, crc 0x345f75d85c9f444a..., at 0x1000 {"keyslots":{"0":{"type":"luks2","key_size":64,"af":{"type":"luks1","stripes":4000,"hash":"sha256"},"area":{"type":"raw","offse

(This is the complete output, it cuts at offset for some reason)

My luksDump output is this:

# cryptsetup luksDump /dev/nvme0n1p4
LUKS header information
Version:       	2
Epoch:         	3
Metadata area: 	16384 [bytes]
Keyslots area: 	16744448 [bytes]
UUID:          	c5ff37db-11f7-4ccf-8869-c4bc22648202
Label:         	(no label)
Subsystem:     	(no subsystem)
Flags:       	(no flags)

Data segments:
  0: crypt
	offset: 16777216 [bytes]
	length: (whole device)
	cipher: aes-xts-plain64
	sector: 512 [bytes]

Keyslots:
  0: luks2
	Key:        512 bits
	Priority:   normal
	Cipher:     aes-xts-plain64
	Cipher key: 512 bits
	PBKDF:      argon2id
	Time cost:  6
	Memory:     1048576
	Threads:    4
	Salt:       18 b4 a6 e9 87 1f 94 f6 7d 96 f2 9c 0f 2e ca 75 
	            e6 0f 80 7d 09 70 40 19 d0 a4 a1 49 ff 5c 1c 0b 
	AF stripes: 4000
	AF hash:    sha256
	Area offset:32768 [bytes]
	Area length:258048 [bytes]
	Digest ID:  0
Tokens:
Digests:
  0: pbkdf2
	Hash:       sha256
	Iterations: 171785
	Salt:       c2 b0 a6 f5 e1 bf 5f 85 82 b1 d5 f3 10 c6 ae b7 
	            7c fc 50 41 c5 a6 03 f6 5a bd ac df 46 89 7b c6 
	Digest:     57 7d fb 87 69 c5 58 07 cf 82 88 5e f8 c6 39 f5 
	            7d 00 ec 07 e0 df b8 ee b5 dd ff 20 bf b3 bc 01

My guess is that I re-encrypted the already encrypted partition. Also, I noticed that the UUID changed. Can anyone help me recover it? Thanks in advance.

If you need more logs, I will happily provide them to you.

1684
 
 

So, I have a device running stripped down Ubuntu and I wanna get tic80 on it, I have a copy on a flash drive but idk how to install it. The machine is pretty much CLI only

1685
168
submitted 5 months ago* (last edited 5 months ago) by Fredol@lemmy.world to c/linux@lemmy.ml
 
 

I'm bored and want to practice my Rust skills. I am the creator of open-tv. If you have any idea for a linux desktop app, even if it seems quite complex, I will take it.

1686
30
submitted 5 months ago* (last edited 5 months ago) by meekah@lemmy.world to c/linux@lemmy.ml
 
 

Edit: sadly, Auto Tab Discard did not fix my issue. Firefox is also set to block audio (including video with audio to my understanding) by default, which I never changed so I don't think that helps with this issue either.

So I installed pop on my laptop a few months ago, and recently got another one where I installed arch. On both laptops I mostly just watched series, and often times I'd just leave the laptop with the media player still open.

Now to the issue: Randomly throughout the day, it would just start playing whatever I left open, usually after a few hours of being left alone. Now that I think about it, I think it was only crunchyroll. Does anyone experience anything similar, or might even have an idea as to how to fix this or what causes this? Is it just crunchyroll being buggy?

1687
325
Linux 6.9 released (lore.kernel.org)
submitted 5 months ago by JRepin@lemmy.ml to c/linux@lemmy.ml
1688
1689
 
 

cross-posted from: https://beehaw.org/post/13758256

You can change the color theme of your whole desktop with a single line of code.

Currently supported adapters:

  • Adwaita (GTK3, GTK4)
  • Alacritty
  • dunst
  • Firefox (hijacking the default theme with userchrome.css)
  • GTK2
  • Rofi
  • swaylock
  • Wezterm

repo: https://gitlab.com/vfosnar/nix-colors-adapters / https://github.com/vfosnar/nix-colors-adapters

1690
1691
1692
 
 

Hi all. Yesterday I posted a program/script which is focused on path based text formatting, such as output from ls or find. Today I want to share new version. I'm proud, even though its limited in its usefulness, but today I solved an issue that was complicated to me (and a few other issues).

Linux command file is used to display file type and mime information, which is super handy. Reason why this was complicated to me is, as I want it to run only once for all paths together for performance reasons. For over thousand files instead taking more than a minute execution time, its down to under 2 seconds when displaying file type information (which includes spawning file process in the background). A few examples:

$ find Desktop/*.* -maxdepth 0 | fpath -F'{type}   \t{name}'
text/plain      append.cfg
text/plain      dynamic.cfg
image/png       nearest.png
image/png       new.png

$ find Desktop/*.* -maxdepth 0 | fpath -a -F'{path}\n\t{file}'
/home/tuncay/Desktop/append.cfg
        ASCII text
/home/tuncay/Desktop/dynamic.cfg
        ASCII text
/home/tuncay/Desktop/nearest.png
        PNG image data, 1920 x 1440, 8-bit/color RGB, non-interlaced
/home/tuncay/Desktop/new.png
        PNG image data, 1920 x 1440, 8-bit/color RGB, non-interlaced

Update v0.3:

Rather than creating a new post, I want to note that I have a huge update. First off, the performance is increased drastically with recent optimizations. Even thousands of paths are now processed very fast (until operations reading from file system is involved).

Just to put into perspective: When I search and output list of paths with time baloosearch6 "a" in my home, I get 8468 files and it takes 0m0,048s. Now when I pipe that into fpath with default processing and without options, it takes 0m0,086s to process. But with a more complex command that involves reading file stats (like size and such) and colored output and a slice:

time baloosearch6 "a" | fpath -F'{.mode}  {.size} \t{-3:-1}: {blue}{name} {}' -sred

it only takes 0m0,200s to execute! But using {file} or {type} or {mime} will still take a long time, even if the subshell process is run only once (it will still read the information for every file):

time baloosearch6 "a" | fpath -F'{file}'

took 3m54,233s to run. But what do you expect with approx. 8 thousand files. Without this script, it would take the same amount of time when running bare metal file command on all of these files.

Secondly, I have implemented a slice command that works very well. It's like the index {3} thing, but now you can set a {start:end} range to not only get a single part, but all parts within that range. It even works with negative numbers like {-3:} to get the last three parts of a path. An empty index means to get everything until end of path.

I'm quite happy how this program turned to be out. Python (at least for me with Python v3.12) is not that slow after all.

1693
-17
submitted 5 months ago* (last edited 5 months ago) by boredsquirrel to c/linux@lemmy.ml
 
 

Here is the podcast URL

Lol guys I find this interesting, they made videos that long ago, so much progress. Brodies Podcast was pretty useless short before that, now nearly every episode is really interesting.

AND both Wayland promoters just didnt use it back then.

1694
1695
 
 

@linux Sharing a 'small' inconvenience I had to fix with #opensuse #slowroll (I suspect #tumbleweed is the same) - I couldn't launch snaps (spotify, bitwarden) after update - error was: cannot determine seccomp compiler version in generateSystemKey fork/exec /usr/lib/snapd/snap-seccomp: no such file or directory

The fix (I first tried re-installing, didn't work) was to:
a. locate snap-seccomp - was in /usr/libexec/snapd
b. symlink: ln -s /usr/libexec/snapd /usr/lib/snapd

#linux #snap

1696
1697
 
 

I want to try to set up a Raspberry Pi I have as a smart TV box and I was hoping I could find some advice.

My main requirements are:

  • can run Moonlight
  • can be controlled from a Bluetooth game controller (that should also work in Moonlight)

What would be nice:

  • can run VLC or Plex or something
  • can support AirPlay
  • can be used for some actual streaming services like Netflix

Any suggestions?

1698
 
 

I thought it might be relevant

1699
 
 

Hello,

So I just bought a 7900 XTX and put it in my Libreboot 9020 MT motherboard (I have a custom build that I made for myself), it says during bootup of Debian:

"amdgpu 0000:03:00.0: firmware: failed to load amdgpu/gc_11_00_0_mes_2.bin (-2)"

I took out the GPU, booted into the OS without errors, and checked if the firmware-amd-graphics package was installed, which it was. I'm new to AMD, wondering if anyone else has had the same issue before.

1700
 
 

macOS Spaces (virtual desktop) allows the user to have multiple desktops PER MONITOR. When a user switches a space, it’s not the entire set of monitors, just the one they are in.

Is there a way to do this in Plasma 6, or… even GNOME?

view more: ‹ prev next ›