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: "Out of the box" install is rather blank, How do I persuade DSL to show me icons?< Next Oldest | Next Newest >
XXL_Papabear Offline





Group: Members
Posts: 8
Joined: Jan. 2004
Posted: May 26 2004,19:21 QUOTE

I installed DSL 0.5.3.1 from the CD to my HD.

When it boots, I get X with no icons. I have to "enhance" first. It's only then that I get to see those icons on my desktop.

How do I get it to remember the last state? In other words, how do I get it to show me those icons the next time when it boots X ?

Thanks in advance,

Papabear


--------------
No vision, no future. No future, no hope.
Back to top
Profile PM 
alochin Offline





Group: Members
Posts: 18
Joined: May 2004
Posted: May 27 2004,04:11 QUOTE

Open a file called .xinitrc (it is a hidden file). You also have to be root to be able to modify and save it:

sudo -u root scite "/home/damnsmall/.xinitrc

This will open the startup file under root.
Then you modify two lines: place the sign # in front of them to "disable" them (they will become comment instead of code):

This is the full content of the file:

# put X windows programs that you want started here.
# Be sure to add at the end of each command the &
grep enhance /proc/cmdline >/dev/null
# if [ $? == 0 ]; then
 enhance &>/dev/null &
# fi
# dillo -f /usr/share/doc/damnsmall/getting_started.html &>/dev/null &
fluxbox

Line 4 and 6 have being disabled.
You can see that I also disabled the line that pops up dillo at startup (line 7).
Save the file and test it by opening the menu.

To be fancier, you can add a line in the menu file, so that you have access to the startup file easily, anytime you want to change your startup script.

Open the menu file under root (another hidden file):

sudo -u root scite "/home/damnsmall/.fluxbox/menu

Add the following line at the appropriate place (wherever you want the menu item to appear):

[exec] (Startup) {sudo -u root scite "/home/damnsmall/.xinitrc"}

Now you have a "Startup" menu item that opens the .xinitrc under root.

Andre.


--------------
All wars are civil wars, because all men are brothers.
Back to top
Profile PM 
XXL_Papabear Offline





Group: Members
Posts: 8
Joined: Jan. 2004
Posted: May 27 2004,08:48 QUOTE

Thanks, André!

It works. Nice, to be able to adapt the menu's (didn't know where to do that untill you pointed it out...)

:D A happy Papabear greetz you!


--------------
No vision, no future. No future, no hope.
Back to top
Profile PM 
Error403 Offline





Group: Members
Posts: 14
Joined: June 2004
Posted: June 12 2004,04:03 QUOTE

Gota add it, it's damn nice and nifty!
Back to top
Profile PM 
3 replies since May 26 2004,19:21 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: "Out of the box" install is rather blank

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