LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How do I disable "lock screen" in Gnome. (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-disable-lock-screen-in-gnome-530035/)

tallmtt 02-17-2007 08:21 PM

How do I disable "lock screen" in Gnome.
 
I am configuring a new remote for my MythTV box (running Ubuntu Edgy, Myth 0.20) and one of the buttons locks the screen! I have successfully attributed "Escape" button to it through xmodmap, and its keycode does not seem to be mapped to anything else!

I tried to change the key that locks the screen - in /etc/acpi/lockbtn.sh it says:
acpi_fakekey $KEY_COFFEE

and I commented it out without results :(

I then attempted to change the /usr/share/acpi-support/key-constants and put the keycode for the button I want to lock the screen instead of $KEY_COFFEE but that also failed to fix the issue :(

I am pulling out my hair!!!

The stupid button on the remote still locks the screen and the one I want for that function does nothing!

If I can't find the answer soon - I might just uninstall xscreensaver (I think that has the program to lock the screen - if not - please tell me :) ). I would rather not be able to lock the screen than to be unable to get this button to stop locking it.

Thanks for any reply and attempt for help.

blackhole54 02-18-2007 06:28 AM

I may be way off base here, but in Gnome, if you go to System -> Preferences -> Keyboard Shortcuts, one of "keyboard shortcuts" you will find is for locking the screen. I was actually playing with that yesterday, and either I couldn't figure out which key that was mapped to (I wasn't sure I was reading it right) or it didn't work. But you might try disabling it (apparently by clicking on it and hitting backspace) and see if that helps.

Good luck. (A am still learning edgy/Gnome 2.x myself!)

tallmtt 02-18-2007 01:02 PM

Thanks for your reply. I have tried that route, according to the Gnome Keyboard Shortcuts - the "lock screen" shortcut is disabled. Go figure, huh?


Thanks anyways for your help. Good luck learning Edgy - it is a great distro and very easy to use with lots of people to help out. Have fun with it.


I feel like the solution will be through the commandline - any other ideas people?

alfayate 06-28-2007 07:14 AM

Disable lock screen
 
Quote:

Originally Posted by tallmtt
Thanks for your reply. I have tried that route, according to the Gnome Keyboard Shortcuts - the "lock screen" shortcut is disabled. Go figure, huh?


Thanks anyways for your help. Good luck learning Edgy - it is a great distro and very easy to use with lots of people to help out. Have fun with it.


I feel like the solution will be through the commandline - any other ideas people?

Hi.

I was trying to disable the "lock screen" button in Ubuntu. I managed to do that by entering this command as root:

chmod o-x /usr/bin/gnome-screensaver-command

I guess that will prevent users to use the "gnome-screensaver-command --lock" that is the command used in Gnome to launch and lock the screensaver.

tallmtt 07-09-2007 11:05 AM

Thank you.


All times are GMT -5. The time now is 09:03 PM.