Forums Search Login Register
Login
Username
Password
New Posts Todays Posts Find Users Posts Unanswered Threads Help Mark Forums as Read

Thread Options  Subscribe to this thread Subscribed Users  Add Reply 
Posts: 1,401
Trophies:
1
Is there a way to change what is run to lock the screen in KDE? Currently this is what's run by krunner:
Code:
/usr/lib/kde4/libexec/kscreenlocker --forcelock
I'd like to be able to change it so that when I close the screen (or to Control+Alt+L, or Kickoff>Leave>Lock), instead this is run (as root):
Code:
/usr/bin/vlock --new --disable-sysrq
That way, if I accidentally leave open a different tty when I lock the screen, everything will be locked, instead of just the tty that the X server is running in. Plus it'll allow me to run other commands at screen lock, so I can do things like dismount encrypted TC volumes with sensitive documents and close the KDEWallet, etc.Is there any way to do this?
03-10-2013, 09:24 PM
Reply
Subscribe to this thread Subscribed Users  Add Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Initramfs unpacking failed: Decoding failed then black screen blinking cursor qkathlinewillish 0 2 10-17-2020 01:01 AM
Last Post: qkathlinewillish
  ubuntu 20.04 logoff to a black screen evolution05 0 6 10-13-2020 12:19 PM
Last Post: evolution05
  [ubuntu] Having strange screen issues, not sure if monitor or OS related orileekidd 0 2 10-03-2020 12:13 PM
Last Post: orileekidd
  [ubuntu] [HELP] Ubuntu 20.04 nvidia purple screen (Tried Everything) wsusannahmccyyy 0 3 09-29-2020 04:44 PM
Last Post: wsusannahmccyyy
  [kubuntu] VLC not working if network is blocked by firejail? keiraleach 0 2 09-29-2020 01:02 PM
Last Post: keiraleach
  Acer Spin 3 sp314-54n Touchsreen + Touchpad Not working in Kubuntu 20.04/Ubuntu 20.04 justinbray9 0 3 09-24-2020 07:39 AM
Last Post: justinbray9
  [gnome] Opening lid reveals unlocked screen contents before showing lock-screen ljackilawrhhhek 0 7 09-23-2020 01:38 PM
Last Post: ljackilawrhhhek
  [ubuntu] lightdm - with slick-greeter, login loops back to the lightdm login screen vbasilshawh 0 15 09-16-2020 09:46 AM
Last Post: vbasilshawh
  [gnome] Machine kind of hangs in activities screen ijeffflowersg 0 15 09-08-2020 05:16 AM
Last Post: ijeffflowersg
  [ubuntu] Change pixel format in Ubuntu 20.04 rdaniellabarryr 0 18 09-08-2020 02:40 AM
Last Post: rdaniellabarryr

Forum Jump:



User(s) browsing this thread: 1 Guest(s)



Contact Us Privacy Policy Top RSS
Forum Software By: MyBB, © 2002-2020