linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

giloronfoo, in What's an elegant way of automatically backing up the contents of a large drive to multiple smaller drives that add up to the capacity of the large drive?

I would do it by manually splitting it up into sets and writing scripts to back up each of those sets. Then you only have to figure out the split once.

I wonder if rsync has an option to do what you are asking for?

It also sounds like the kind of thing the old tape backup software would do. Maybe look into something that can pretend the drives are tapes.

helenslunch, (edited ) in Flatpack, appimage, snaps..
@helenslunch@feddit.nl avatar

AppImages suck because I can’t pin them to my dashboard, can’t set them to open at startup and can’t set them as default apps for the appropriate filetypes.

bjwest,

I think AppImages suck as well, but this is not a reason for my dislike. A simple script that you can run on startup will fix that problem.

helenslunch, (edited )
@helenslunch@feddit.nl avatar

Okay well. I don’t have a script. I just use a computer.

If I need a script to make it work properly, it sucks.

bjwest,

You realize your computer won’t work without scripts, don’t you? And if you want your computer to do something it doesn’t do on its own, a simple script will make it do what you want. If that is your definition of sucking, then you need to go back to Windows, which is also loaded with scripts, by the way, so that sucks too.

helenslunch,
@helenslunch@feddit.nl avatar

You realize your computer won’t work without scripts, don’t you?

No, I don’t. In fact every Windows, Android or Mac computer I’ve used in my entire life works perfectly fine without manually running any scripts at all.

Squid, (edited )

Use appimagelauncher Application that will add appimages to application menu

Fleppensteijn,
@Fleppensteijn@feddit.nl avatar

I like appimages because I can install them where I want and you can just make a symlink in the bin folder.

helenslunch,
@helenslunch@feddit.nl avatar

You can’t install them at all

isVeryLoud,

Use Gear Lever.

helenslunch,
@helenslunch@feddit.nl avatar

No.

isVeryLoud,

Care to elaborate?

helenslunch,
@helenslunch@feddit.nl avatar

I don’t know what it is and don’t care. I’m tired of jumping through hoops just to install the software I need.

isVeryLoud,

Good talk

bartolomeo, in Ending support for Windows 10 could send 240 million computers to the landfill. Why not install Linux on them?
@bartolomeo@suppo.fi avatar

If these were all stacked laptops, stacked on top of each other, they would form a stack 600 km above the Moon.

Ummm… what??

Assuming 3 cm thick laptop x 240 mil = 7,200 km. Moon is on average 380,000 km away. Even 30 cm thick laptops (lol) would only get you to 72,000 km.

kishu27,

They’re stacking on the longest dimension after opening up the laptop.

bartolomeo,
@bartolomeo@suppo.fi avatar

XD that would still only get you half way to the moon!

BreakDecks,

They said “600 km above the Moon”, so assuming that the laptops are 2.5mm thick, and stacked on the surface of the moon…

NikkiDimes, (edited )

Yeah, well, a piece of paper folded in half 50 times would reach two thirds of the way to the Sun, so take that!!

flux, in What's an elegant way of automatically backing up the contents of a large drive to multiple smaller drives that add up to the capacity of the large drive?

I just noticed lemmy.ml/u/giloronfoo@beehaw.org had proposed the same, but here’s the same but with more words ;).

I would propose you try to split the data you have manually into logically separate parts, so that you could logically fit 0.8 TB on one drive, 0.4 TB on another, and maybe sets of 0.2TB+0.2TB on a third one. Then you’d have a script that uses traditional backup approaches with modern backup apps to back up the particular data set for the disk you have attached to the system. This approach will allow you to access painlessly modern “infinite increments” backups where you persist older versions of data without doing full and incremental backups separately. You should then write a script to ensure no important data is forgotten to be backed up and that there are no overlapping backups (except for data you want to back up twice?).

For example, you could have a physical drive with sticker “photos and music” on it to back up your ~/Photos and ~/Music.

At some point some of those splits might become too large to fit into its allocated storage, which would be additional manual maintenance. Apply foresight to avoid these situations :).

If that kind of separation is not possible, then I guess tar+multi volume splitting is one option, as suggested elsewhere.

HiddenLayer5, (edited )
@HiddenLayer5@lemmy.ml avatar

That is actually what I’m currently doing, in fact my file server is already organized in this way, but i personally don’t like it for offline backups because it still forces me to play digital tetris and work out what directories will fit on what drive, and there is also the issue that some of my directories, particularly the one containing all the lossless files from my (hobby) photography work, is getting close to growing larger than 1 TB at this point (I do a ton of urban and industrial photography and I honestly might have most of the interesting parts of my city documented at this point, plus different versions the same scene with different settings which is how I ended up with so much data). Though I suppose I can just split it into separate years instead of just one huge directory. I’m personally hoping for something that can automate this process so I don’t have to consciously keep track of it as much (I don’t trust my brain sometimes), currently experimenting with some of the suggested solutions, maybe I’ll find one that works better, if not then I’ll stick to the method you mentioned. Thank you for the suggestion though!

possiblylinux127, in Flatpack, appimage, snaps..

Flatpak works like a package manager but has program isolation as well.

sevan, in Ending support for Windows 10 could send 240 million computers to the landfill. Why not install Linux on them?

My desktop and laptop are both eligible to upgrade, but I keep declining and will likely switch to linux when win10 support ends.

TrickDacy,
@TrickDacy@lemmy.world avatar

Why wait? It’s a process, so I would start asap

sevan,

I’ve thought about it, but right now everything works exactly the way I need it and the only complaint I have is the occasional pop-ups from MS trying to get me to upgrade to win11 or switch my browser. My main uses for my devices are games and I just started back to school, so MS Office is nice to have. So, it’s hard to justify putting in the effort to change things now, especially when I know how to use MS products very well, particularly modding games.

TrickDacy,
@TrickDacy@lemmy.world avatar

Yeah. I feel ya. I still have windows on dual boot for certain things and it’s been a struggle at times but I gotta say I dread the times I need to boot windows! So much slower and annoying

Dirk, in Wayland-Proxy Load Balancer Helping Firefox Cope With Wayland Issues
@Dirk@lemmy.ml avatar

When you need a proxy between your application and your graphics server then something fundamental went wrong long before.

kurisu, in "Combokeys" instead of hotkeys. [Feature/new command suggestion]
@kurisu@awful.systems avatar

Man I already can’t get my inputs right in games, If I ever whiff a fucking combo to start my browser I’m ending it all.

Rayspekt,

You need to get out of the parking garage from Driver to boot your PC from now on.

kurisu, (edited ) in Need Some Total Noob Advice for Installing and Running Linux
@kurisu@awful.systems avatar
  • 1

If you’re looking for something that won’t break, Debian and openSUSE Tumbleweed are two good options. Both offer the Plasma desktop, though openSUSE may have an easier installation interface for some. Note that some video codecs aren’t (officially) available, so if playing “differently acquired” media is a concern, perhaps Debian would be easier.

If you wanna try arch, consider EndeavourOS. It simplifies the installation process significantly, though it doesn’t do much to help maintain the system. That’s on you. Avoid Manjaro like a plague.

  • 2

The Arch Wiki is universally considered the best source. 99% of what you’ll see on there will work on any linux distro, so don’t worry about the name. Aside from that, your favourite search engine is your best bet.

  • 3

No clue what FALGCS means, but wallhaven.cc a great place for wallpapers.

Edit: seems the Manjarno site is down. Shame, genuinely useful site for times like this.

djtech, in "Combokeys" instead of hotkeys. [Feature/new command suggestion]

So… emacs?

Rustmilian, (edited ) in "Combokeys" instead of hotkeys. [Feature/new command suggestion]
@Rustmilian@lemmy.world avatar

↑↑↓↓←→←→ + a + b + Enter = sudo rm -rf /* --no-preserve-root

lemmyvore,

And you can do it with a controller too!

NinePeedles, in Super weird error, what's happening?

That monitor just keeps going

wolf, in Looking for input regarding finding an IDE (spoilers: involves Emacs and Vim)

Disclaimer: Never really used Emacs, but mediocre VI(M) user for nearly 25 years.

I am fully capable of using VIM for developing bigger programs, but I gave up on the wish of setting up VIM as an IDE. Still, IMHO VIM is worth knowing for quick edits, writing and remote work.

Seriously, if you want an IDE for Python and C#, VS Code with the Microsoft plugins is and will be miles ahead of the VIM experience. The Rust plugin for VS Code is IMHO subpar, the last time I tried it. I don’t know what is the favorite IDE of Rust developers.

I wouldn’t want to stop you trying out editors and having a nice journey, but in the last years, VS Code ‘won’ and is used by nearly every developer for a reason: It has not a perfect setup and a lot of annoying issues, but out of the box the experience is good enough™ and is has the biggest user base by far, so show stoppers will be fixed quite fast.

So, my advice would be: Learn vi, because it is a handy tool for quick edits with good defaults (looking at EMACS) and chose a popular editor or IDE for your development needs. The time trying to force VIM/EMACS into a descent IDE will never come back and the theory sounds better than it will be in reality.

throwawayish, (edited )

Seriously, if you want an IDE for Python and C#, VS Code with the Microsoft plugins is and will be miles ahead of the VIM experience.

Someone else already pointed how VS Code has become the most popular IDE (at least according to statistics found on stackoverflow). While categorically I’d like to dismiss VS Code for not adhering to F(L)OSS, VSCodium -however- actually does fit the bill. And while formerly I’ve had bad experiences on it related to how the plugin ecosystem is configured by default compared to VS Code, I’ve since learned how it works on VSCodium. So I shall set it up in case Emacs and/or (Neo)Vim somehow seem to be less fit for the job and/or I can’t be bothered at that moment to configure Emacs/(Neo)Vim to do my bidding.

Learn vi

Will do.

The time trying to force VIM/EMACS into a descent IDE will never come back and the theory sounds better than it will be in reality.

I understand the concerns. And I agree that I should be realistic in how I approach this. Nonetheless, I’m faithful for it to be a very productive endeavor. Thank you for chiming in!

wolf,

My pleasure. :-)

My impression about VS Code being popular is also from workplaces at several companies, VS Code was literally on every machine and VS Code project config files are nowadays checked in with project into version control. (In the past I would not have been happy about config files in version control, but I just accepted it by now.)

One more question: How to setup VIM/NEOVIM or EMACS as a descent C# IDE? AFAIK the language servers support navigation and auto completion, what about refactoring, code generation, support for build systems, hot reloading for code while debugging etc.?

throwawayish,

My impression about VS Code being popular is also from workplaces at several companies, VS Code was literally on every machine and VS Code project config files are nowadays checked in with project into version control. (In the past I would not have been happy about config files in version control, but I just accepted it by now.)

That’s actually kinda concerning 😅. I hope I can remain free to use whichever IDE suits me best. But thanks for pointing that out as it’s a very realistic scenario.

How to setup VIM/NEOVIM or EMACS as a descent C# IDE?

Hehe, the crux. Honestly, I’m not very optimistic that it can do everything one might be used to do on something like Jetbrains’ Rider. Nonetheless, I’ll try to get it as close as I can and see from there if I’m willing to deal with it. I’m not entirely opposed to rely on other IDEs from time to time for specific functionality I’d be missing otherwise.

wwwgem,
@wwwgem@lemmy.ml avatar

Do you have any experience with neovim? I’m certainly not a Python programmer but I’m doing simple things for fun and so far neovim served me very well. If I eventually go deeper in Python I would be interested to know the limitations of neovim beforehand.

wolf,

No, never touched neovim.

The things you get ‘for free’ with VS Code:

  • Integrated debugger
  • Integrated unit test runner
  • black
  • isort
  • linting

For Python, AFAIK Microsoft have their own implementation of a language server, so I don’t know how it compares to the Open Source options. My VIM config for Python runs black/isort on save and that’s good enough for me.

IMHO the distance is far greater when you use a language like Java/C#, which has really descent support from IDEs.

If neovim serves your needs, enjoy using it and don’t listen to random people in the internet. ;-)

wwwgem,
@wwwgem@lemmy.ml avatar

Thanks for the information. I’m always happy to hear from others because that’s how I make progress. Also with my workflow in constant evolution it’s good to know neovim’s limitations so I can be prepared. Being curious by nature I will try other apps with no doubts anyway. I’ve tried vi, neovim, emacs, but only heard of VS so who knows…

AernaLingus, in Intel Core Ultra performance in Linux is 15% higher than in Windows

Original Phoronix article which has all the individual benchmarks—weird that they didn’t link to it

ConstantPain, in Ending support for Windows 10 could send 240 million computers to the landfill. Why not install Linux on them?

That’s what I’m gonna do with my Windows 10 gaming machine. It’s been working just fine since I bought it in 2016.

LifeInMultipleChoice,

If the computer was purchased in 2016 the license key is likely tied to the motherboard from the factory, so unless you swap the board, the original key may pull on its own.

Valkyronix,

give endeavouros a try. ive been using it for games on my amd system and it runs like a dream

ConstantPain,

I’m Intel/Nvidia. I’ll give it a try anyway. See what fits my hardware best.

Rednax,

Or just circumvent the “requiments” that are so required that a few registry hacks disable them, allowing you upgrade to win11 via windows update.

Or if you want a fresh install, use rufus to create the install usb stick, and select the option to disable the tpm requirement.

ConstantPain,

I don’t have the windows key anymore. To do that I’ll have to reinstall the system instead of upgrading it.

Rednax,

“You can simply remove the appraiserres.dll file in the Windows 11 ISO file to make the Setup avoid these checks and install Windows 11 on any unsupported hardware too.” From the following article: nerdschalk.com/how-to-use-rufus-to-disable-tpm-an…

That sounds hard, but Rufus made this easy. Just select the right option. So just use Rufus to create the install usb: rufus.ie/en/#

This also allows local accounts, and disables all the tracking bullshit with a single click each.

Cannacheques,

Would be cool if Microsoft launched a new fangled cloud operating system, they’ve already got Bing AI, Onedrive, GitHub on the side and other infrastructure in place already.

Offering a Microsoft centered cloud computing operating system would allow them to dump or discard their other investments like GitHub, while holding both the money and infrastructure to competing against their old pals working with Linux and other GNU stuff.

The ultimate betrayal I tell ya hahaha 🤣

Nah just jokes, I would suck at writing or doing white collar crime but I would sure hype it up in an action novel alright

pivot_root,

BingOS was it’s name-o.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #