mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Fixing #211: startede refers to old X11R6 resource path.
In startede sysresources are refering to older X11R6 (now is X11R7). Also as reported, on some systems the path '/usr/X11' is used too. Solving by removing resource usage at all; not seeing any usefulness of it...
This commit is contained in:
parent
3df8f4ed7e
commit
97da788155
@ -3,7 +3,7 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
# Part of Equinox Desktop Environment (EDE).
|
# Part of Equinox Desktop Environment (EDE).
|
||||||
# Copyright (c) 2007-2009 EDE Authors.
|
# Copyright (c) 2007-2012 EDE Authors.
|
||||||
#
|
#
|
||||||
# This program is licensed under terms of the
|
# This program is licensed under terms of the
|
||||||
# GNU General Public License version 2 or newer.
|
# GNU General Public License version 2 or newer.
|
||||||
@ -55,21 +55,9 @@ export XDG_MENU_PREFIX
|
|||||||
PATH=$PATH:$PREFIX:$PREFIX/bin
|
PATH=$PATH:$PREFIX:$PREFIX/bin
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
userresources=$HOME/.Xdefaults
|
# set the background color inside X
|
||||||
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
|
if command -v xsetroot > /dev/null 2>&1; then
|
||||||
|
xsetroot -solid black
|
||||||
if [ -f $sysresources ]; then
|
|
||||||
xrdb -merge $sysresources
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f $userresources ]; then
|
|
||||||
xrdb -merge $userresources
|
|
||||||
fi
|
|
||||||
|
|
||||||
# set background inside X
|
|
||||||
XSETROOT=`which xsetroot 2> /dev/null`
|
|
||||||
if [ "$XSETROOT" ]; then
|
|
||||||
$XSETROOT -solid black
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# remove leftovers if evoke crashed
|
# remove leftovers if evoke crashed
|
||||||
|
Loading…
Reference in New Issue
Block a user