4 ms·
Another way to deal with X freezing. Use acpi to set your power button to switch you to console. Just edit your /etc/acpi/power.sh and change it to... #/b
by eikenberry 13y ago
Another way to deal with X freezing.
Use acpi to set your power button to switch you to console. Just edit your /etc/acpi/power.sh and change it to...
#/bin/sh
/bin/chvt 1
The acpi system is separate from the X/keyboard interface and still works. So this way you can switch to the console even if your keyboard is locked.
Note you can use other keys as well. On my laptop I use my "thinkvantage" key for this. Any key that has an associated acpi event will work.
- ingenium 13y agoWhich script in /etc/acpi/ corresponds to the thinkvantage key?
- eikenberry 13y ago$ cd /etc/acpi $ cat events/thinkvantage-button # Thinkpad 'ThinkVantage' button event=button/prog1 action=/etc/acpi/thinkvantage.sh $ cat thinkvantage.sh #!/bin/sh /bin/chvt 1 Hope this helps.