Originally Posted by
eraevous
Thanks, I was looking for exactly that program. Does anyone know how I could go about running that using a keyboard shortcut? I thought I knew, but I keep failing.
I just started using xtrlock(universe repositories) as my transparent screensaver so the kids could watch movies and shows without being able to change anything. For some reason it couldn't be called directly, so I created a script called lockwithaview that calls xtrlock.
Install xtrlock if you haven't already(must have the universe repos enabled):
Code:
sudo apt-get install xtrlock
Lets create a new file in /usr/local/bin called lockwithaview and open it with gedit:
Code:
sudo gedit /usr/local/bin/lockwithaview
It should contain the following(cut and paste):
Code:
#!/bin/bash
sleep 1 && xtrlock
Save the file and close gedit.
Make it executable:
Code:
sudo chmod a+x /usr/local/bin/lockwithaview
Create a keyboard shortcut to execute lockwithaview(I used ctrl+alt+k) and you are finished.
Now if someone would fix the bug where you can change TTYs, let you customize the blue lock icon, and make it an option for gnome-screensaver it would be just about perfect.
Bookmarks