DoC Computing Support Group


Revision 6 as of 2015-04-22 10:14:13

Clear message

Unlocking Applications

Your graphical session on a departmental Linux computer may, from time to time, be interrupted by some unforeseen event:

At your next graphical session, you may find that some applications have left behind lock files. If there is no running application associated with these lock files they are considered stale. Their presence may stop subsequent launch of applications that check to prevent more than one application instance being run at a time.

Please find below commands to run in a terminal to remove stale lock files for a number of common applications. After running the relevant commands, you should then be able to launch the affected applications.

Please note: if you have exceeded your quota, you should address that first.

Firefox

cd
\find ~/.mozilla/firefox -name lock -type l -exec rm {} \;
\find ~/.mozilla/firefox -name .parentlock -size 0 -exec rm {} \;

Thunderbird

cd
\find ~/.*thunderbird -name lock -type l -exec rm {} \;
\find ~/.*thunderbird -name .parentlock -size 0 -exec rm {} \;

Google Chrome

\rm -f ~/.config/google-chrome/SingletonLock

Chromium

\rm -f ~/.config/chromium/SingletonLock

Eclipse

\rm -f ~/workspace/.metadata/.lock