Skip to content

u/maxle0312

In this archive from Feb 2019 to Sep 2023

55
posts
28
comments
1
media
278
score
2 saved before deletion

Is there ever going to be a way to make laptop to suspend on lid close reliably on Linux (Arch in my case)?

Well I use Arch so I post this here, my setup: Thinkpad T14S Gen 3 running latest linux kernel. I use different DE as well as WM: Gnome, XFCE, KDE, i3wm, sway...etc. Suspend on lid close is configured via /etc/systemd/logind.conf and sleep.conf. The setup works but sometimes, the laptop takes longer...

1 points3 comments
Open on Reddit

Need help with xidlehook to autodim screen and lock, script does not lock the screen when use together with dimmer

Hi all. I use i3wm on vanilla Arch, latest linux kernel. I am setting up a script to dim my display after X seconds, then after Y seconds, the screen would be locked using slock. Here is my script: xidlehook \ --not-when-fullscreen --not-when-audio \ --timer 10 'light -O;light -S 10' 'light -I' --ti...

1 points0 comments
Open on Reddit

How do you reenter the encryption password (encrypted using luks) at boot, if you accidentally typed it wrong, without reboot?

I have an encrypted setup using luks. At boot, I would type my password to decrypt and then it would boot into grub menu. From there, I can pick the OS and boot. This all goes well, but sometimes I miatyped the password because the default luks prompt do not show asterisks as password; it is all bla...

1 points2 comments
Open on Reddit

How to get back to DE/WM session if you encounter a non responsive/black screen when resume from suspend?

Hi all. The latest Intel 12th gen kernel seems to have hiccup with suspend. Normally, the laptop resumes from suspend very well. On some rare occasions, resume from suspend will have either the following: - opening the lid will show a blackscreen, there are no login box no matter how much I wiggle t...

8 points1 comments
Open on Reddit

Looking for an alternative for hibernation. Vanilla Arch on linux, linux-lts, linux-clear

Hi folks, Recently with the new 12th gen Intel, I've been having a lot of problems with suspend / resume from suspend and hibernate / resume from hibernate. Sometimes both work; othertimes only 1 work and the other fails (hibernate/resume from hibernate works but then resume from suspend freezes the...

12 points1 comments
Open on Reddit

How to make resume from hibernation by pressing the power button instead of automatically on lid open?

Suspend, hibernation and resume from both work very well on my laptop. Problem is when hibernation kicks in, if I open the lid without touching any keys, the laptop immediately powers up, i.e. flashing keys, vendor logo, grub menu show up...etc. I do not want this to happen. I want it so that resume...

6 points2 comments
Open on Reddit

Need help to resize/expand a weird partition table (aka nuke Windows and go full Linux)

Hi folks, After facing a forced Windows update, things break so I decide to go 100% Linux. I decide to use a LiveUSB and Gparted to delete Windows and resize my Linux partitions. My setup looks like this: https://imgur.com/a/63sKVPZ So Windows has the 2nd, 3rd and 4th partition. So I will delete tho...

1 points11 comments
Open on Reddit

Alsamixer toggle to unmute/mute does not work. Only toggle Master, have to toggle Speaker manually to get sound back.

Hi all. My setup is: Arch Linux, i3wm, use alsamixer to control sound. With volumeicon installed and autostarted, I can control the volume up and down. The sound works perfectly. However, I cant seem to be able to unmute/mute. My commands to raise/lower volume are: amixer sset Master 5%+ amixer sset...

2 points2 comments
Open on Reddit

How do you keep your install clean?

In Windows and Mac, whatever you install go to the Program Files or Application folders. In Linux, you have more freedom but at the cost of having a mess: you can have executable scripts in ~/bin, packages from your package manager can be found in another directory, some applications like Vim/Emacs...

45 points36 comments
Open on Reddit

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.