Know when someone accesses your files in GNOME

Posted by suvi under Gnome

Say you want to write a small shell script that locks up your GNOME desktop at specific intervals. What command would you use?
In this case, your best bet would be

gnome-screensaver-command –lock

This has the same effect as you pushing the Lock Screen button in GNOME. You can forge a small shellscript and use this to lock up your desktop when someone launches an application. Or append the line at the end of the Brasero launch command, using the icon’s command line field, so that whenever someone tries to burn something without your knowledge, the screen will lock up immediately afterwards. For example:

Read more at Tips4Linux

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word