Hi
Howto create an URL launcher on the LXDE desktop, I mean to open a specific URL with a browser?
create an URL launcher on the LXDE desktop
-
- Posts: 1093
- Joined: Sat Aug 27, 2011 5:44 pm
- Location: Sierra Vista, Arizona USA
- Contact:
Re: create an URL launcher on the LXDE desktop
Here is one example I made using the Leafpad text editor:
I saved this file to the desktop. On double-clicking for the first time, you'll be asked whether you want to mark it as an executable. Do so. And your Chromium browser will now open to google.com.
The line beginning with "Name=" sets the name of the launcher you'll see on your desktop
The line beginning with "Exec=" determines which browser you want to use
and
The line beginning with "Icon=" determines which icon you want to see on the desktop for the launcher. If you provide the complete path, you can point to any icon of your choice.
Note that you can modify the "Exec=" line with any flags your browser honors. For example, you can use:
to open a particular site in private browsing mode.
If you're using the Chromium browser (or even Chrome), here's a site that provides a lot of switches: http://peter.sh/experiments/chromium-co ... -switches/
A caveat: not all of them work.
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Google
GenericName=none
Comment=none
Exec=chromium-browser http://www.google.com
Icon=/usr/share/icons/lubuntu/apps/22/google-chrome.svg
Type=Application
Categories=
The line beginning with "Name=" sets the name of the launcher you'll see on your desktop
The line beginning with "Exec=" determines which browser you want to use
and
The line beginning with "Icon=" determines which icon you want to see on the desktop for the launcher. If you provide the complete path, you can point to any icon of your choice.
Note that you can modify the "Exec=" line with any flags your browser honors. For example, you can use:
Code: Select all
Exec=chromium-browser --incognito http://www.google.com
If you're using the Chromium browser (or even Chrome), here's a site that provides a lot of switches: http://peter.sh/experiments/chromium-co ... -switches/
A caveat: not all of them work.