Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
apps:screensaver:faq [2018/11/23 07:37] bluesabreapps:screensaver:faq [2018/11/25 16:24] bluesabre
Line 1: Line 1:
-====== Frequently Asked Questions ======+====== Xfce Screensaver FAQ ====== 
 + 
 +===== Why doesn't the screensaver/lock screen activate when I attempt to lock my computer?  ===== 
 + 
 +You are likely running an unpatched xflock4, which does not know about xfce4-screensaver.\\ 
 +This has been [[https://git.xfce.org/xfce/xfce4-session/commit/?id=baf23e096da712084e54b47faa49c1ca99665b75|resolved upstream]], but will need to be manually added until the next Xfce Session release. 
 + 
 +All you need to do is add ''xfce4-screensaver-command --lock'' to the available lock commands. 
 +<code> 
 +$ cat /usr/bin/xflock4 
 + 
 +PATH=/bin:/usr/bin:/usr/local/bin 
 +export PATH 
 + 
 +# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running 
 +for lock_cmd in \ 
 +    "xfce4-screensaver-command --lock"
 +    "xscreensaver-command -lock" \ 
 +    "light-locker-command --lock"
 +    "gnome-screensaver-command --lock" 
 +do 
 +    $lock_cmd >/dev/null 2>&1 && exit 
 +done 
 + 
 +</code> 
  
 ===== Why doesn't my monitor turn off automatically? ===== ===== Why doesn't my monitor turn off automatically? =====
Line 52: Line 77:
 </code> </code>
  
 +===== Where are all the screensavers? =====
 +
 +Xfce Screensaver uses Xscreensaver-compatible screensavers. These can usually be installed separately from the main Xscreensaver package.
 +
 +If you've already installed the screensavers and they still are not available, you may need to create desktop entries for them so they can be found by Xfce Screensaver. In the future, this process will be automated by Xfce Screensaver. Meanwhile, it is not hard to make your own.
 +
 +**''Example''**
 +
 +By looking at ''/usr/share/xscreensaver/config/abstractile.xml'', all of the importing information can be found.
 +
 +<code>
 +<?xml version="1.0" encoding="ISO-8859-1"?>
 +
 +<screensaver name="abstractile" _label="Abstractile">
 +
 +  <command arg="-root"/>
 +  ...
 +</code>
 +
 +The compatible desktop entry, installed to ''/usr/share/applications/screensavers/abstractile.desktop'', looks like this.
 +
 +<code>
 +[Desktop Entry]
 +Type=Application
 +Name=Abstractile
 +Exec=/usr/lib/xscreensaver/abstractile -root
 +TryExec=/usr/lib/xscreensaver/abstractile
 +Categories=Screensaver;
 +</code>
  
 +In this example, you can see that the ''Name'' key is derived from the screensaver label, ''Exec'' and ''TryExec'' both use the screensaver binary path, and the ''Exec'' key also includes the command arguments.