• 28 Posts
  • 34 Comments
Joined 2 years ago
cake
Cake day: July 15th, 2024

help-circle















  • If you just want to play the game, then gaming works surprisingly well on Linux. Very well.

    I have the same game on Steam running on 2 separate computers, Fedora and Win 11. On the Fedora one, everything is just rock solid. Heck, even when I am rendering some very intensive 3D stuff on another workspace for work and use 50% of the RAM, the game is still running. On the Win 11 laptop, random issues happen where my cursor dissapears and the entire desktop freezes.

    OTOH, if you need the gaming accessories to work properly then I’m not sure, could be a 50/50. For eg, if your laptop has some proprietary sound card, then Linux might not be able to take advantage of that. On Windows, these should work OOTB.


  • Pop OS tiling is awesome. What I always try to do on tiling WM: set workspaces and spawn specific applications on specific workspaces. Not sure if Pop OS can do it, but on i3/dwm/sway…etc. you can freely spawn your applications wherever you like.

    Try to play around with those DIY tiling environment. You will have a lot of fun if you like tinkering with stuff. Maybe one day you will run EXWM



  • the firefox, zen browser and libre wolf packages are concerning. The ttf ms font too. Those are very normal apps and unless you pay attention to the package name when doing “pacman -Syu”, you would fall for the malware.

    If only we can compartmentalize all AUR packages. The download AUR sources iirc are already in something like $HOME/.paru. Installing is a different story, because these packages can put their executable all over the places: /usr/local/bin, $HOME/local/bin.







  • I owned 4 Samsungs: S8, S10e, S22 and S24 Ultra. Their products got worse. An example is the recent One Ui 7 update, it is just terrible: My notification area that works perfectly fine before, is now changed; my battery life got worse…etc.

    Even if I ignore the update, Samsung products are just not great anymore. Remember when a Galaxy can take really great photos? Those days are gone. My S24 Ultra takes the worst pictures in comparison to a Xiaomi or Huawei. Heck, even the controversial Asus Zenfone 10 takes better picture. Sure the Galaxy has better Megapixels, but the AI bullshit makes it so the colors are all wrong.

    With that said, you want to go for Pixel + GrapheneOS. Anything that is close to stock Android should be ok. Oh, and stay away from anything with a lot of AI.




  • 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.




  • 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.




  • 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:

    1. 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.

    2. If above fail, try to run “systemctl suspend” to check if suspend really works on your system.

    3. if 1) and 2) fail, you can play around with /etc/systemd/sleep.conf script. Maybe uncomment “AllowSuspend” or something similar…






  • 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

    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.

    • Pacstrap and then genfstab.
      Important: Make sure to copy the keyfile from your archiso environment to your chroot environment aka your system. Otherwise, when reboot, the keyfile is gone. I put it in /root and set permission so only root can read.

    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.

    • Third, grub. Edit your /etc/default/grub and append the following to GRUB_CMD_LINUX:

    “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.