linux

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

Nibodhika, in Gentoo goes Binary (packages)

I stopped using Gentoo because compiling everything was a major waste of time, but I have missed world files since then. This is a great reason to reconsider Gentoo for my next machine.

Andy,
@Andy@programming.dev avatar

FWIW, Alpine Linux has a nice world file, too. And I am continually impressed by the selection of up to date packages in their Edge repos.

Nibodhika,

Can the file be split into different files like in Gentoo? I used to have different files for basic stuff, gaming, hardware specific, etc, so I could keep the parts of the Configs I wanted from one machine to another.

If so I’ll definitely check it out, been meaning to try Alpine since for what I understand it’s not GNU, right? Which should put a final nail in the GNU+Linux copy pasta hahahah.

Andy,
@Andy@programming.dev avatar

I don’t think apk would check multiple files for the world. But you could maintain them outside the apk mechanisms, just concatenating them into a single file, with tup/make/sh/whatever.

Nibodhika,

Makes sense, I actually have a tool for that sort of thing that I wrote for i3 configs (it’s called CFC and it’s here in case you want to use it gitlab.com/Nibodhika/cfc )

Drito, (edited )

Alpine Linux is the most sane distro I tried. The absence of glibc brought limitations unfortunately, but it is the fault of developers that uses that shit instead of pure libc.

vzq, in Linux Boomers

I’m going to start this article off by saying that you don’t have to be born in the boomer generation to be a boomer. You can be a boomer by acting like one. Hate new stuff? boomer. Run a desktop from the naughties? Boomer

Why even bother having words at all if we’re going to redefine them for clickbait?

JaneTheMotherfucker,

What clickbait? Linux boomers is two words and it is common to call people a boomer if they act like one. Linux boomer describes a specific type of boomer.

vzq,

I’m sure there is some worthwhile content in there, but I couldn’t discern it through your palpable contempt for the reader.

CrabAndBroom, in Writing program

There is still an older version of Scrivener available for free, from when they were beta testing it on Linux. It still worked well last time I checked. The Windows version also runs really well in WIne, although it takes a bit of setting up initially.

Spectacle8011,
@Spectacle8011@lemmy.comfysnug.space avatar

Compatibility is apparently really good on Linux according to CrossOver reports only a month or two ago: www.codeweavers.com/compatibility/…/scrivener

Landless2029,

I have paid scrivener and it’s a fantastic product for writing a story… or a DnD campaign even!

I haven’t shopped around but I switched from word to onenote to scriv and stopped looking. This is from my experience on windows not linix.

Not sure how good the beta is. forum.literatureandlatte.com/t/…/31623

Lydia_K, in Is anyone using awk?
@Lydia_K@startrek.website avatar

I use awk all the time, nothing too fancy, but when you need to pull out elements of text it’s usually way easier than using cut.

awk {’ print $3 ‘} will pull the third element based on your IFS variable (internal field separater, default is whitespace)

awk {’ print $NF ‘} gets you the last element, and awk {’ print $(NF-1) '} gets you one element from the last, and so on.

Basic usage but so fast and easy for so many everyday command line things.

FigMcLargeHuge,

You can also add to the output. I use it frequently to pull a list of files, etc, from another file, and then do something like generate another script from that output. This is a weak example, but one I can think of off my head. Not firing up my work laptop to search for better examples until after the holidays. LOL.

awk {‘print "ls -l "$1’}

And then send that to a file that I can then execute.

Landless2029, in Promoting Linux: An End-User Manifesto

I’ve decided to run Linux as my main os next PC build… I said that two years ago and still haven’t built my new rig.

I’m terrified of switching. There’s just way too much information out there. So many options.

I’m used to being in a box with just one or two ways of doing things.

Does anyone know a good series to help windows users adapt?

Just need web surfing and gaming including steam vr

HubertManne,
@HubertManne@kbin.social avatar

just go zorin os. it attempts to simulate the look and feel of windows while also having a lot of pre installed applications including playonlinux/wine sot that once its installed you can just go.

Landless2029,

I’ll definitely look into zorin thanks

NOOBMASTER,
trivial_wannabe,

Honestly, just go with Debian Stable (bookworm) with KDE or Linux Mint. It is pretty stable and a windows like experience.

I have not tried VR on it tho, so can’t speak to that.

c10l,

I second Debian. Stable is excellent.

Testing has newer packages and is generally almost as stable.

I published my Debian gaming setup a few days ago. Haven’t tried VR on it either as I don’t have a headset, but I assume it works.

lemmy.world/post/9543661

ultra,

+1 for mint. It was my first distro and it made me love Linux.

Zamundaaa, (edited )

Sorry, but Debian stable is a terrible recommendation! They don’t even ship bugfix releases of KDE Plasma… It’s stuck with a months old version that has lots of known and long fixed bugs in it

trivial_wannabe,

Fair point, but for someone who doesn’t like tinkering and is afraid to make the jump to Linux, I still stand by the suggestion.

Different people value different things and that’s okay.

jack,

Get into the “variety is good” mindset. Having options is always better than not having options, even if it feels overwhelming at first. It’ll get easier with time

lhamil64,

One of the great things about Linux is that you can almost always just run whatever distro from the USB drive before installing (and just reboot without the USB drive to get back into Windows) So you can download a few ISOs and try each one for a bit before committing to anything.

This is nice if there’s anything specific that you need to work, you can try it and make sure it’s usable for you before making any permanent changes.

For example, I’m legally blind and use a screen magnifier. I tried a few distros to compare the built-in magnifiers before settling on one.

I’d also recommend using Ventoy on your USB. That lets you just plop ISO files on the drive and choose which one at boot.

Landless2029,

Great advice.

I’m already using git to gather my linux build notes and install commands I’ll need.

Eventually I’ll be able to USB boot a disto and run my custom setup script for my apps.

HATEFISH,

I made the dive into Linux mint last night. If you already have windows installed you can side load so you don’t have to completely commit right out of the box. I play games that would require windows so this was necessary for me but so far outside of hating middle mouse click to paste and some troubleshooting for my headset (I could hear myself quietly through my headphones when speaking into mic) Linux has been preferable to win11

princessnorah,
@princessnorah@lemmy.blahaj.zone avatar

That is not what sideload means my friend.

HATEFISH,

You’re right, but the point I was trying to get across to another layman is you can have windows already installed and not break anything with another install of Linux. Rather than get into partitioning and dual booting.

princessnorah, (edited )
@princessnorah@lemmy.blahaj.zone avatar

Sideloading an app on a phone doesn’t have the potential to wipe everything else off the phone. It’s bad advice to call dual booting that because you might cause someone to go into it without understanding the risks involved. In fact, the best facsimile, which doesn’t even require knowing how to get into the boot menu, would be to run a Virtual Machine instead. That way there actually isn’t any risk of erasing Windows. It’s also really simple these days, here’s some guides from ubuntu and fedora:

ubuntu.com/…/how-to-run-ubuntu-desktop-on-a-virtu…

fedoramagazine.org/install-fedora-virtualbox-gues…

Or if you don’t want to go through the hassle of installing Linux inside the VM yourself, you can download pre-built VMs for most major distros from here:

www.osboxes.org/virtualbox-images/

Added benefit that you can try multiple different distros without even rebooting your computer.

HATEFISH,

Sure, I’ll do that. But you’ve lost 99% of average people when you mention “virtual machine”.

Also at least for mint which I was directly talking about you actually boot via live USB first and have to install from an icon on the desktop so there really is no risk for erasing windows until your well into making decisions. Which again you have to choose to erase windows.

princessnorah,
@princessnorah@lemmy.blahaj.zone avatar

Yeah, so don’t say Virtual Machine. Say “you can sideload linux on windows to test it”.

catastrophicblues,

Linux Mint with Cinnamon. Easiest transition. If you want customization, use KDE. If you want your desktop environment to make choices for you, GNOME.

Landless2029,

Thanks. I loaded exactly that already on an older laptop just to get used to it and test some workloads.

Just regular web surfing is snappy as all hell.

ITeeTechMonkey, in Bilocker'd partition on dual boot drive

If you don’t need/want Bitlocker simply boot into Windows go into the bitlocker settings and turn off bitlocker (dont use suspend as bitlocker will be re-enabled the next time you boot into Windows). You will need to wait for Bitlocker to decrypt before shutting down - there will be a small status window that appears showing the progress and it shouldn’t take too long.

speck,

Thank you! I think part of what I'm curious to hear input on is whether I should disable bitlocker for that shared data partition. Any thoughts? Is it a best practice to have it on?

ITeeTechMonkey, (edited )

If you keep Bitlocker enabled on that partition you will have to enter the recovery key everytime you boot into your Linux partition. Since you don’t have that key backed up you’ll need to turn it off and then re-enable it if you wish to continue to use Bitlocker.

If you manually enable bitlocker you will be prompted to back up the key with a few different options: to a file (but if I recall you’ll need to save the file to a drive that isn’t be encrypted by Bitlocker) or to a Microsoft account.

To answer your question regarding best practice, Full Disk Encryption is best practice. Now to achieve that in Windows you use Bitlocker, Linux there is Luks, and macOS has filevault.

If your machine isn’t going anywhere outside your home then it’s not as big of a deal if the drive isn’t encrypted.

Regarding your situation FDE is going to be a bit of a pain whether you use Bitlocker or Luks. I suggest using db2’s suggestion and run a VM creating a shared folder between host and guest. Then you can encrypt the entire drive using the best encryption tool for the host OS (which I suggest be Linux).

Edit: Replaced the ‘b’ with a space between “db2’s” and “suggestion”

speck,

I appreciate the additional info. Since I want to make Linux primary (one of my two main points in this little project is getting familiar with Linux!), I'll look into Luks for that partition

The db2 / vm suggestion is a little over my head, currently, but I'll research that as well!

BunnyKnuckles,
@BunnyKnuckles@startrek.website avatar

Also, bitlocker is not the only disk encryption software for Windows. It’s just the built in one. If you wanted, you could use something like Veracrypt which is open source and will play nicely with all your OSes.

bulwark, (edited ) in Bilocker'd partition on dual boot drive

I assume you want disk encryption on Windows which is why you haven’t turned off bitlocker and disabled it in BIOS. I’m not familiar with whole disk encryption on Windows but Linux has many options.

If you’re going to dual boot I would recommend a separate boot partition for GRUB/boot manager that points to the windows boot partition because Windows likes to mess up a shared boot partition.

**EDIT: This guy seems to have got both working: bbs.archlinux.org/viewtopic.php?id=273365

Pepsi,
@Pepsi@kbin.social avatar

congrats you didn’t even try to answer the questions he asked.

i’m curious…were you just answering the questions you wanted him to ask instead?

speck,

Honestly I've been away from Windows long enough that it just wasn't a consideration while I was creating the partitions and then the dual boot. I just discovered that it'd happened when I went to access the shared partition in pop and was asked for the password.

I do want to retain a shared data partition between the two OS, however. Obvs the partition for the Window OS itself could remain encrypted, since that doesn't affect pop os. And if it is best practice for system security.

I'll read up that link to see what he has to recommend!

LainOfTheWired, in Writing program
@LainOfTheWired@lemy.lol avatar

If you don’t need all the features of a full office suit then check out markdown and and editor like ghostwriter

rodbiren,

I second the motion on ghostwriter. Had a nice focus mode, looks good, isn’t distracting. I use syncthing to backup everything. It’s my jam.

snekerpimp, in I'm looking for a command that is similar to cpupower, but for gpu (or even both -- gpupower?systempower?)

radeontop?

GustavoM,
@GustavoM@lemmy.world avatar

Cpupower can both show cpu info -and- tweak it, so nope. Not really.

Thanks for your input tho.

Cwilliams, in Gentoo goes Binary (packages)

This might get me to switch to Gentoo. I just broke my Arch again, so this is the perfect time…

Flaky,
@Flaky@iusearchlinux.fyi avatar

If you like having more finetuned control, Gentoo is pretty neat.

chaorace, (edited ) in Laptop keyboard unresponsive - I think my (unknown) laptop is affected by the kernel Zen IRQ regressions - how do I work around this?
@chaorace@lemmy.sdf.org avatar

Your best bet is probably figuring out why the graphical session isn’t working and then going from there. Since you’re on NixOS odds are all the logs you need are right there in journald.

Worst case scenario: you might need to pin your system nixpkgs to ~January 2021 until the issue sorts itself out. You can still install newer userland packages if you separately manage them as a flake (this is a common and well-supported pattern in home-manager)

EDIT: found a discussion with good configuration.nix examples for pinning the system nixpkgs. Once you find a workable pin you could also try inching it up to get a better idea of what broke (January 2021 is a good starting point because it’s the last month before 5.11 released, a newer pin is very likely possible)

Splatsune,
@Splatsune@beehaw.org avatar

I believe that the issue might be that the amdgpu driver is too new, judging by this string of errors:


<span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) AMDGPU(0): [drm] Failed to open DRM device for pci:0000:05:00.0: Invalid argument
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (II) AMDGPU(1): [KMS] Kernel modesetting enabled.
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) AMDGPU(1): [drm] Failed to open DRM device for pci:0000:05:00.0: Invalid argument
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) Screen 0 deleted because of no matching config section.
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (II) UnloadModule: "amdgpu"
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) Screen 0 deleted because of no matching config section.
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (II) UnloadModule: "amdgpu"
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) Device(s) detected, but none match those in the config file.
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE)
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: Fatal server error:
</span><span style="color:#323232;">Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) no screens found(EE)
</span>

So if this doesn’t end up working, I’ll definitely look into the pinning thing, because 5.10 seems like my best shot.

chaorace,
@chaorace@lemmy.sdf.org avatar

Hmm… what’s the purpose of loading amdgpu at all if you’re using an NVIDIA card? Optimus?

kzhe, in Writing program

Norka, Apostrophe, Obsidian

qyron,

Can I get some links, please?

kzhe,

Sorry, I was on mobile.

The spiteful thing to do would be linking Norka and the such but I’ll link them: Norka, Apostrophe and Obsidian.

qyron,

Thank you very much.

dinckelman, in Does Wayland really break everything? (Nate Graham's OG post ref'd in the Phoronix article)

I’ve been using Wayland sessions as default since plasma 5.22 came around, and with other window managers before that too. Everything that has ever been broken for me, was broken because of X11 or XWayland. I’d rather take a considerably better experience with an occasional issue, that an experience that is held together by candy wrappers and hot glue, and is widely considered obsolete

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

Pics or it didn’t happen.

semperverus, (edited )
@semperverus@lemmy.world avatar

Im in the same boat. Been using wayland since around that version or a little later and it has only been uphill (except for right now since i am on the development build and Qt broke itself causing the system config menu to fail to load 80% of KCMs, but this is my fault for switching to alpha software lol)

noctisatrae, in I've started building a TUI for Lemmy

I’m too working on a TUI to browse the-eye.eu, I’m still struggling with asynchronous render & Rust.

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

Async programming is really quite hard to wrap your head around. Currently I’m mostly struggling with excessive memory consumption.

noctisatrae, (edited )

Send help I’m struggling with lifetimes, unbounded channel & implementing EventHandler… <3

ben, in Gentoo goes Binary (packages)
@ben@lef.li avatar

So… Bentoo? Bintoo?

GnomeComedy,

For the uninitiated, does “gen” imply source/compilation somehow?

Aatube,
@Aatube@kbin.social avatar

no, it's a penguin

pastermil,

Bento 🍱

ben,
@ben@lef.li avatar

😋

wewbull,

Gen-toobin

The distro for white water rafters.

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