
Help!
HMI inspection tomorrow and we've just found out that shortcuts created by IE in windows and saved to shared folder don't open in Firefox on eeePC
Doesn't seem to be a way to create them from Firefox on eeePC either
Any ideas (apart from running around all 24 of the little darlings!)
regards
Simon

put the links onto a website
Well I guess this is because IE bookmarks are a format unique to MS, It's possible to import them see: Import bookmarks - MozillaZine Knowledge Base
I use foxmarks to manage my personal bookmarks which means they sync automatically see: Foxmarks
Cheers
Jona

@cybernerd
could do but then I'd need a shortcut to the website - catch 22(and not really practical to setup in 15 hours
)
@jona
Its individual links I'm after - I've trained teachers over the years just to send a shortcut to the desktop and then copy that shortcut to their class shared area and then direct class to their shared area and double-click the shortcut - thats the functionality I'm after
regards
Simon

I've got as far as this script
which will parse the url file and return just the address but I can't seem to work out how to associate the suffix .url with running this script.Code:#! /bin/bash cat $1 | grep -v BASEURL= | grep URL= | sed 's/URL=//g'
You can seem to do it in File Manager (which is where I want to run it from) but any changes I make don't seem to stick - I can't even get it just to open it in kwrite
regards
Simon

is this kde or the default simple menu?Code:firefox `cat $1 | grep -v BASEURL= | grep URL= | sed 's/URL=//g'`

default simple menu
Where do you suggest I stick your code
regards
Simon

create a file in /usr/local/bin called something like url.sh
and make it executable.Code:#! /bin/bash firefox `cat $1 | grep -v BASEURL= | grep URL= | sed 's/URL=//g'`Then associate the .url extensions with that script, when you click they should open in firefox.Code:chmod u+x /usr/local/bin/url.sh
I'm really not too sure how to get the file association working in the simple menu (icewm) though. It should be- Control Center -> File Manager -> File Associations. But the filemanager is konqeror (a kde app) and this might be why it doesn't save in simple menu ?.

1 step forward - 1 back
Set FIrefox as the application to open *.url
When Firefox says what shall I do with it - say open with url.sh script and say remember.
That works!
Unfortunately - some .url files don't follow the same pattern as others so I need to go back to the parsing script again
e.g
was the one i assumed they all followed and theni found this oneCode:[DEFAULT] BASEURL=http://www.bbc.co.uk/ [InternetShortcut] URL=http://www.bbc.co.uk/ Modified=201A631F52A9C80180 IconFile=http://www.bbc.co.uk/favicon.ico IconIndex=1
Code:[DEFAULT] BASEURL=http://www.express.co.uk/ [DOC_miva] BASEURL=http://contentsearch.espotting.com/search/content/implementations/results.asp?affiliateid=5128&resulttype=dailyexpress_skyscraper&contentidentifier=Exnews&hits=2 ORIGURL=http://contentsearch.espotting.com/search/content/implementations/results.asp?affiliateid=5128&resulttype=dailyexpress_skyscraper&contentidentifier=Exnews&hits=2 [InternetShortcut] URL=http://www.express.co.uk/ Modified=7006DFE10A3BC70143 IconFile=http://www.express.co.uk/favicon.ico IconIndex=1

Nearly there (inspection over now of course !)
Works for the 3 different types i've found so farCode:#!/bin/bash urltest1=`cat $1 | grep ORIGURL=` if [ $? != 0 ]; then urltest2=`cat $1 | grep BASEURL=` if [ $? != 0 ]; then firefox `cat $1 | grep URL= | sed 's/URL=//g'` else firefox `cat $1 | grep BASEURL= | sed 's/BASEURL=//g'` fi else firefox `cat $1 | grep ORIGURL= | sed 's/ORIGURL=//g'` fi
Couple of issues - it generates a blank tab and the wanted tab and also it doesn't switch focus to FIrefox - is their a method of forcing that?
regards
Simon
There are currently 1 users browsing this thread. (0 members and 1 guests)