linux

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

kevincox, in Upgrade vs Reinstall
@kevincox@lemmy.ml avatar

I think yes. In general if you have good setup instructions (preferably automated) then it will be easier to start from scratch. This is because when starting from scratch you need to worry about the new setup. But when upgrading you need to worry about the new setup as well as any cruft that has been carried over from the previous setup. Basically starting clean has some advantages.

However it is important to make sure that you can go back to the old working state if required. Either via backups or leaving the old machine around working until the new one has been proven to be operational.

I also really like NixOS for this reason. It means that you can upgrade your system with very little cruft carrying over. Basically it behaves like a clean install every update. But it is easier to roll back if you need to.

OneRedFox, in How I can enable i3-gaps?
@OneRedFox@beehaw.org avatar

In regular i3, that feature was added in version 4.22. You should use the i3-gaps fork on your distro if a package for it is available.

lemmy_user_838586, in How I can enable i3-gaps?

If I’m reading the manual right (I don’t use i3), you’re missing ‘px’ on end of your lines, like so:

gaps inner 10px gaps outer 10px

i3wm.org/docs/userguide.html#gaps

Its weird that its not consistently needed though, for the workspace and modifying existing gaps in real time, it looks like the postfix ‘px’ isn’t needed.

madmaurice, (edited ) in How I can enable i3-gaps?
@madmaurice@discuss.tchncs.de avatar

Your i3 is too old. Perhaps your distro’s repository has a package called “i3-gaps” which was the former fork that implemented this feature. i3-gaps was merged back into i3 in the meantime.

Since i3 4.22, you can configure window gaps.

i3wm.org/docs/userguide.html#gaps

Nebulizer, (edited ) in best foss cad software?

I’ve been using SALOME to create parametric 3D geometry. My use case is to parameterize my geometry features and export to STL files that I use with OpenFOAM. SALOME is integrated with a couple of grid generators, and I really like it’s 2D/triangulation/STL integration with netgen. You can specify faces for refinement to a desired mesh size, so for example around complex features you can create a fine STL mesh and on simple shapes you can have a really coarse mesh.

I’ve found the 3D modeling to be pretty straightforward, and SALOME usually does a pretty good job if you have to go back and modify previous features (something I’ve struggled with in FreeCAD).

I’ve also used FreeCAD for mesh generation, and it works ok but I’ve found the triangulation leaves a lot to be desired for splitting up the mesh as needed for OpenFOAM boundaries.

If you’re making STL files for 3D printing and you want a parametric CAD modeler for engineering parts, give it a try. If you want complex faces with artistic style, I would suggest Blender.

crunchymunchytoast, in How I can enable i3-gaps?

It says at the bottom you’re using a version built in Nov 2021, you might just need to update to the latest release (latest Arch release is 4.23-1, built 10-29-2023).

If the version in your repos is that out of date though (you didn’t state your distro so there’s no telling offhand), your best bet may to be to build it from source and install it.

Xirup, (edited )

Fuck I’m so blind, thanks…

I’m using KDE Neon, that uses Ubuntu LTS so yeah… It’s obvious that i’m using a very outdated i3 version.

bdonvr, (edited ) in Clear Course is Set for openSUSE Leap

I run Tumbleweed on my PCs and Leap on my server.

It feels so weird to update my server after a few weeks and have like no packages to update.

pastermil,

Meanwhile on Tumbleweed: “276 packages to update”

hperrin, in Upgrade vs Reinstall

If you’ve designed everything correctly, then yes, it should be much easier to deploy a new instance on a new machine than to upgrade an existing machine.

SheeEttin, in Linus Torvalds postpones Linux 6.8 merge window after being taken offline by storms

Does Linus still maintain that much control over it? I feel like I read something a few years ago about him starting to step back.

duncesplayed,

In a certain light, you could argue that Linus doesn’t really have any control at all. He doesn’t write any code for Linux (hasn’t in many years), doesn’t do any real planning or commanding or managing. “All” he does is coordinate merges and maintain his own personal git branch. (And he’s not alone in that: a lot of people maintain their own Linux branches). He has literally no formal authority at all in Linux development.

It just so happens that, by a very large margin, his own personal git branch is the most popular and trusted in the world. People trust his judgment for what goes in and doesn’t go in.

It’s not like Linux development is stopped because Linus goes offline (or goes on vacation or whatever). People keep writing code and discussing and testing and whatnot. It’s just that without Linus’s discerning eye casting judgment on their work, it doesn’t enter the mainstream.

Nothing will really get slowed down. Whether something officially gets labelled by Linus as “6.8” or “6.whatever” doesn’t really matter in the big picture of Linux development.

lud,

He does still own the trademark though.

SheeEttin, in Upgrade vs Reinstall

No, it’s the same on the Windows side. Personally I like to build a new one in parallel, then migrate. I do plenty of upgrades on desktops, but I don’t think I’ve ever done one on a server (except stuff like CentOS 7 to 8 where it’s not really that significant of a change).

Migration is the safe option, but if it’s a huge pain to migrate, I might do the in-place upgrade with a rollback plan ready if it really goes poorly.

slembcke, in GNOME and AppIndicator/system tray

Well… they don’t like the design of a “system tray”. To be fair, it’s a very Windows centric idea, and the notion that they must provide one because Windows has one seems… similarly questionable to me too. Speaking personally I hate the idea, and always have. It’s a real dumpster fire because:

  • Lots of drivers (on Windows) assume you don’t know how to launch programs, and force a permanent launch shortcut on you.
  • Programs assume you don’t understand how to minimize or hide a window, and put themselves in the tray instead. (launchers, chat programs, etc)
  • Some programs seem to use them just to put their logo on the screen. You can’t really do anything with the tray icon.
  • Few icons match stylistically, and even on Windows, they don’t match the system style. (White icons on a white taskbar? FFS)
  • Programs often don’t provide an option to disable their tray icons, and it’s rare that I want them.

I guess I found the lack of them to be a breath of fresh air when I first tried Gnome 3 a few years ago. The current iteration doesn’t quite work though… 99% of the time I just want an option to kill the damn things, but I’ve have had some programs that only provide functions through the system tray. It’s dumb, and I hate it, but it is what it is.

damium, in Upgrade vs Reinstall

Your experience may depend on which distro you use and how you install things. If you use a distro with a stable upgrade path such as Debian and stick to system packages there should be almost no issues with upgrades. If you use external installers or install from source you may experience issues depending on how the installer works.

For anything complex these days I’d recommend going with containers that way the application and the OS can be upgraded independently. It also makes producing a working copy of your production system for testing a trivial task.

ByroTriz, (edited ) in best foss cad software?

One that hasn’t been named yet is SolveSpace. There is also CAD sketcher, a free CAD add-on for Blender

bbbhltz, in Desktop icons not loading
@bbbhltz@beehaw.org avatar

Somehow it might be possible the adwaita-icon-theme package was removed and not reinstalled.

You could also try running dconf reset -f /org/gnome/ and rebooting to see if that helps.

wildbus8979, in Desktop icons not loading

Try running update-icon-caches as root and restarting GNOME.

Smorty,

Maybe this package isn’t installed either, since I get some sort of error message: Usage: /usr/sbin/update-icon-caches directory [ … ] I tried assigning some directory to it like this: sudo update-icon-caches /usr/share/icons But this didn’t change anything either.

despotic_machine,
@despotic_machine@lemmy.world avatar

some sort of error message

Having this complete error message would help determine what is going on.

Smorty,

This is all what shows up. Heres my complete terminal output:


<span style="color:#323232;">marty@MartyPC:~$ sudo update-icon-caches
</span><span style="color:#323232;">[sudo] Passwort für marty: 
</span><span style="color:#323232;">Usage: /usr/sbin/update-icon-caches directory [ ... ]
</span><span style="color:#323232;">marty@MartyPC:~$
</span>
despotic_machine,
@despotic_machine@lemmy.world avatar

Try:

sudo update-icon-caches /usr/share/icons/*

Smorty, (edited )

Look at the comment I made above. I already tried that. EDIT: I almost didn’t see the star, sorry

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