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: (4) </ 1 2 [3] 4 >/

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

reply to topic new topic new poll
Topic: Fool-proofing dsl, a few odd questions< Next Oldest | Next Newest >
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: April 21 2007,00:08 QUOTE

Here's the original from 2.1b. I don't know if any of the lua scripts called in it were changed when Robert upgraded everything to murgalua:
Code Sample

# 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


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
KeatonTech Offline





Group: Members
Posts: 18
Joined: Nov. 2006
Posted: April 21 2007,01:36 QUOTE

thanks lucky13 :)
Back to top
Profile PM 
KeatonTech Offline





Group: Members
Posts: 18
Joined: Nov. 2006
Posted: April 21 2007,03:25 QUOTE

Ok, so that disaster was averted and I now have it boot up to a nice, full screen, opera browser (I somehow broke firefox, I actually like opera a lot). I still have a few issues though. I do want the computer to auto logon but i'm a little confused how to so that (I'm not THAT good with linux). I also cannot seem to get acpid to even install, the myDSL extension doesn't seem to do anything and I can't get to it through any other means. Other than that I think my moms gonna love this machine.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: April 21 2007,09:21 QUOTE

Init starts services with /etc/initrc. There are lines for every runlevel, either like "c1:2345:getty 9600" or "c1:2345:bash -login". If it's getty, change that getty part to just bash (or ash), or remove that -login option if it's bash already. That way login is not even started, it logs automagically as root.

Then in the start of .xinitrc use su to change into another user, like "su - myuser"


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
KeatonTech Offline





Group: Members
Posts: 18
Joined: Nov. 2006
Posted: April 21 2007,14:59 QUOTE

Well, I don't seem to have /etc/initrc, i have /etc/init (Not human readable) and inittab (doesn't have anything like 'c1:2345:getty', It's got some other stuff with getty but I changed that and it wouldn't boot up.)
Back to top
Profile PM 
16 replies since April 20 2007,02:54 < Next Oldest | Next Newest >

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

Pages: (4) </ 1 2 [3] 4 >/
reply to topic new topic new poll
Quick Reply: Fool-proofing dsl

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