Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: fluxbox 0.9.14 not loading by xinitrc< Next Oldest | Next Newest >
okango Offline





Group: Members
Posts: 13
Joined: Aug. 2007
Posted: Nov. 11 2007,16:54 QUOTE

Hi, with dsl 3.3 i put some .uci-extensions to xinitrc to load at startup, for ex. firefox, conky and xmahjongg, so that they are mounted and, in the case of conky, running, when fluxbox starts.

The fluxbox_0.9.14.uci i put to bootlocal.sh, so that i can call it in xinitrc instead of the built-in fluxbox_0.1.14 of dsl, and it worked very good.

Now i changed to dsl 4.0rc5 and i cant get fluxbox_0.9.14. The uci is mounted, and the call in xinitrc is the same as in dsl3.3, but it doesn't work.

Here are the .xinitrc-files:

dsl 3.3

# put X windows programs that you want started here.
# Be sure to add at the end of each command the &

KEYTABLE="$(getknoppixparam.lua KEYTABLE)"
DESKTOP="$(getoption.lua $HOME/.desktop wm)"
ICONS="$(getoption.lua $HOME/.desktop icons)"
#  xset +fp /opt/fonts/artwiz-aleczapka

umix -lf .umix 2>/dev/null

[ -f .mouse_config ] && sh .mouse_config &

# For non-US Keyboards
if [ ${KEYTABLE:0:2} != "us" ]; then
 xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi

if [ "$ICONS" == 1 ]; then
 for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done
 iconsnap.lua &>/dev/null &
 xtdesk.sh
fi
if egrep -qv lowram /proc/cmdline 2>/dev/null; then
#  dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
 mydsl-load /tmp/xmahjongg.uci
 mydsl-load /tmp/firefox-2.0-gtk1.uci
 mydsl-load /tmp/conky.uci
 LD_LIBRARY_PATH=/opt/conky/lib /opt/conky/bin/conky &>/dev/null &

torsmo 2>/dev/null &
fi
export PATH="/opt/fluxbox_0.9.14/bin:$PATH"
case $DESKTOP in
 fluxbox )
#    fluxter &>/dev/null &
   wmswallow -geometry 70x80 docked  docked.lua &
   exec /opt/fluxbox_0.9.14/bin/fluxbox 2>/dev/null  
 ;;
 jwm )
   ./.background
   sleep 2
   exec jwm 2>/dev/null
 ;;
 * )
   exec /opt/fluxbox_0.9.14/bin/fluxbox 2>/dev/null
 ;;
esac


dsl 4.0rc5


# put X windows programs that you want started here.
# Be sure to add at the end of each command the &

KEYTABLE="$(getknoppixparam.lua KEYTABLE)"
DESKTOP="$(getoption.lua $HOME/.desktop wm)"
ICONS="$(getoption.lua $HOME/.desktop icons)"
rootMenu.lua "$DESKTOP"

xset +fp /opt/fonts/artwiz-aleczapka

umix -lf .umix 2>/dev/null

[ -f .mouse_config ] && sh .mouse_config &

# For non-US Keyboards
if [ ${KEYTABLE:0:2} != "us" ]; then
 xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi

if [ "$ICONS" == "dfm" ]; then
  /usr/bin/dfm &
else
#  for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done
#  iconsnap.lua &>/dev/null &
  xsri --scale-width=100 --scale-height=100 /usr/share/dfm/backgrounds/lance-blue.xpm
fi
if egrep -qv lowram /proc/cmdline 2>/dev/null; then
#  dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &


LD_LIBRARY_PATH=/opt/conky/lib /opt/conky/bin/conky &>/dev/null &

#  torsmo 2>/dev/null &
fi
export PATH="/opt/fluxbox_0.9.14/bin:$PATH"
case $DESKTOP in
 fluxbox )
#    fluxter -w &>/dev/null &
   exec /opt/fluxbox_0.9.14/bin/fluxbox 2>/dev/null  
 ;;
 jwm )
   exec jwm 2>/dev/null
 ;;
 swm )
   xsetroot -cursor_name left_ptr
   exec swm 2>/dev/null
 ;;
 * )
   exec /opt/fluxbox_0.9.14/bin/fluxbox 2>/dev/null
 ;;
esac

Now i put the mydsl-load-commands too to bootlocal.sh, because when i restart fluxbox, then the ucis are unmounted. In 3.3 i had the same problem.

Could you tell me, why fluxbox_0.9.14 is not loaded.

okango
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 11 2007,18:04 QUOTE

Where are the extensions located?  Perhaps you are actually unmounting them.  After boot, could you paste the output of `mount`?

You could remove "2>/dev/null" from "exec /opt/fluxbox_0.9.14/bin/fluxbox 2>/dev/null" and report any errors you see.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 11 2007,18:59 QUOTE

Is this a traditional hard drive install?

Since MyDSL extensions seemed to be used in this unintended environment. Perhaps, it is time I should support extensions via mydsl boot options as I do for the intended environment of frugal and liveCD.

At present, the option is ignored when traditionally installed. Perhaps doing so will not only make it easier but consistent in usage and thus easier to support at well.
Back to top
Profile PM WEB 
okango Offline





Group: Members
Posts: 13
Joined: Aug. 2007
Posted: Nov. 11 2007,21:25 QUOTE

All uci called in bootlocal.sh are "successfully mounted" and i can see the directorys and files in /opt.

Conky runs after called in xinitrc, but not fluxbox 0.9.14.

And, yes, it is a hard drive install, because my laptop is a armada 4210t without cd and usb.

okango
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 12 2007,00:45 QUOTE

The default window manager has changed in DSL 4 to jwm. Your .xinitrc would probably work if the default was still fluxbox. What do you have in /home/dsl/.desktop?

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
12 replies since Nov. 11 2007,16:54 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: fluxbox 0.9.14 not loading by xinitrc

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code