diff options
author | Volker Uhrig | 2007-10-15 21:07:52 +0200 |
---|---|---|
committer | Volker Uhrig | 2007-10-15 21:07:52 +0200 |
commit | 302bb2ba28f55a7dd1f0af736bb66914cba47216 (patch) | |
tree | 2129d25df28b04319a7a7818d248c347bce12b19 /virtualization | |
parent | sync with current used version. Basically scanner option included (diff) | |
download | core-302bb2ba28f55a7dd1f0af736bb66914cba47216.tar.gz core-302bb2ba28f55a7dd1f0af736bb66914cba47216.tar.xz core-302bb2ba28f55a7dd1f0af736bb66914cba47216.zip |
Sync with current system. Background themes added
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1385 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'virtualization')
-rw-r--r-- | virtualization/templates/xdialog.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/virtualization/templates/xdialog.sh b/virtualization/templates/xdialog.sh index 031921a4..dd1c5862 100644 --- a/virtualization/templates/xdialog.sh +++ b/virtualization/templates/xdialog.sh @@ -6,6 +6,17 @@ #TODO: change path_to_this_script to path of this file. needed, because # a return will exit Xdialog + +themesdir="/var/lib/openslx/themes" +res=$(xvidtune -show | grep -wo "\".*\"" | sed "s/\"//g") +if ! [ -f ${themesdir}/bootsplash/images/silent-${res}.jpg ]; then + img=$(ls ${themesdir}/bootsplash/images/ | grep -m 1 "silent") + display -window root ${themesdir}/bootsplash/images/${img} +else + display -window root ${themesdir}/bootsplash/images/silent-${res}.jpg +fi + + $($(which Xdialog) --rc-file /var/lib/openslx/themes/Xdialog/gtkrc \ --title "Desktop / VMware-ImageMenu" \ --screen-center \ |