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
 

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

reply to topic new topic new poll
Topic: how to really get custom booting behavior, tried to tweak xinitrc file, but...< Next Oldest | Next Newest >
marimo Offline





Group: Members
Posts: 7
Joined: Feb. 2006
Posted: Mar. 04 2006,06:02 QUOTE

I have a HD install of DSL .

So I have read about editing .xinitrc file to customize how elements come up at boot... and my icons no longer come up on boot.I have returned the file to it's orginal state. I have tried to add the 'enhance'  command to the xinitrc file but no joy, no icons at boot.

Also, for example, I have tried to get wavemon to come up at boot-up--doesn't work when I add it to the xinitrc file. Also, I click on 'fully enhanced desktop' listing under the fluxbox menu to get those icons up, then my orinonco-clone wifi card dies (hmm, that's a head scratcher for me)...so then I click on netconfig, go to aterm and type 'wavemon' to make sure I'm getting a nearby wireless signal working. And I usally get it back up again. But, hey, what's happening here?

Another one: due to low ram (256k) on my laptop, I am only using the openoffice.uci file rather than the other openoffice dsl files. OOF doesn't come up when I click on 'fully enhanced desktop' with each reboot I have to reclick on the OOF .uci file in the /tmp file, have all the icons diappear, then select 'fully enhanced desktop' then the icons appear. How do I have these .uci  icons always come up on boot?

Below, I have included my current .xinitirc file.
...and I have commented out dillo. That's it.

Again, any help is appreciated.
And, anyone, feel free to comment in [[  doulbe brackets   ]] or #'s what all this code does, as it would help all us noobs. If there are links somewhere else in this forum that address/answer anything I've asked, please include them. Thanks ahead of time: Marimo


# 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)"

# For German Keyboards
if [ $KEYTABLE == "de" ]; then
 xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi

#if egrep -qv noicons /proc/cmdline 2>/dev/null; then
if [ "$ICONS" == 1 ]; then
 for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done
 iconsnap.lua &>/dev/null &
 xtdesk &>/dev/null &
fi
#dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
torsmo 2>/dev/null &
case $DESKTOP in
 fluxbox )
   fluxter &>/dev/null &
   docked.lua &
   swallow.sh docked &
   exec fluxbox 2>/dev/null  
 ;;
 jwm )
   ./.background
   sleep 2
   exec jwm 2>/dev/null
 ;;
 * )
   exec fluxbox 2>/dev/null
 ;;
esac


--------------
--Marimo
+++++++++++++++
DSL 2.2 HD Install
Dell Inspiron 4000
5 Gigs of a HD, 128 K of ram, and a lot of luck...
+++++++++++++++
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 04 2006,14:22 QUOTE

What does your $HOME/.desktop file look like?  It should contain the line "icons: 1" in order to get icons displayed automatically.

UCI files are mounted, which means they do not persist even if you have a traditional harddrive install.  If you add "mydsl-load /path/to/filename.uci" to $HOME/.bash_profile it should mount automatically when you login.

The 3 variables at the top of the file check for certain options to decide what to do.  
The KEYTABLE variable checks to see if your keyboard needs to be modified for umlaut.
DESKTOP and ICONS check $HOME/.desktop to see which desktop you want to use, and whether to display icons.
Torsmo is the system monitor that displays at the top right of the screen.
The rest is code that utilizes the results of the 3 variables.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Mar. 04 2006,06:02 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: how to really get custom booting behavior

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