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

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

reply to topic new topic new poll
Topic: how to load firefox uci automatically, need to click mydsl to load each time< Next Oldest | Next Newest >
thinketh Offline





Group: Members
Posts: 4
Joined: Aug. 2006
Posted: Aug. 25 2006,09:02 QUOTE

Hi,

I clicked on MyDsl Icon -> UCI -> firefox-1.5.uci.info and downloaded firefox 1.5 into /tmp. I also did MyDsl Icon ->GTK2 -> gtk2-0705.dsl.info. And MyDsl Icon -> UCI -> jre1_5_0.uci.info.

Then to load firefox,
I did MyDsl Icon -> Load Local Extensions -> /tmp/jre1_5_0.uci.
And then MyDsl Icon -> Load Local Extensions ->/tmp/firefox-1.5.uci

1. Is there anyway to load the uci files automatically so that I don't have to go through the MyDsl icon? Any shorter ways or suggestions would be appreciated.

2. Also, I created a different user other than "dsl". How do I load the uci files automatically from this other account?

3. Assuming I can get firefox 1.5 everytime, how do I remove the existing 1.0?

Thanks for your help.

Regards,
Hongping
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 25 2006,14:12 QUOTE

When you dowload an extension through mydsl gui the extensions should be automatically loaded, your "Then to load firefox" steps are redundant.

To load extensions automatically, they should be placed in a directory called "mydsl" in the top level of your DSL installation (same place where the "KNOPPIX" directory is found.  This can be done easily in frugal, but requires a "make mydsl cd remaster" for a liveCD.  If you're using a CD and don't want to remaster, you can put them in any directory on a readable/mountable harddrive (NOT within the DSL filesystem in ramdisk) and point the bootloader to it by sending the boot option "dsl mydsl=hdxx/path/to/directory".

If you need to enable Gtk2, look at the mydsl menu item created when the extension is installed (in /home/dsl/.fluxbox/mydsl.menu), and put that command in /opt/bootlocal.sh (and make sure it's being backed up).

If you create a new user he should have little trouble running the apps, but you will need to create the menu item and/or icon yourself. If the apps are loaded automatically during boot, there is no need to be concerned about what user is going to be logged in....the apps are loaded before that happens.

Removing firefox 1.0 requires a remaster of the KNOPPIX file:
http://damnsmalllinux.org/cgi-bin....77;st=0


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





Group: Members
Posts: 4
Joined: Aug. 2006
Posted: Aug. 25 2006,17:20 QUOTE

Thank you for your reply. I forgot to mention in my post that I actually did a full hard drive install.

In this case, I don't have a /mydsl directory. And when I boot, there is no place for me to specify where the mydsl directory is.

Where should I put the downloaded extensions, and which file should I edit so that they can be loaded on boot?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 25 2006,19:49 QUOTE

If you have the traditional harddrive install, you don't really need to reinstall anything.  The gtk2 extension remains installed, so the only thing you have to be concerned about are the uci packages, which are mounted rather than installed.  The result is, as you probably guessed, that they are unmounted when you shut down.

There are two solutions that I can think of right now....
1) mount both uci packages, copy the newly created /opt/whatever directories to a temporary location (as root), unmount the UCIs, then copy the temp directories back into /opt, using the same directory structure as the original package.  This method allows you to trash the uci, since it is now permanently installed.

2) Copy the uci files wherever you find convenient, and add a mydsl-load command for them in /opt/bootlocal.sh:
su - dsl -c mydsl-load /path/to/extensions/{jre1_5_0,firefox-1.5}.uci


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





Group: Members
Posts: 245
Joined: May 2005
Posted: Sep. 24 2006,17:48 QUOTE

in the second case the command line in bootlocal.sh is

mydsl-load /"path to uci files"

and works with su -dsl -c the system hangs and is waiting something...
Back to top
Profile PM 
9 replies since Aug. 25 2006,09:02 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: how to load firefox uci automatically

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