* Make lxde-default-settings depends on newer lxsession, to make theme settings
working * Add desktop.conf configuration file for newer lxsession * Add proper fix for gdm and number of desktop from upstream
This commit is contained in:
parent
029f46fef1
commit
898b9d8290
2
debian/control
vendored
2
debian/control
vendored
@ -10,6 +10,6 @@ Vcs-Browser:
|
|||||||
|
|
||||||
Package: lubuntu-default-settings
|
Package: lubuntu-default-settings
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}
|
Depends: ${misc:Depends}, lxsession (>= 0.3.9), gnome-brave-icon-theme
|
||||||
Description: default settings for Lubuntu
|
Description: default settings for Lubuntu
|
||||||
Various system settings tailored for Lubuntu.
|
Various system settings tailored for Lubuntu.
|
||||||
|
21
etc/xdg/lxsession/Lubuntu/desktop.conf
Normal file
21
etc/xdg/lxsession/Lubuntu/desktop.conf
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[Session]
|
||||||
|
window_manager=openbox-lubuntu
|
||||||
|
|
||||||
|
[GTK]
|
||||||
|
sNet/ThemeName=Clearlooks
|
||||||
|
sNet/IconThemeName=gnome-brave
|
||||||
|
sGtk/FontName=Sans 10
|
||||||
|
iGtk/ToolbarStyle=3
|
||||||
|
iGtk/ButtonImages=1
|
||||||
|
iGtk/MenuImages=1
|
||||||
|
iGtk/CursorThemeSize=18
|
||||||
|
iXft/Antialias=1
|
||||||
|
|
||||||
|
[Mouse]
|
||||||
|
AccFactor=20
|
||||||
|
AccThreshold=10
|
||||||
|
LeftHanded=0
|
||||||
|
|
||||||
|
[Keyboard]
|
||||||
|
Delay=500
|
||||||
|
Interval=30
|
@ -18,13 +18,8 @@ if [ ! -f "$OPENBOX_CONF_DIR/lubuntu-rc.xml" ]; then
|
|||||||
cp /usr/share/lubuntu/openbox/rc.xml "$OPENBOX_CONF_DIR/lubuntu-rc.xml"
|
cp /usr/share/lubuntu/openbox/rc.xml "$OPENBOX_CONF_DIR/lubuntu-rc.xml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Workaround for gdm, openbox and the number of desktops
|
# Clean up after GDM (GDM sets the number of desktops to one)
|
||||||
NUMBER_DESKTOPS=`grep \<number\> "$OPENBOX_CONF_DIR/llubuntu-rc.xml" | awk -F \> {'print $2}' | awk -F \< {'print $1}'`
|
xprop -root -remove _NET_NUMBER_OF_DESKTOPS -remove _NET_DESKTOP_NAMES -remove _NET_CURRENT_DESKTOP 2> /dev/null
|
||||||
if test x"`which wmctrl 2>/dev/null`" != x""; then
|
|
||||||
(until [ `wmctrl -d | wc -l ` = "$NUMBER_DESKTOPS" ];do
|
|
||||||
wmctrl -n "$NUMBER_DESKTOPS"
|
|
||||||
done) &
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Enable GTK+2 integration for OpenOffice.org, if available.
|
# Enable GTK+2 integration for OpenOffice.org, if available.
|
||||||
export SAL_USE_VCLPLUGIN=gtk
|
export SAL_USE_VCLPLUGIN=gtk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user