this post was submitted on 14 Nov 2023
0 points (NaN% liked)

Linux

47900 readers
933 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
 
top 12 comments
sorted by: hot top controversial new old
[–] bananaw@sh.itjust.works 0 points 11 months ago* (last edited 11 months ago) (1 children)

Just switched last night!!!

So far it's been great, but I need a way to migrate over my keybindings from xmodmap. I tried searching but everywhere I go gives a different answer. Can anyone help guide me in a direction? I'm primarily looking to remap caps to escape/control on hold. Would be great to remap some unused keys on my laptops keyboard to media keys as well. Thanks!!

[–] glasgitarrewelt@feddit.de 0 points 11 months ago

Have you tried the instructions on their github page?

https://github.com/swaywm/sway/wiki#keyboard-layout

I haven't tried that, but would be happy about a feedback from you if it works. So that I know what to do if I switch from Herbstluft to Sway one day.

[–] Gork@lemm.ee 0 points 11 months ago (1 children)

I remember being endlessly entertained by the rotating cube animation between workspaces in the old Beryl implementation.

I told my wife, "but does your Windows do this?" Followed by rotating the cube. She was like, "I don't care." And that was that.

I shall tell this story to my grandkids.

[–] simple@lemm.ee 0 points 11 months ago (1 children)

"but does your Windows do this?" Followed by rotating the cube. She was like, "I don't care."

Wow, that sums up my Linux life pretty well actually

[–] 30p87@feddit.de 0 points 11 months ago (2 children)

Does your Windows do this? *doesn't crash*

But seriously, yesterday I cloned my main partition to a new laptop into an LVM volume on LUKS. Because I did not have any way of putting the new NVMe and old SATA SSD into one machine, I just used netcat over an ad hoc network.

nc -l 10000 > /dev/main/root

on the new Laptop and

cat /dev/sda3 | nc 10.31.69.1 10000 -q 0

on the old one. Worked perfectly. Now do that on Windows with builtin tools in live boots.

[–] crispy_kilt@feddit.de 0 points 11 months ago (2 children)

Now do that on Windows with builtin tools in live boots

More like do that in Windows with any tools. It doesn't like being moved to different hardware one bit.

[–] 30p87@feddit.de 0 points 11 months ago (1 children)

The only problems with my Arch install were

  • /etc/fstab, which I forgot about because I didn't read the whole install article again
  • custom configs (notable conky) because i8k is not available and all interfaces changed
[–] crispy_kilt@feddit.de 0 points 11 months ago (1 children)
[–] 30p87@feddit.de 0 points 11 months ago

I'd guess many distros would've had errors with preinstalled and configured helpers. Debugging them would be a pain

Gentoo, LFS, Arch etc. are installed manually, so one typically knows their system very well, including packages and configs they might have to hard configure interfaces etc. in

[–] 30p87@feddit.de 0 points 11 months ago* (last edited 11 months ago)

I just noticed I did not fully expand the fs on the target machine after shrinking it on the source machine to be sure it fits. No problem, growing ext4 file systems with resize2fs (indirect dependency of linux and base) works on mounted fs' too, the Kernel just needs to be newer than 2.6 (so since 2003).
Took less than 1 second and works flawlessly, live. Conkys fs_free just jumped from 20 to 76. Still time to clear my caches.

[–] andrew@lemmy.stuart.fun 0 points 11 months ago (1 children)

Next time you could even add gzip or some other compression and save yourself a bit of time and bandwidth.

[–] 30p87@feddit.de 0 points 11 months ago

The rate was around 100MB/s. So I think the bottleneck was probably the read/write speeds of the SSDs, considering I have ~900Mbit/s down from speedtest.net, and this setup removed every hop except the old and new Laptops Gigabit Lan Port and the Gigabit patch cable between them. But with larger files/partitions over the internet this would probably help