Hello, I created the firefox file to always opening my links in it. When I try from as root from a shell konsole to execute the script I get this
[EMAIL PROTECTED] rhein]# chmod 0755 /user/bin firefoxbugfix chmod: failed to get attributes of `/user/bin': No such file or directory chmod: failed to get attributes of `firefoxbugfix': No such file or directory The file and the directory exist what is wrong? What is the chmod 0755 for? Thank you Christophe Le Dimanche 22 Février 2004 16:41, Todd Slater a écrit : > On Sun, Feb 22, 2004 at 11:07:08PM -0500, Christophe Rhein wrote: > > How do I do that? > > No idea how to do a script??? > > Is it creating a file? > > Thanks and good night! > > Christophe > > Just copy and paste the script into your favorite editor (the script > starts with #!/bin/bash and ends with exit). Edit paths as necessary. > Save it and then make it executable by opening a terminal and giving > the command > > chmod +x scriptname > > where scriptname is whatever name you gave the script when you saved it. > > Todd > > > Le Dimanche 22 Février 2004 03:32 PM, Todd Slater a écrit : > > > On Sun, Feb 22, 2004 at 07:18:50PM -0500, Christophe Rhein wrote: > > > > Hello, > > > > > > > > I installed, with your help Firefox but now I have this problem: > > > > When I click on a link I have the Firefox profile manager that opens > > > > (I clicked on the Don't ask at startup) and since firefox is allready > > > > open... I can not open the link (exept pasting it). > > > > Where can I desactivate the profile manager? > > > > Thank you > > > > Christophe > > > > > > I put this script in /usr/bin and tell all my apps to use it for > > > handling Web pages. It opens pages in a new tab, if you want you can > > > use new-window instead. > > > > > > Todd > > > > > > #!/bin/bash > > > browserPath="/usr/local/firefox/firefox" > > > url="$@" > > > $browserPath -remote "ping()" > > > # $? = false if running, true if not > > > if [ $? = 0 ] ; then > > > exec $browserPath -remote openURL"($url,new-tab)" > > > else > > > $browserPath $url > > > fi > > > exit
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com