Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

*simply* locking the screen under Xfree

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
dju`
Retired Dev
Retired Dev
Posts: 370
Joined: Tue Feb 11, 2003 5:33 pm

*simply* locking the screen under Xfree

  • Quote

Post by dju` » Thu Apr 29, 2004 6:52 am

hi, i'm looking for a program which could lock the screen under Xfree but without any screensaver stuff. just a black screen. it should just ask for a password when the mouse is moved or a key is pressed. it should disallow the use of ctrl+alt+f1 or ctrl+alt+backspace. it should also be as smallest as possible and not depends on anything other than Xfree. if one of you is aware of such an app, say so!
Top
niebie
n00b
n00b
Posts: 56
Joined: Sat Nov 01, 2003 5:34 pm

  • Quote

Post by niebie » Thu Apr 29, 2004 8:33 am

The most simple program that comes to mind is xtrlock - it really just locks the X server until the right password is entered. The cursor changes to a lock as indicator. To unlock you just type your password - there is no password prompt or something. It doesn't blank the screen or locks it automatically - you would have to do this by hand. I use this prog on my laptop and have a shortcut there, which executes "xset dmps force off && xtrlock" to blank and lock the screen.

However there is also xautolock. But I haven't tried it yet. And xlockmore, but that one has also some simple screensaver modes I think. They are all in portage so you can just emerge them and take what you like most.

To disable the ctrl-alt-stuff you have to edit your XF86Config:

Code: Select all

Section "ServerFlags"
    # disable Ctrl-Alt-F[1-12]
    Option "DontVTSwitch"
    # disable Ctrl-Alt-Backspace
    Option "DontZap"
EndSection
Top
rewt
n00b
n00b
User avatar
Posts: 58
Joined: Thu Feb 19, 2004 9:38 am

  • Quote

Post by rewt » Thu Apr 29, 2004 8:38 am

xautolock is pretty straight forward and should do what you want
I use it myself
What window manager do you use. KDE has a menu option to lock the keyboard. Probably GNOME too?
Because sometimes peace is another word for surrender... and secrets have a way of getting out
Top
dju`
Retired Dev
Retired Dev
Posts: 370
Joined: Tue Feb 11, 2003 5:33 pm

  • Quote

Post by dju` » Thu Apr 29, 2004 10:52 am

thanks. i've already looked at those apps but it require scripting a bit. i was hopping for something like xscreensaver without the screensavers :) i may find a solution with xautolock, or maybe i'll code something.
niebie: i just want to disable ctrl+alt+stuff only when the screen is locked.
rewt: i'm using fluxbox.
Top
niebie
n00b
n00b
Posts: 56
Joined: Sat Nov 01, 2003 5:34 pm

  • Quote

Post by niebie » Thu Apr 29, 2004 4:18 pm

dJu` wrote:niebie: i just want to disable ctrl+alt+stuff only when the screen is locked.
I think thats not possible with xfree because its handled directly by the server so that no application can intercept those keyboard events. I think its a common problem that all screen lockers have. (see for example here)
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic