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: jwm desktop icons disappears when..., close the "aterm" openned from .xinitrc< Next Oldest | Next Newest >
godo Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 11 2006,10:07 QUOTE

I am using DSL embedded.
I have written this line in .xinitrc before "dillo" line:

aterm +tr -T "Bash" -e /bin/bash --rcfile ~/.bashrc-ini &

I want to install (from .bashrc-ini) two extension only when the system boot, and I want to write "state messages" on this terminal that inform to the user about the installation process ("Please, wait ..."), in order to prevent the user begins working with these extensions (tools) when they haven't been installed yet.

Everything is working fine, but, if I close this terminal when the installation process is finished, every icon disappear from the desktop . I would like to prevent this, could you help me?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 11 2006,14:26 QUOTE

Maybe there's something screwy in .bashrc-ini

In any case, writing a new script to auto-install extensions is wasting your time. This feature is already built into DSL. Use the "mydsl=something" boot option to point to a partition or directory containing your two extensions, and they will be installed.  This will be done before the user logs in, so the state messages are also unnecessary.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
godo Offline





Group: Members
Posts: 2
Joined: Nov. 2006
Posted: Nov. 11 2006,20:06 QUOTE

Hello.

Thanks for your answer, mikshaw.

I am using qemu to boot "DSL embedded" with both linux and windows (I don't know what O.S. will be installed in PCs where I work, it depends on...). Where do I have to write the "mydsl=somewhere" option?

On the other hand, I have read anymore and I have found one similar solution: there is a file "/opt/.mydsl_dir" (this directory is listed in "~/.filetool.lst", so you can modify it) where I can write the directory where my extensions are, I think that this directory has to be "mount", i.e. my "home backup" would be too big, and I think that it is unnecessary to backup extensions (they are on the web site).

There is another solution: I can run my-script from "/opt/bootlocal.sh" that is ran before X starts. In this script I mount one virtual disk, install the extensions that are saved in it, and umount the virtual disk. So, my "home space" (different virtual disk) is small (only text file: small c programs), and when I finished my "DSL embedded" session, my "home backup" (only my data backup) is quick.

I don't know if I have get to explain it...

Kind Regards.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 12 2006,02:37 QUOTE

The mydsl= is a cheatcode/bootcode.  See the wiki page on cheatcodes for more info.
Back to top
Profile PM 
3 replies since Nov. 11 2006,10:07 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: jwm desktop icons disappears when...

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