linux

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

taanegl, (edited ) in Arch or NixOS?

Let me put it like this: it’s about learning curve. Arch is relatively easy to begin with, but NixOS gets much easier the more nix you learn.

What do I mean about that? Imagine having to patch something, which can be the thing. On arch you’d have to replace a package, which could lead to issues and conflicts, whereas NixOS gives you the option to keep two or even more versions of the same library, because it does not rely on your traditional UNIX path.

But with this super power comes a catch. You have to learn a programming language and learn how the nix store operates, which is a pretty high learning curve. Also, NixOS suffers from a governance issue and going by the documentation is like shooting in the dark.

That being said, the best manual for NixOS is GitHub, searching for anything and filtering by the nix language. You’ll see a ton of varying systems, be they workstations or servers.

And no matter what all the warnings say, no, flakes aren’t EXPERIMENTAL or UNSTABLE, but rather CONTENTIOUS internally. Again: I love NixOS, but they gotta fix their governance issues.

rorschah, in #123 Infrastructure Work · This Week in GNOME
@rorschah@lemdro.id avatar

there are many interesting one’s for me this issue, mainly :

  • Drag and drop of folders will now work with sandboxed applications (Drop a folder from Nautilus onto Amberol)
  • In the works is accessing USB devices with per-device, per-app permissions.
  • Adding CSS variables support to GTK.
  • Grouping notifications by app in GNOME Shell.
  • CalDAV/CardDAV support in Gnome Online accounts.

Hope we get many of these in coming few months.

morrowind,
@morrowind@lemmy.ml avatar

How on earth have they not had css variables. Seems like a recipe for inconsistency, but gnome tends to be fairly consistent

flamingos,

GTK currently has a CSS extension that lets you define named colours with @define-color.

Chewy7324,

Cal-/CardDAV support in Gnome is awesome. There was no way for me to use the integrated Gnome Calendar.

poinck,

You can use Evolution to set it up and then use gnome-calender to use it (I set it up this way for my radical server). I think, what they will do is, integrating the cal/carddav-setup in to GOA so that you don’t have to interact with Evolution anymore.

The “backend” is currently managed by evolution-data-server. Maybe they will replace it some day, too.

Chewy7324,

Thanks. Interesting, I didn’t know this was possible.

Kuunha, in Request for help, I broke some graphics

I don’t use Fedora/Nobara, but seems like you can see the update history with: dnf history list

I’ve found this guide for rollback here: www.baeldung.com/…/dnf-history-rollback-vs-undo

Makka,

That is helpful, I’m not sure what I’m looking for yet though. But another comment lead me into antialiasing and this line in the history seems plausible.
install -y /tmp/zenity/nobara-amdgpu-config/fedora-amdgpu-pro/packages/amdamf-pro-runtime-5.4.3-4.fc37.x86_64.rpm /tmp/zenity/nobara-amdgpu-config/fedora-amdgpu-pro/packages/amd-gpu | 2023-04-25 20:11 | I, O | 11

Undo didn’t work though:

sudo dnf history undo 11
Error: The following problems occurred while running a transaction:
Cannot find rpm nevra “amd-gpu-firmware-20230404-149.fc37.noarch”.

So I made a rollback to my last know stable point: sudo dnf history rollback 2
It didn’t exactly workout either unfortunately:

Transaction history is incomplete, before 73.
ransaction history is incomplete, before 72.
Transaction history is incomplete, after 71.
Transaction history is incomplete, before 61.
Transaction history is incomplete, after 60.
Transaction history is incomplete, before 8.
Transaction history is incomplete, before 7.
Transaction history is incomplete, after 6.
Error: The following problems occurred while running a transaction:
Cannot find rpm nevra “ImageMagick-c+±1:6.9.12.82-1.fc37.x86_64”.
… many lines more about pkgs not found

I’ll do a reboot and see what actually took effect. Atleast I’m learning something, maybe I should do all my upgrades via dnf instead of the manager in the future, easier to know whats going on.

netchami, in Wanting to improve my Linux skills after 17 months of daily driving Linux

I thought a more advanced distro, that is still stable, would be good overall. However, not getting new software for a long time sounds quite annoying.

Arch is actually not as bad as many say. It’s pretty stable nowadays, I even run Arch on some servers and I never had any issues. It gives you the benefits that you can basically find any package in the AUR and everything is up-to-date. Try it out, if you don’t like it, you can still switch to something else.

I’m wanting to challenge myself to get much better with Linux, partitioning, CLI, CLI tools

The best way to learn the CLI is to use it. Try not to use your graphical file manager for a while and only interact with the file system through the terminal, that teaches you a lot.

I’ve been considering installing Arch the traditional way, on my X220, as a way to force myself to improve. Is this a good way to learn more about Linux and a Linux system in general?

Yes.

I always hear good things about the Arch Wiki.

It is truly fantastic.

Is there any other tips someone can give me, to sharpen my Linux skills?

Use the system, don’t be shy, try different things out. If you are scared that you might break something, try it out in a VM. Break your VM and try to fix it. That teaches you a lot.

I was even considering trying out Gentoo on my X220, but the compiling times sound painful.

I would not recommend that, updating packages will take ages, it’s not a great experience.

cogitoprinciple,
@cogitoprinciple@lemmy.world avatar

Thanks for this, I think I will give Arch Linux a go, and avoid GUI file management. My plan is to daily drive my X220 for more lightweight tasks as it’s a nice laptop to use. So using Arch on it may just force me to have to use Arch as a daily driver if I want to use a nice laptop keyboard.

netchami,

Another thing that helped me: Get comfortable in the Terminal. Obviously you have to learn some commands and how they work, but just configure your shell and commonly used CLI tools. It makes the experience so much more pleasant. Install a nice shell prompt, set up some aliases for frequently used commands, learn the basics of shell scripting and write your own useful little scripts for things you often have to do, maybe start using Vim and configure it the way you like it. Also explore other shells. Bash is the default shell, but there are better options like zsh or fish. You can watch this video to get some inspiration: youtube.com/watch?v=KKxhf50FIPI. This is actually pretty close to my shell setup. If you want to start customizing bash, check this out: youtube.com/watch?v=b3W7Ky_aaaY.

To continue learning, maybe subscribe to some Linux-oriented YouTube channels. DistroTube makes great videos about Linux, tiling window managers, how to use various commands, how to configure your shell environment, etc. He also reviews many Linux distros or explains why free software is important. If you search any Linux-related topic on YouTube, chances are that DT already made a great video about it.

Max_P,
@Max_P@lemmy.max-p.me avatar

Arch is actually not as bad as many say. It’s pretty stable nowadays, I even run Arch on some servers and I never had any issues.

Not even just nowadays. My desktop is running a nearly 10 year old install. It’s so old, it not only predates the installer, it predates the “traditional” way and used the old TUI installer. It even predates the sysvinit to systemd switch! The physical computer has been ship of thesis’d twice.

Arch is surprisingly reliable. It’s not “stable” as in things change and you have to update some configs or even your own software. But it’s been so reliable I never even felt the need to go look elsewhere. It just works.

Even my Arch servers have been considerably more reliable and maintenance-free than the thousands I manage at work with lolbuntu on them. Arch does so little on its own, there’s less to go wrong. Meanwhile the work boxes can’t even update GRUB noninteractively, every now and then we have a grub update that pops a debconf screen and hangs unattended-upgrades until manually fixed and hoses up apt as a whole.

grte, (edited )

Similar experience. My current install is not as old due to hardware failure but I’ve been using arch since 2007ish and it’s been stable enough through all that concurrent with sort of losing interest in being an admin for a hobby in the last few years that I’ve honestly got kind of bad at administrating the thing, haha. But it hardly matters because issues are rare.

Thorned_Rose,
@Thorned_Rose@kbin.social avatar

Third same. Before my current PC, my old PC was a 6yo install. Never had problems that weren't caused by me (although I could count on one hand the number of times I had issues in that 6 years).

My current install is more than 2yo trouble free.

I've DE hopped and fiddled with heaps of stuff in that time too.

netchami, (edited )

My desktop is running a nearly 10 year old install.

Oh wow! That’s truly impressive.

ayaya,
@ayaya@lemdro.id avatar

Same here. Been going on 8 years with the same install and it has never let me down. The only time something “breaks” is when I’m the one who caused it, and it’s always been easily fixable with arch-chroot from the iso. Although I haven’t even had to resort to that in 3 or 4 years now.

not_amm, in Switching from Linux Mint to OpenSuSE Tumbleweed very soon. Any advice?

My only issue is software availability and management. I use the Packman repository to manage codecs and I avoid using the change vendor option; i used to change the vendor every time and ended up with a broken system, so I reinstalled and also resized my partition because I dual boot. I haven’t had problems at all.

You only need to pay attention for your needs, I recently installed systemd networking packages because they don’t come preinstalled, and YaST is very helpful in some situations like installing patterns (multiple related packages at once), mostly desktop environments. I gotta say that the openSUSE Wiki may not be enough to understand, but there is an official forum and you can also look at the Arch wiki.

Btw, GNOME is the official DE used by the developers, but KDE Plasma works very well, and all of them update constantly, you’ll have available updates every week.

ik5pvx, in Request for help, I broke some graphics

I had something like this and if I remember correctly it had to do with antialiasing. Try changing that settings

Makka, (edited )

Turning AA off for fonts solved the missing characters, downside it doesn’t look very good. I still have glitchy artefacts in some menus and the package manager doesn’t display any text for buttons which is a bit problematic. Guessing disabling some more AA settings would remove more of the problems. But it doesn’t solve my main problem - why did AA break in the first place

Aatube, in Xenia wouldn't suggest that :c
@Aatube@kbin.social avatar

Your UserAgent string

LunchEnjoyer, in Switching from Linux Mint to OpenSuSE Tumbleweed very soon. Any advice?
@LunchEnjoyer@lemmy.world avatar

Don’t forget to install codes.

Try out opi for installing apps, otherwise zypper is also great!

KISSmyOS, in Ricing Linux

But I really want to actually customize like the behaviour of apps

Welcome to FOSS programming as a hobby. But first, let’s rice your IDE!

Therealmglitch,
@Therealmglitch@lemmy.world avatar

Already done it :D

KISSmyOS,

Good, now allow me to explain why your programming language of choice is shit.

executivechimp, in Navigating around in your shell
@executivechimp@discuss.tchncs.de avatar

Good article. Rather than aliasing `cd …/…" etc. I’ve got this function in my setup:


<span style="color:#323232;">up () {
</span><span style="color:#323232;">	local x='' 
</span><span style="color:#323232;">	for i in $(seq ${1:-1})
</span><span style="color:#323232;">	do
</span><span style="color:#323232;">		x="$x../" 
</span><span style="color:#323232;">	done
</span><span style="color:#323232;">	cd $x
</span><span style="color:#323232;">}
</span>

This lets me do up 4 to go up 4 directories.

PlexSheep,

What I use to automatically extend stuff like ls … to ls …/…/…/…


<span style="font-weight:bold;color:#a71d5d;">function </span><span style="font-weight:bold;color:#795da3;">expand-dots</span><span style="color:#323232;">() {
</span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">local </span><span style="color:#323232;">MATCH
</span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">if </span><span style="color:#62a35c;">[[ </span><span style="color:#323232;">$LBUFFER </span><span style="font-weight:bold;color:#a71d5d;">=~ </span><span style="color:#183691;">'(^| )...+' </span><span style="color:#62a35c;">]]</span><span style="font-weight:bold;color:#a71d5d;">; then
</span><span style="color:#323232;">        LBUFFER</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">$</span><span style="color:#323232;">LBUFFER</span><span style="color:#183691;">:fs%</span><span style="color:#0086b3;">...</span><span style="color:#183691;">%../..%
</span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">fi
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="font-weight:bold;color:#a71d5d;">function </span><span style="font-weight:bold;color:#795da3;">expand-dots-then-expand-or-complete</span><span style="color:#323232;">() {
</span><span style="color:#323232;">    zle expand-dots
</span><span style="color:#323232;">    zle expand-or-complete
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="font-weight:bold;color:#a71d5d;">function </span><span style="font-weight:bold;color:#795da3;">expand-dots-then-accept-line</span><span style="color:#323232;">() {
</span><span style="color:#323232;">    zle expand-dots
</span><span style="color:#323232;">    zle accept-line
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">zle -N expand-dots
</span><span style="color:#323232;">zle -N expand-dots-then-expand-or-complete
</span><span style="color:#323232;">zle -N expand-dots-then-accept-line
</span><span style="color:#323232;">bindkey </span><span style="color:#183691;">'^I'</span><span style="color:#323232;"> expand-dots-then-expand-or-complete
</span><span style="color:#323232;">bindkey </span><span style="color:#183691;">'^M'</span><span style="color:#323232;"> expand-dots-then-accept-line
</span>

(for zsh)

olafurp,

You could also do a “up” for one up “upp” for 2 and “upppp” for 4 because of fun

executivechimp,
@executivechimp@discuss.tchncs.de avatar

True. That is something that could be done.

ENipo,

Oh I really like this. I never had an alias for this since I need to do multiple backwards cds very rarely, but I might just copy this

executivechimp,
@executivechimp@discuss.tchncs.de avatar

Go for it. I’ve been using it for years without a problem.

taladar,

I have the zsh option autopushd set which calls pushd in interactive shells for every cd, that way 90% of the time when I want to go back up to another path I can just use popd

Astaroth,

I use Fish and have keybinds for previous and next directory, 99% of the time when going up in a directory it’s to (one of) the previous directory/ies I was in

Specialpatrol,

Holy shit

beeng,

Look into zoxide.

z direc

Will take you to the most used directory starting with “direc” eg “/home/me/random/directory”

executivechimp,
@executivechimp@discuss.tchncs.de avatar

I’ve tried things like that before but never got on with them. I found when I had many projects with similar directory structures it was easy to end up in the wrong place and took more thought to get to the right place than just cding

beeng, (edited )

The dir’s are the same names or similar? A few extra key strokes to get the fullname should be easier than cd’ing back and forth.

There’s also z foo “space” “tab” as per docs to get interactive list for matches.

But, just a suggestion!

velox_vulnus, (edited ) in 100% vanilla distribution challenge

The .config folders have important files, like git config. With that being the exception, most of my config files are empty. I have the most Vanilla GNOME setup. My setup is so vanilla, it is also missing the contrast hi-color logos, which is added by default in Fedora in multiple applications, like Firefox or Inkscape.

mcforest,

No, no, you have to delete your git config. That's part of the challenge.

I'm also back on 60 Hz on my 160 Hz monitor because of this challenge. So cute though.

velox_vulnus,

Setting up git and ssh is so damn annoying, I keep pulling my hair every-time I have to face a new system. Especially the allowed_signers stuff.

vox, (edited ) in Reminder to clear your ~/.cache folder every now and then
@vox@sopuli.xyz avatar

seems like a bug in one of rhe programs you’re using.
modt software automatically manages it’s cache…
are you using build caching tools such as Mozilla sccache? These tend to create 20gb+ cache directories, especially if used with debug builds

const_void, in Ricing Linux

Can we please stop calling it “ricing”? The term is pretty loaded.

recursive_recursion,
@recursive_recursion@programming.dev avatar

I’m kinda surprised that people don’t say modding

fuckwit_mcbumcrumble,

There’s a point where it goes from basic theming to full blown ricing. I think OP is trying to jump off the deep end.

porcariasagrada,

because it isn’t modding it’s just aesthetic changes. that is why it is called “ricing”, because on the car community just changing the looks is considered trash tuning.

callyral, (edited )
@callyral@pawb.social avatar

i personally call it “theming” or “customizing” since these are quite descriptive. pretty sure “modding” is more often used in the context of gaming

recursive_recursion,
@recursive_recursion@programming.dev avatar

Theming seems more relevant and specific than modding/customizing👍

BCsven,

Is the concern the connection to “rice racers” japenese import cars? or the term when you rice potatoes or cauliflower through a ricing device, making it into tiny parts?

caseyweederman,

To clarify for those who come after: It’s quite blatantly the first one. You’re tricking your desktop out as is stereotypical of the cars you mentioned.

BCsven,

Wasn’t sure, some people see ricing as going into every tiny detail like grains of rice…but being old the first one is the first reference I heard.

caseyweederman,

It’s possible that the majority of people weren’t aware of the first one when they started using it, but they don’t have an excuse if they continue to use it now.

carcus,

Lived through the 90s when the import car scene was huge. The term ricing back then was used when referring to asians who modified their cars, as a pejorative.

It really bummed me out to see it creep into the Linux community. Tried voicing displeasure back when I used Reddit and got blasted with downvotes and really distasteful comments, felt like I was alone in this feeling. Thanks, from some random Asian Linux user.

ArcaneSlime,

It’s actually an acronym for Race Inspired Cosmetic Enhancement. The fact that some don’t know and use it to be racist says more about them as an individual than the term itself.

KISSmyOS,

That’s a Backronym.

The term definitely comes from looking down on tuned Asian cars (“rice burners”).

jaykay,
@jaykay@lemmy.zip avatar

How can someone use that to be racist and don’t know what it means at the same time?

ArcaneSlime,

Not knowing what the acronym means and using it for stock Honda Accords, because “asian car” for instance. That is racist.

Tbh I don’t really even get the hate on Race Inspired Cosmetic Enhancement, I see it as a different facet of “car enthusiast,” like the dudes with Donks and Low-Riders. Still though it isn’t racism, just eleitism or regular old gatekeeping from the racing people.

Turun,

For what it’s worth I have only ever heard the term used to describe the Linux thing. So for me that is the only meaning.

NumbersCanBeFun,
@NumbersCanBeFun@kbin.social avatar

deleted_by_author

  • Loading...
  • UndulyUnruly,
    @UndulyUnruly@lemmy.world avatar

    It’s ok. We have called the mind police and they’re on their way. Open up when you hear the knocking or the door will be put in.

    radioactiveradio, in Ricing Linux

    Don’t fall for the tiling managers, I know they look pretty but they’ll sink all your time and you’ll never be satisfied. Trust me I’ve been there.

    jaykay,
    @jaykay@lemmy.zip avatar

    Idk I love hyprland. Maybe it’s not for everyone but there is no harm trying :)

    radioactiveradio,

    Didn’t mean no offence. If it works for you, great! But personally I got too into customisations and missed a lot of work which was the whole actual point, " productivity" lol. But damn did my setup look slick that week.

    Therealmglitch,
    @Therealmglitch@lemmy.world avatar

    Personally I hate tiling, I just want those cool closing and opening animations

    paradox2011, (edited )

    If you use KDE, look for the “TV Glitch [burn-my-windows]” opening and closing animation. It’s a default setting in the KDE Settings > Workspace behavior > Desktop effects > Window open/close animation section. It’s really good in my opinion, especially if you tinker with the open/close timing to make it a little more crisp.

    mintycactus,
    @mintycactus@lemmy.world avatar

    deleted_by_author

  • Loading...
  • cucumber_sandwich,

    I believe in hybrid models. Sometimes tiling is really nice, but what I really want is a better and customizable snap window management.

    meekah,
    @meekah@lemmy.world avatar

    KDE has your back. You .mostly use regular windows but with meta+T you can configure tiles that can be used to snap windows to them using shift when dragging a window

    cucumber_sandwich,

    Might have to try that out. Since installing Linux I’ve mostly run Gnome and I like it a lot so far.

    meekah,
    @meekah@lemmy.world avatar

    I’ve only started out with Linux a few weeks ago and I liked gnome for the few weeks I’ve used it, but I’m liking KDE much more than gnome so far.

    radioactiveradio,

    Oh I love that manual titling thingy. I wish I could save my window setups tho. Also an automatic tile option too.

    flashgnash,

    Unfortunately for my free time I really enjoy the endless customisation loop

    Also tiling WM with virtual desktops makes one monitor feel like many, I often actively choose to use my hyprland laptop and trackpad instead of a triple monitor setup without tiling

    Neil,
    @Neil@lemmy.ml avatar

    Partially true… I’ve been using i3 for roughly 8 years so setup and usage is pretty dang quick these days. I’d say it’s worth it if tiling piques your interest.

    porl,

    Took me a few goes here and there but now I love my minimal tiling setup. Never really got it but just played with them here and there out of curiosity. Last time I tried it something clicked for me and now I’ve no desire to go back.

    Chais,
    @Chais@sh.itjust.works avatar

    Ain’t that the truth. But I love the workflow they offer. You don’t have to go looking for new windows. You can easily pin applications to virtual desktops and I prefer the multihead model they use over the one used by gnome or KDE.

    bizdelnick, (edited ) in CLI Editors with Distrobox?

    Neovim is not a CLI editor, it is a TUI editor. If you want a CLI editor, use ed or ex.

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

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 23564440 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 174

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6307840 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 36