Linux

49671 readers
1240 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
2351
2352
 
 

Running a distro in a disk image has always been my favourite install method since wubi came out because a backup was only a question of copying a disk image and a couple of grub config files.

Then brunch applied the same method for ChromeOS but not only for windows, you could do it on Linux too.

Now with Linuxloops all setup has been automated and extended to many other distributions, not only ChromeOS.

2353
 
 

Title is TLDR. More info about what I'm trying to do below.

My daily driver computer is Laptop with an SSD. No possibility to expand.

So for storage of lots n lots of files, I have an old, low resource Desktop with a bunch of HDDs plugged in (mostly via USB).

I can access Desktop files via SSH/SFTP on the LAN. But it can be quite slow.

And sometimes (not too often; this isn't a main requirement) I take Laptop to use elsewhere. I do not plan to make Desktop available outside the network so I need to have a copy of required files on Laptop.

Therefor, sometimes I like to move the remote files from Desktop to Laptop to work on them. To make a sort of local cache. This could be individual files or directory trees.

But then I have a mess of duplication. Sometimes I forget to put the files back.

Seems like Laptop could be a lot more clever than I am and help with this. Like could it always fetch a remote file which is being edited and save it locally?

Is there any way to have Laptop fetch files, information about file trees, etc, located on Desktop when needed and smartly put them back after editing?

Or even keep some stuff around. Like lists of files, attributes, thumbnails etc. Even browsing the directory tree on Desktop can be slow sometimes.

I am not sure what this would be called.

Ideas and tools I am already comfortable with:

  • rsync is the most obvious foundation to work from but I am not sure exactly what would be the best configuration and how to manage it.

  • luckybackup is my favorite rsync GUI front end; it lets you save profiles, jobs etc which is sweet

  • freeFileSync is another GUI front end I've used but I am preferring lucky/rsync these days

  • I don't think git is a viable solution here because there are already git directories included, there are many non-text files, and some of the directory trees are so large that they would cause git to choke looking at all the files.

  • syncthing might work. I've been having issues with it lately but I may have gotten these ironed out.

Something a little more transparent than the above would be cool but I am not sure if that exists?

Any help appreciated even just idea on what to web search for because I am stumped even on that.

2354
 
 

I was trying to add an Epson L655 to CUPS, but when i try to print something, the job fails saying the the printer no longer exists or the the printer's config is invalid, even if i add the correct IP

2355
 
 

Has anyone tried the #Enlightenment DE for #Linux in the recent years?

How was the experience?

@linux

2356
 
 

You know what I just realised? These "universal formats" were created to make it easier for developers to package software for Linux, and there just so happens to be this thing called the Open Build Service by OpenSUSE, which allows you to package for Debian and Ubuntu (deb), Fedora and RHEL (rpm) and SUSE and OpenSUSE (also rpm). And then the dudes that do AUR packages can take a deb package and write a PKGBUILD that installs it on Arch and Artix. I think I just solved the universal packaging problem.

And maybe we can get OBS to add PKGBUILD support....

Also, feel free to let me know what you think about it as I'm genuinely curious: did I miss anything obvious? Thanks

2357
2358
44
submitted 8 months ago* (last edited 8 months ago) by mranachi@aussie.zone to c/linux@lemmy.ml
 
 

I've been seeing a lot of bazzite recommendations recently, and it sure sounds great. An atomic fedora, gaming optimisations out of the box. It just works.

We'll that's not been my experience for V-rising, and I wanted to share it incase others anyone else encounters the issues I did.

First and foremost I am sure there major issue is the game, more than any given distro. I've been happily running arch on my home PC for 7 years. Its been great, no issues, I've loved it. As my free time decreased, that computer had become just for gaming. The maintenance debt was building up, I knew the dream run with arch must end. That end was V rising, crashed frequently, all kinds of stage behaviour. I assumed a vulkan issue, but couldn't easily find a fix, and didn't want to waste any more time on it.

I went with Bazzite, but to no avail. The crashing problem got worse. Only now i had to deal with the sluggish flatpack versions of things. Its not that bad, but us a was a very noticeable change.

If it had just been me, I think this is whereui would have given up. But I was playing with my wife and mate online, both of whom also use Linux and weren't having the crashing issue. On my wifes computer i had recently installed bazzite. It did have issues, mostly flickering which i chalked up to a too early switch to Wayland on a gtx1080. My mate was on mint, with a 3060 and v rising was working perfectly.

I switched to mint (I am running and a 5700xt), and my problems were fixed just like that.

Next was to solve the wife's woes, so I switched her to mint too. Which resulted in v rising not being able to load, freezing up the computer every attempted requiring a X restart. Didn't matter which version of the nvidia drivers i used. The flickering was gone though, so that was something. Pop-os was the solution, took a bit of understanding popshops preferred order of events to get nvidia drivers installed, but now all is fine.

So the lesson I think i might have learned, old hardware and new (vulkan) games require unidentified settings to work and easiest solution is just distro hop till success. Big shout out to steams transfer over network functionality (i also needed to install bg3 each new distro, it ran fine on every combination but bazzite was noticably more flaky).

It doesn't matter, but does any one have and ideas as to why v rising caused such headaches? 7 years a Linux gaming, and nothing has required more than a few hours of tinkering at most to get to work until this.

Tldr. Needed a safe space to debreif, everything worked out in the end.

2359
155
submitted 8 months ago* (last edited 8 months ago) by boredsquirrel@slrpnk.net to c/linux@lemmy.ml
 
 

TL;DW

# find with grep
# + concatinates results and runs the command once, faster
find . -name "*.txt" -exec grep -l "somename" '{}' '+'

# run a command for each result individually
find . -name "*.txt" -exec basename '{}' \';' |  column

# case insensitive
find -iname "SoMeNaMe.TxT

# file or dir
find -type f
find -type d

# define file owner
find -user Bob

# define file group
find -group wheel

# by permission
find -perm 777

# find by size
find -size +1G
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
 
 

cross-posted from: https://lemmy.ca/post/21305656

[Feature Request] Vote for a Proton VPN App for Ubuntu Touch on ProtonMail’s UserVoice Forum

https://protonmail.uservoice.com/forums/932836-proton-vpn/suggestions/47523629-ubuntu-touch-app

2372
2373
 
 

cross-posted from: https://lemm.ee/post/32128978

Switching from Endeavour OS to Nobara

Hi all, I've been having issues with my favorite games on EndeavourOS Linux. Also, on top of that, an update the other day deleted my whole plasma desktop and left me with a skeleton of SDDM. I got it fixed, but some things are still wonky. I'm honestly getting tired of maintaining it and I just want something that just works for my video games and some coding. Nobara sounded awesome after some research. I do have a couple of questions for you all before switching:

  1. Is Nobara atomic? Immutable? Or whatever those distros are called.

  2. I have my /root, /home separate each in their own drive, plus a 3rd one for my steam and other games. Since I'm coming from Arch and I'll only be formatting my root drive, what folders/files will I need to remove from my /home directory after switching to Nobara so I don't have issues?

  3. Since I separate drives for everything, I'll be doing a manual partitioning when I install Nobara, and will be choosing btrfs for my /root so I can do snapshots with timeshift. My question is, does Nobara set up the subvolumes automatically for me when I do manual partitioning, or do I need to set them up myself?

  4. How hard is it to set up snapshots in grub?

  5. Or does Nobara have a back up tool already that already does snapshots?

Thank you.

2374
34
submitted 8 months ago* (last edited 8 months ago) by WereCat@lemmy.world to c/linux@lemmy.ml
 
 

SOLUTION:

I was missing this package sudo dnf install rocm-hip-devel as per instructions here: https://fedoraproject.org/wiki/SIGs/HC


Hi, I'm trying to get GPU acceleration on AMD to work in Blender 4.1 but I can't seem to be able to. From what I've seen it should be working with ROCm just fine but I had no luck with it.

I'm using Fedora 40 GNOME with Wayland and my GPU is RX 6800 XT.

System is up to date. I've also installed all these packages:

sudo dnf install rocminfo

sudo dnf install rocm-opencl

sudo dnf install rocm-clinfo

sudo dnf install rocm-hip

and restarted system after.

rocminfo gives me this

rocm-clinfo gives me this

___``___

2375
 
 

hi so i recently switched my GPU to an AMD card from an Nvidia one. Im wondering if there is an easy way to remove all the nvidia packages on arch.

thanks in advance ^^

view more: ‹ prev next ›