Wasnt a Republican controlled house propose the one who propose the 22nd ammendment? So after FDR won the 3rd term?
It’s laughable now how a Republicunt President would want to go around this.
That shortcut to switch between different virtual consoles is very useful. If somehow your desktop crashes, this can be used to login and fix.
Any software in Linux can be used in education, as long as the schools invest the time:
LibreOffice can create really nice documents and presentations too. Heck, some tasks are more straightforward in LibreOffice than MS. 99% of schoolwork is done in Office suite, so this is nice. Win for Linux
For stuff like coding in C or Python, it is even easier in Linux: download a compiler, open a text editor, type some codes then use terminal to run the codes in 10 minutes. In Windows, you need to download the stupid Cygwin and mess around with environmental variables to get Cygwin to recognize the libraries… Or if you want to automate things, MS Visual Studio will do that. The only downside is you will lose > 10 GB of space. Linux wins here again.
Anything more advanced will unfortunately Windows land. I’m talking about advanced image programs like Photoshop or professional video apps. But again, if you need them then might as well get a Mac. Another hiccup would be in CAD software: Linux just doesnt have a good app.
Hmm let’s try to isolate the bug to know if it’s sway or gdm messing up:
Try to disable gdm: sudo systemctl disable gdm.service
Logout/restart. You should be at the TTY, enter username and password to login. Then simply type sway
Now, test your sudo commands within this sway session. Do you still get the same bug?
CLI partioning tools are fine, just print the layout before finalizing the changes to make sure.
You know what is scary? Back in like 2009, the graphic drivers are not well supported and so you rum into weird glitches even during a live environment. For my particular case, a live Ubuntu install couldnt display the check boxes correctly. These checkboxes are pretty darn important:
where you want to install
do you want to delete your existing partitions? Very bad if you dual boot. …etc…
Cant see shit due to gliches so i just YOLO and hope for the best.
At first, I thought it was 3 point 521 percent because we use “comma” for decimal points and “period” for thousand separators.
Nvm it is over 3000 percents !! Might as try 9999 % and make a meme out of it.
FFS which world lines are we on?
Let’s see if you could make it till 88, Marge.
Yeh I started with Fedora 41 on i3 and then did the upgrade to 42. Maybe there are issues during the upgrades? Idk
I just wiped my drive and reinstalled 42 because the issue is so annoying - you cant do shit unless you logout and log back in.
I tried Fedora KDE 42 - very nice but it hang on bootup (30 seconds after login) and randomly on suspend.
Guess I’ll just stick with the official Gnome - Fedora Workstation.
Removed by mod
You literally kill/xkill/killall the program.
So when lid is closed, OS doesnt suspend or takes long to suspend? The best way is to use journalctl. Close the lid, wait 2 - 5 mins, then open it up and check most recent journalctl messages. Hopefully that gives you some clues.
Now, are you dual booting Windows? Try to check Bios if your laptop has any funny settings for power. On Lenovo, there used to be something like “Power scheme for both Linux and Window” button…
Lastly, xfce4-power-manager app really is just a GUI for your core systemd services. So… as a test, can you not autostart it? Xfce has a setting for that. Or just remove it, you can easily install it back later.
Once youre done, reboot back and check:
Does closing the lid make the laptop to go into suspend mode? If yes, great. Test again to see if behavior is erratic, i.e. sometimes it takes 5 sec to suspend, sometimes it does not suspend at all…etc.
If above fail, try to run “systemctl suspend” to check if suspend really works on your system.
if 1) and 2) fail, you can play around with /etc/systemd/sleep.conf script. Maybe uncomment “AllowSuspend” or something similar…
Good ! Good !
I see I have inspired an apprentice: https://lemmy.world/comment/15349991
The only thing missing now is to ditch the desktop environment and run EXWM. Or just run emacs from tty.
did you end up switch everything to the 2.5 ssd?
i see, so the file names are: autostart_blocking.sh
and autostart.sh
I dont need to create a weird file name like: autostart.sh &
But, whichever command I put in autostart.sh
will run as if I run in terminal with the &
sign. E.g: dunst &
to run in the background.
yes, that is what I thought: so “dunst &” means to start dunst in the background. But the way they attach to the end of a file name is weird.
hows the search fuction in mutt? For eg, if i want to search an email thread from like 3 months ago, does it function well or do I need to open my broswer…
Well thanks everyone. I finally managed to get it to work on Arch. System has separate encrypted root and swap in LVM, and a separate encrypted home. It can suspend and hibernate. Below are my steps
DISK PREP
partition the main drive for your swap and root first. For me, it is a boot partition + an EFI + a LUKS container with LVM on top. Create your volumes. I use Arch, so format and mount them appropriately before pacstrap. Leave out mount point for /home.
Go to your other drive, follow: https://www.cyberciti.biz/hardware/cryptsetup-add-enable-luks-disk-encryption-keyfile-linux/
to create a LUKS container that is encrypted with: a keyfile and a password. Test both to make sure you can open the locked drive. Format and mount it at /mnt/home or where you want the /home to be.
AUTOMATIC UNLOCK
First, fstab. When you do genfstab, things should be fine. But just double check the UUID is correct for /home. Note in fstab, the UUID is the unlocked one: so the one with /dev/mapper/home. Change to noatime if you desire.
Second, crypttab. Assume you decrypt your LUKS home as “home”. Add this:
home uuid of the unencrypted home drive location of the keyfile luks
The link above said to just use /dev/sda, but imo UUID is safer if you have a removable drive.
“rd.luks.uuid=UUID of the locked luks home drive”
FOR HIBERNATION
For some reasons, hibernation doesnt work out of the box. It works when I have everything in 1 drive, i.e 1 boot, 1 efi, 1 lvm on luks for /home, swap and /. The fix is simple:
add “resume” to /etc/mkinitcpio.conf. Add before “filesystems” . Rebuild your initramfs with mkinitcpio -P.
add to /etc/default/grub: “resume= uuid of the unlocked swap partition”. Or if you do LVM, just use “resume=/dev/vg/swap”.
Special thanks to bodaciousFern@lemmy.dbzer0.com and Lemmchen@feddit.org for giving me correct ideas about “rd.luks.uuid” and that LUKS can do both pass and keyfile.
What do you backup with dejadup? Everything under /home?
yeh if I encrypt /home using luks with passphrase, so cryptsetup. How do I tell the OS to decrypt it? I tried passphrase before and it cannot boot because /home cannot be mounted. That is why I searched and found out about the Arch wiki way: using keyfile stored in root.
Is the opportunity “once in a lifetime” or can you find alternatives like Europe? Tbh things are too fucked up now, even I am afraid to travel there a few weeks to visit.