I'll just write here what I think I know about dual booting
So,
1. Set up windows, turn off/on some settings (mainly the clock and the fast boot) and to install windows as it can mess up Linux.
2. After the windows installation, remove the SSD with windows on it (so that Linux doesn't mess up the windows)
3. Install the new ssd drive
4. Linux time thanks to the usb drive
5. Reattach windows ssd after everything's done

Can someone with experience with dual booting on two separate SSD's tell me if this plan right here is good?
#linux #LinuxTip #Windows11 #windows10 #linuxdesktop #dual_boot #dualboot

#linuxtip: if after updating your kde session even having the kwayland package installed, you got a black screen after the login, I fixed it changing the following line in /etc/environment file as root:
▶️QT_QPA_PLATFORMTHEME="wayland;xcb"
and then I was able to login normally after a reboot.. 👨‍💻 

Es ist mal wieder Zeit für einen #LinuxTip:

Man kann unter bash (meistens) Programmaufrufe, die eine Datei als Argument erwarten, diese Datei durch <(...) ersetzen, wenn man etwas komplexeres tun möchte.

Beispiel: diff -u <(cd $verzeichnis1; find) <(cd $verzeichnis2; find).

Hier werden die rekursiven Listen aller Elemente zweier Verzeichnisse verglichen.

mit find -type f -exec md5sum {} + | sort -k 2 kann man das sogar noch auf die Prüfsummen erweitern.

🇬🇧 Arch Linux PSA: please remember to clean your pacman cache regularly!

Pacman, your system's package manager, keeps all versions of packages you have ever downloaded on your system. This is to ensure that you can roll back or downgrade your system to an earlier point easily if something breaks.

After years of using the computer though, this cache becomes really really big and can grow indefinitely in size.

Use the paccache utility (part of the package pacman-contrib, install that if necessary) to clear that cache.

  • paccache -d does a dry run, showing you how much space is taken up by useless package caches you no longer need.
  • paccache -r removes all but the three latest versions of the packages you cache, so you're still safe and can still roll-back your system if needed.

More information, including on how to automate this, on the ArchWiki:
https://wiki.archlinux.org/title/Pacman#Cleaning_the_package_cache

#ArchLinux #Linux #Arch #LinuxTip #PSA #GNULinux #GNU

pacman - ArchWiki

Code of Amor 💘 (@[email protected])

@[email protected] @[email protected] The program for disk recovery I used was something that works at the disk sector level. It's called ddrescue I think, and has nothing to do with dd. It's brilliant. It creates a map file of your disk's sectors, then repeatedly tries to read sectors, forward, backwards, random read, for hours on end. It keeps its progress in the map file so you can cancel and resume it at any stage, and it applies different methodologies to try to scrape data back from a dying drive. #linuxtip

Mastodon @ Code of Amor
@SynAck @BustaMarx The program for disk recovery I used was something that works at the disk sector level. It's called ddrescue I think, and has nothing to do with dd. It's brilliant. It creates a map file of your disk's sectors, then repeatedly tries to read sectors, forward, backwards, random read, for hours on end. It keeps its progress in the map file so you can cancel and resume it at any stage, and it applies different methodologies to try to scrape data back from a dying drive.
#linuxtip

linux tip: if you're using debian 12 with xfce and want to copy files off an android device with mtp it might not automatically work on a fresh install, you'll need at least two packages for it to work with thunar file manager, gvfs-fuse may already be installed, but gvfs-backends might not be and you'll need both of them

#Linux #Debian #Debian12 #LinuxTip #LinuxTips #Android #MTP

Started a long-running file operation but forgot to put verbose output to monitor progress? Or tool is missing a such option.

With 'pv' command you can give '-d PID' option to monitor files opened by progress PID.

(In the example sudo is needed because dd command in other terminal is run as root. And yes, you could also send USR1 signal to dd to find out how much it has written)
#linuxtip #commandLine

Configurar una impresora por red en Debian

Blog sobre software libre, emulación, retroinformática, juegos, formatos abiertos, tente 3D, raspberry pi

My alias to delete trailing whitespace in a file:

dt='sed -i '\''s/[[:space:]]*$//g'\'' '

Used as `dt some-config.yml` (filename as attribute, hence the trailing space in this alias, irony)

go fmt, rust fmt, prettier and many other linters and formatters will do this for me already. But not all filetypes have linters (that I want to install, remember and/or configure). So for that: dt, Delete Trailing space.

#linux #commandline #aliases #linuxtip #sed