Discussion:
Putting website shortcuts on the desktop in Lubuntu 14.04 LTS
Marc Tremblay
2014-09-30 13:10:41 UTC
Permalink
Good morning,

I work for a school board in Montreal and we are finally shifting over to open source software for our older computer labs using Lubuntu 14.04 instead of windows 7. The performance between the two is incomparable and schools are saving up to 15 000$ by converting to Lubuntu instead of purchasing new hardware.

Our teachers have been working with us on this and one big request is to put shortcut to web sites on the desktop. I thought this would be a simple request but I am unable to find any information on how to do this. Can anyone help?

Thanks

Marc Tremblay
Educational Services Dept
Lester B. Pearson School Board
1925 Brookdale
Dorval, H9P 2Y7

mtremblay at lbpsb.qc.ca<mailto:mtremblay at lbpsb.qc.ca>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20140930/18f79467/attachment.html>
Pierre Gobin
2014-09-30 13:38:14 UTC
Permalink
Hi,

It can be done with a custom .desktop file.

To do it easily with the GUI :

* Go in Lubuntu Menu, right click on Firefox (or an other web
browser), and click on ? Create a shortcut on the desktop ? ;

* Right click on your new shortcut, and choose ? Shortcut Editor ? (I
am not sure of the English name) ;

* In the dialog, go in the "Desktop Entry" tab, and modify the
command. For Firefox, I have ? firefox %u ? : you can modify it by ?
firefox %u "http://www.yourwebsite.com" ?.


In this dialog, you can also modify the icon, label, etc.

I hope it can help,

Kind regards,
Pierre Gobin
Post by Marc Tremblay
Good morning,
I work for a school board in Montreal and we are finally shifting over
to open source software for our older computer labs using Lubuntu
14.04 instead of windows 7. The performance between the two is
incomparable and schools are saving up to 15 000$ by converting to
Lubuntu instead of purchasing new hardware.
Our teachers have been working with us on this and one *big request*
is to put shortcut to web sites on the desktop. I thought this would
be a simple request but I am unable to find any information on how to
do this. Can anyone help?
Thanks
Marc Tremblay
Educational Services Dept
Lester B. Pearson School Board
1925 Brookdale
Dorval, H9P 2Y7
mtremblay at lbpsb.qc.ca <mailto:mtremblay at lbpsb.qc.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20140930/48b3277c/attachment.html>
Andre Rodovalho
2014-09-30 18:25:42 UTC
Permalink
Yes, this is it!

- To do it manually, you can open Leafpad: Menu -> Aces. -> Leafpad
- Then paste this content:










*[Desktop Entry]Version=1.0Name=My WebsiteExec=firefox %u
http://website_address.com
<http://website_address.com>Terminal=falseX-MultipleArgs=falseType=ApplicationIcon=firefoxCategories=Network;WebBrowser;StartupNotify=true*

- Tweak the content, and put the website adress you need.
- With Leafpad, save the content to a file named file_whatever*.desktop* in
the Desktop folder of the user you need.
- Test the shortcut.

TIP: Create all shortcuts you need, than backup those .desktop files on a
thumbdrive. Copy-Paste this files on the other machines you need...
Post by Pierre Gobin
Hi,
It can be done with a custom .desktop file.
- Go in Lubuntu Menu, right click on Firefox (or an other web
browser), and click on ? Create a shortcut on the desktop ? ;
- Right click on your new shortcut, and choose ? Shortcut Editor ? (I
am not sure of the English name) ;
- In the dialog, go in the "Desktop Entry" tab, and modify the
command. For Firefox, I have ? firefox %u ? : you can modify it by ?
firefox %u "http://www.yourwebsite.com" <http://www.yourwebsite.com> ?.
In this dialog, you can also modify the icon, label, etc.
I hope it can help,
Kind regards,
Pierre Gobin
Good morning,
I work for a school board in Montreal and we are finally shifting over to
open source software for our older computer labs using Lubuntu 14.04
instead of windows 7. The performance between the two is incomparable and
schools are saving up to 15 000$ by converting to Lubuntu instead of
purchasing new hardware.
Our teachers have been working with us on this and one *big request* is
to put shortcut to web sites on the desktop. I thought this would be a
simple request but I am unable to find any information on how to do this.
Can anyone help?
Thanks
Marc Tremblay
Educational Services Dept
Lester B. Pearson School Board
1925 Brookdale
Dorval, H9P 2Y7
mtremblay at lbpsb.qc.ca
--
Lubuntu-users mailing list
Lubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20140930/d054c653/attachment.html>
Israel
2014-09-30 20:07:28 UTC
Permalink
For everyone else here, this is a copy of a script I sent in a private
e-mail to Pierre...

#!/bin/bash
WEBSITE=("torios.org" "duckduckgo.com")
NAME=(ToriOS duckduckgo)
ICON=(www-browser firefox)
for ((i=0;i<2;++i));do
echo -e "[Desktop Entry]
Encoding=UTF-8
Exec=firefox ${WEBSITE[i]}
Icon=${ICON[i]}
Terminal=false
Type=Application
Categories=Network;
Name=${NAME[i]}" >> ~/Desktop/${NAME[i]}.desktop
chmod a+rx ~/Desktop/${NAME[i]}.desktop
done

To add more entries,
edit
WEBSITE
NAME
ICON
and change the for loop
the current script has 2 websites, so:
for ((i=0;i<*2*;++i));do

if you have 4 websites, names and icons change it to 4...

make the script executable and run it :)

NOTE:
If you have 4 websites you must have 4 names and 4 icons
If you use the same icon for each one change the script
*
from:*
ICON=(www-browser firefox)
*to:*
ICON=www-browser

*AND*
Icon=${ICON[i]}
*to*
Icon=$ICON
Post by Andre Rodovalho
Yes, this is it!
- To do it manually, you can open Leafpad: Menu -> Aces. -> Leafpad
*[Desktop Entry]
Version=1.0
Name=My Website
Exec=firefox %u http://website_address.com
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=firefox
Categories=Network;WebBrowser;
StartupNotify=true*
- Tweak the content, and put the website adress you need.
- With Leafpad, save the content to a file named
file_whatever*.desktop* in the Desktop folder of the user you need.
- Test the shortcut.
TIP: Create all shortcuts you need, than backup those .desktop files
on a thumbdrive. Copy-Paste this files on the other machines you need...
2014-09-30 10:38 GMT-03:00 Pierre Gobin <lubuntu at pierregobin.fr
Hi,
It can be done with a custom .desktop file.
* Go in Lubuntu Menu, right click on Firefox (or an other web
browser), and click on ? Create a shortcut on the desktop ? ;
* Right click on your new shortcut, and choose ? Shortcut Editor
? (I am not sure of the English name) ;
* In the dialog, go in the "Desktop Entry" tab, and modify the
command. For Firefox, I have ? firefox %u ? : you can modify
it by ? firefox %u "http://www.yourwebsite.com"
<http://www.yourwebsite.com> ?.
In this dialog, you can also modify the icon, label, etc.
I hope it can help,
Kind regards,
Pierre Gobin
Post by Marc Tremblay
Good morning,
I work for a school board in Montreal and we are finally shifting
over to open source software for our older computer labs using
Lubuntu 14.04 instead of windows 7. The performance between the
two is incomparable and schools are saving up to 15 000$ by
converting to Lubuntu instead of purchasing new hardware.
Our teachers have been working with us on this and one *big
request* is to put shortcut to web sites on the desktop. I
thought this would be a simple request but I am unable to find
any information on how to do this. Can anyone help?
Thanks
Marc Tremblay
Educational Services Dept
Lester B. Pearson School Board
1925 Brookdale
Dorval, H9P 2Y7
mtremblay at lbpsb.qc.ca <mailto:mtremblay at lbpsb.qc.ca>
--
Lubuntu-users mailing list
Lubuntu-users at lists.ubuntu.com <mailto:Lubuntu-users at lists.ubuntu.com>
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
--
Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20140930/67288ba3/attachment-0001.html>
Israel
2014-09-30 18:55:04 UTC
Permalink
Hi,
You can also simplify this
As, Pierre said, you can make the simple desktop file.
The command can be:

firefox yourwebsite.com

But, if you want to do it manually, this line in the desktop file is
Name=Firefox
Exec=firefox %u

And if you want to write a script...
the script to do this would be :

#!/bin/bash
WEBSITE=torios.org
NAME="ToriOS"
ICON=www-browser
echo -e "[Desktop Entry]\n
Encoding=UTF-8\n
Exec=firefox ${WEBSITE}\n
Icon=${ICON}\n
Terminal=false\n
Type=Application\n
Categories=Network;\n
Name=${NAME}\n" >> ~/Desktop/$NAME.desktop
chmod a+rx ~/Desktop/$NAME.desktop

so if you save it as mysite.bash (make it executable)
and then
./mysite.bash

I really have been enjoying bash, so you don't have to do it this way, I
just like the terminal.
It is easy to do through the GUI anyhow :)
Post by Pierre Gobin
Hi,
It can be done with a custom .desktop file.
* Go in Lubuntu Menu, right click on Firefox (or an other web
browser), and click on ? Create a shortcut on the desktop ? ;
* Right click on your new shortcut, and choose ? Shortcut Editor ?
(I am not sure of the English name) ;
* In the dialog, go in the "Desktop Entry" tab, and modify the
command. For Firefox, I have ? firefox %u ? : you can modify it by
? firefox %u "http://www.yourwebsite.com" ?.
In this dialog, you can also modify the icon, label, etc.
I hope it can help,
Kind regards,
Pierre Gobin
Post by Marc Tremblay
Good morning,
I work for a school board in Montreal and we are finally shifting
over to open source software for our older computer labs using
Lubuntu 14.04 instead of windows 7. The performance between the two
is incomparable and schools are saving up to 15 000$ by converting to
Lubuntu instead of purchasing new hardware.
Our teachers have been working with us on this and one *big request*
is to put shortcut to web sites on the desktop. I thought this would
be a simple request but I am unable to find any information on how to
do this. Can anyone help?
Thanks
Marc Tremblay
Educational Services Dept
Lester B. Pearson School Board
1925 Brookdale
Dorval, H9P 2Y7
mtremblay at lbpsb.qc.ca <mailto:mtremblay at lbpsb.qc.ca>
--
Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20140930/9fdb36f7/attachment.html>
Ali Linx
2014-10-02 08:17:48 UTC
Permalink
Post by Marc Tremblay
Good morning,
Hi :)
Post by Marc Tremblay
I work for a school board in Montreal and we are finally shifting over
to open source software for our older computer labs using Lubuntu
14.04 instead of windows 7. The performance between the two is
incomparable and schools are saving up to 15 000$ by converting to
Lubuntu instead of purchasing new hardware.
This is really great to know. I wish the world can read this :)
Post by Marc Tremblay
Our teachers have been working with us on this and one *big request*
is to put shortcut to web sites on the desktop. I thought this would
be a simple request but I am unable to find any information on how to
do this. Can anyone help?
Are we talking about a shortcut on the desktop for: Google, Yahoo,
Twitter, etc so that the user does not need to open the browser and
search for the website not click on the bookmarks but rather, just click
on the shortcut on the desktop? is that what you are asking?

The quickest way is to add any website as a bookmark on the Bookmarks
Toolbar.

This might work as a workaround until you confirm your request :)

I am the founder of: StartUbuntu Project:
https://wiki.ubuntu.com/StartUbuntu

The convert at the school is very much a StartUbuntu activity and we
always ask people to follow such example. We would be glad if you could
join StartUbuntu as well.

All Ubuntu Official flavors are part of StartUbuntu!
Post by Marc Tremblay
Thanks
Marc Tremblay
Educational Services Dept
Lester B. Pearson School Board
1925 Brookdale
Dorval, H9P 2Y7
mtremblay at lbpsb.qc.ca <mailto:mtremblay at lbpsb.qc.ca>
All the best!
--
Ali/amjjawad
https://wiki.ubuntu.com/amjjawad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20141002/ca99e8a4/attachment-0001.html>
Eric Bradshaw
2014-10-02 17:11:58 UTC
Permalink
Post by Marc Tremblay
Good morning,
Hi :)
Post by Marc Tremblay
I work for a school board in Montreal and we are finally shifting over
to open source software for our older computer labs using? Lubuntu
14.04 instead of windows 7. The performance between the two is
incomparable and schools are saving up to 15 000$ by converting to
Lubuntu instead of purchasing new hardware.
This is really great to know. I wish the world can read this :)
Post by Marc Tremblay
Our teachers have been working with us on this and one *big request*
is to put shortcut to web sites on the desktop. I thought this would
be a simple request but I am unable to find any information on how to
do this. Can anyone help?
Are we talking about a shortcut on the desktop for: Google, Yahoo,
Twitter, etc so that the user does not need to open the browser and
search for the website not click on the bookmarks but rather, just click
on the shortcut on the desktop? is that what you are asking?

The quickest way is to add any website as a bookmark on the Bookmarks
Toolbar.

This might work as a workaround until you confirm your request :)

I am the founder of: StartUbuntu Project:
https://wiki.ubuntu.com/StartUbuntu

The convert at the school is very much a StartUbuntu activity and we
always ask people to follow such example. We would be glad if you could
join StartUbuntu as well.

All Ubuntu Official flavors are part of StartUbuntu!
Post by Marc Tremblay
Thanks
Marc Tremblay
Educational Services Dept
Lester B. Pearson School Board
1925 Brookdale
Dorval, H9P 2Y7
mtremblay at lbpsb.qc.ca <mailto:mtremblay at lbpsb.qc.ca>
All the best!
--
Ali/amjjawad
https://wiki.ubuntu.com/amjjawad


from the C4C Lubuntu ReSpin FAQ...
SHORTCUTS TO WEBPAGES
To make a shortcut to a webpage, simply add the word firefox before the path to the webpage (whether that be an address on the Internet or an .html page on your hard drive) in the "Exec" property. Several Mozilla command-line arguments will also be adhered to, like -new-window and -new-tab. And of course; if you're making several webpage shortcuts - you'll probably want to have separate icons for each.

All shortcuts are .desktop entry files. They must be saved as xxxx.desktop

- Webpage Example -

Firefox
[Desktop Entry]
Name=Bible Knowlege Games
Exec=firefox http://www.savingus.org/knowledg/
Comment=Games for Group Play
Icon=/usr/share/icons/lubuntu/apps/48/firefox.svg
NoDisplay=false
Categories=GTK;Network;WebBrowser;
Type=Application

Eric

---
Thank You,
God Bless You,
Computers4Christians
http://Computers4Christians.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20141002/9aeb9324/attachment.html>
Loading...