Commit 3112f869 authored by Jens Henrik Goebbert's avatar Jens Henrik Goebbert
parents 2c0d01ca 7f16877a
......@@ -67,7 +67,7 @@ vncserver
On JURECA the command *vncserver* has the additional option *'profile'*
```shell
vncserver -profile vis
``
```
The VNC server calls *${HOME}/.vnc/xstartup[.turbovnc]* (use *dot.vnc/xstartup[.turbovnc]* from this repository),
which must call **xdg_profile_set.sh** currently located in *etc/xdg/* of this repository.
......@@ -173,35 +173,22 @@ file://PATH_TO_YOUR_FOLDER PLACE_NAME
#### Info-Terminal
An info terminal can be part of a profile to present text information to the user.
<<<<<<< HEAD
It is located in *${XDG_DATA_DIR}/infoterm-\<cmd\>-\<profile\>*.
=======
It is located in *etc/xdg/xdg_profiles/\<profile\>/config/infoterm-\<profile\>*.
It is started via the desktop-file *etc/xdg/xdg_profiles/\<profile\>/config/autostart/infoterm-\<profile\>.desktop* on every start of XFCE4 with the desktop profile \<profile\>.
In all directories of XDG_CONFIG_DIRS the script infoterm-\<profile\>.sh is searched and (if found) executed:
```shell
IFS=:
for p in ${XDG_CONFIG_DIRS}; do
if [ -e ${p}/infoterm-\<profile\>/infoterm-\<profile\>.sh ]; then
${p}/infoterm-\<profile\>/infoterm-\<profile\>.sh
break
fi
done
```
infoterm-\<profile\>.sh must be unique and only part of a single desktop profiles - do not use the same name in multiple desktop profiles.
>>>>>>> 9561c64f238d0d8ee272bb4c99c8121c96fa1761
An info terminal can be part of a profile to present text information to the user on the desktop background image.
It is started via the desktop-file *etc/xdg/xdg_profiles/\<profile\>/config/autostart/infoterm-\<cmd\>-\<profile\>.desktop* on every start of XFCE4 with the desktop profile \<profile\>.
The configuration of the info terminal is done partly in *infoterm-\<cmd\>-\<profile\>.sh* and partly by setting the application specific XDG_CONFIG_HOME to *etc/xdg/xdg_profiles/\<profile\>/data/infoterm-\<cmd\>-\<profile\>*.
This is for settings, which cannot be done via command line parameters like transparency and are only stored in configuration files.
##### window settings
An info terminal is supposed to stay in the background and should not be present in the tasklist or on the pagers.
This is achived via devilspie2 (https://savannah.nongnu.org/projects/devilspie2).
Infoterminals are normal XFCE4-terminal windows embedded into the background image by
- removing window border
- hiding it in tasklist and pagers
- set to stay always in the background
- visible on all workspaces
- never getting the focus
- setting their window-background-color to transparent
- fixing their position
For some of these settings libwnck is used via the tool devilspie2 (http://savannah.nongnu.org/projects/devilspie2/)
Devil's Pie can be configured to detect windows as they are created, and match the window to a set of rules.
If the window matches the rules, it can perform a series of actions on that window.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment