This commit is contained in:
committed by
Git OBS Bridge
parent
0222d4bcbc
commit
fcfe1ac5b8
27
gnome
27
gnome
@@ -15,7 +15,7 @@ export KDEDIR=/opt/kde3
|
||||
#
|
||||
# We use a cascaded KDE configuration while in GNOME,
|
||||
# to preconfigure some utilities better suited for GNOME
|
||||
export KDEDIRS=/opt/gnome/share/dist/kde-preconf
|
||||
export KDEDIRS=/usr/share/dist/kde-preconf
|
||||
#
|
||||
#
|
||||
# Manage GTK1 themes with gnome-theme-manager
|
||||
@@ -45,8 +45,8 @@ function use_gnome2_default_no_settings {
|
||||
[ -e $HOME/.skel/gnome2-run ] && return
|
||||
|
||||
# run possibly available addon-scripts
|
||||
if [ -d /opt/gnome/share/dist/addon-scripts ] ; then
|
||||
for scr in /opt/gnome/share/dist/addon-scripts/*; do
|
||||
if [ -d /usr/share/dist/addon-scripts ] ; then
|
||||
for scr in /usr/share/dist/addon-scripts/*; do
|
||||
[ -r "$scr" ] && . "$scr"
|
||||
done
|
||||
fi
|
||||
@@ -57,10 +57,10 @@ fi
|
||||
# (set help browsers to epiphany & nautilus)
|
||||
if [ ! -d ~/.gnome ] ; then
|
||||
mkdir -p ~/.gnome
|
||||
cp /opt/gnome/share/dist/gnome1/* ~/.gnome/
|
||||
cp /usr/share/dist/gnome1/* ~/.gnome/
|
||||
fi
|
||||
if [ ! -e ~/.gtkrc ] ; then
|
||||
cp /opt/gnome/share/dist/gnome1/gtkrc ~/.gtkrc
|
||||
cp /usr/share/dist/gnome1/gtkrc ~/.gtkrc
|
||||
fi
|
||||
|
||||
|
||||
@@ -96,8 +96,8 @@ fi
|
||||
|
||||
|
||||
# run possibly available addon-scripts
|
||||
if [ -d /opt/gnome/share/dist/addon-scripts ] ; then
|
||||
for scr in /opt/gnome/share/dist/addon-scripts/*; do
|
||||
if [ -d /usr/share/dist/addon-scripts ] ; then
|
||||
for scr in /usr/share/dist/addon-scripts/*; do
|
||||
[ -r "$scr" ] && . "$scr"
|
||||
done
|
||||
fi
|
||||
@@ -108,10 +108,10 @@ fi
|
||||
# (set help browsers to epiphany & nautilus)
|
||||
if [ ! -d ~/.gnome ] ; then
|
||||
mkdir -p ~/.gnome
|
||||
cp /opt/gnome/share/dist/gnome1/* ~/.gnome/
|
||||
cp /usr/share/dist/gnome1/* ~/.gnome/
|
||||
fi
|
||||
if [ ! -e ~/.gtkrc ] ; then
|
||||
cp /opt/gnome/share/dist/gnome1/gtkrc ~/.gtkrc
|
||||
cp /usr/share/dist/gnome1/gtkrc ~/.gtkrc
|
||||
fi
|
||||
|
||||
|
||||
@@ -181,11 +181,11 @@ touch ~/.skel/sled10-run
|
||||
# set up an arbitrary icon path for nautilus, accessing YaST Icons and, if installed, common KDE icons
|
||||
KDE_CRYSTAL_32=/opt/kde3/share/icons/crystalsvg/32x32
|
||||
KDE_CRYSTAL_48=/opt/kde3/share/icons/crystalsvg/48x48
|
||||
GNOME_DEFAULT_32=/opt/gnome/share/icons/gnome/32x32
|
||||
GNOME_DEFAULT_48=/opt/gnome/share/icons/gnome/48x48
|
||||
GNOME_DEFAULT_32=/usr/share/icons/gnome/32x32
|
||||
GNOME_DEFAULT_48=/usr/share/icons/gnome/48x48
|
||||
YAST_ICONS=/usr/share/YaST2/theme/current/icons/48x48
|
||||
|
||||
export GNOME_ICON_PATH=/usr/share/images:$YAST_ICONS/apps:$KDE_CRYSTAL_32/apps:$KDE_CRYSTAL_32/devices:$KDE_CRYSTAL_32/mimetypes:$KDE_CRYSTAL_32/filesystems:$KDE_CRYSTAL_32/actions:$KDE_CRYSTAL_48/apps:$KDE_CRYSTAL_48/devices:$KDE_CRYSTAL_48/mimetypes:$KDE_CRYSTAL_48/filesystems:$KDE_CRYSTAL_48/actions:$GNOME_DEFAULT_48/apps:$GNOME_DEFAULT_32/apps:/opt/gnome/share/pixmaps
|
||||
export GNOME_ICON_PATH=/usr/share/images:$YAST_ICONS/apps:$KDE_CRYSTAL_32/apps:$KDE_CRYSTAL_32/devices:$KDE_CRYSTAL_32/mimetypes:$KDE_CRYSTAL_32/filesystems:$KDE_CRYSTAL_32/actions:$KDE_CRYSTAL_48/apps:$KDE_CRYSTAL_48/devices:$KDE_CRYSTAL_48/mimetypes:$KDE_CRYSTAL_48/filesystems:$KDE_CRYSTAL_48/actions:$GNOME_DEFAULT_48/apps:$GNOME_DEFAULT_32/apps:/usr/share/pixmaps:/opt/gnome/share/pixmaps
|
||||
|
||||
|
||||
# start up the gnome2 session
|
||||
@@ -207,5 +207,4 @@ fi
|
||||
|
||||
|
||||
|
||||
exec /opt/gnome/bin/gnome-session
|
||||
|
||||
exec /usr/bin/gnome-session
|
||||
|
Reference in New Issue
Block a user