"Out of the box" install is rather blank


Forum: HD Install
Topic: "Out of the box" install is rather blank
started by: XXL_Papabear

Posted by XXL_Papabear on May 26 2004,19:21
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

Posted by alochin on May 27 2004,04:11
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.

Posted by XXL_Papabear on May 27 2004,08:48
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!

Posted by Error403 on June 12 2004,04:03
Gota add it, it's damn nice and nifty!
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.