You are not logged in.

#1 2014-05-23 11:26:59

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

[SOLVED] Trigger an action on VT switch, is it possible?

Kde has a long standing bug, with at least nvidia proprietary driver, that corrupts the display if effects are active and one does a vt switch.
Disabling and re-enabling the effects solves the issue, so i wonder if (udev, maybe?) is possible to do it automatically as a temporary workaround till the bug is sorted out.

Anyone?

Last edited by kokoko3k (2016-04-29 13:27:22)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2016-04-29 13:27:07

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: [SOLVED] Trigger an action on VT switch, is it possible?

managed to solve this just now.
If anyone interested: here

while true ; do inotifywait -e modify /sys/class/tty/tty0/active ; echo "triggered" ; done

Last edited by kokoko3k (2016-04-29 21:01:51)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB