Ask Your Question
0

How can I shortcut a website into an application?

asked 2015-02-21 18:53:23 -0600

SirAnura gravatar image

Very new with all of this. Using Gnome 3.14.3 on Fedora 21. Not familiar with terminals one bit. I'm looking to turn favorite websites into an application as a shortcut to the specified url. I'm assuming it isn't an impossible feat. I know you can launch websites from the terminal using "xdg-open". Am I able to utilize this for what I'm looking to do or is there another way to go about it? What I'm thinking is making a .desktop file in usr/share/applications that will launch it and give it an icon using something like this as an example:

Type=Application Encoding=UTF-8 Name=Unreal Tournament 2004 Comment=Unreal Tournament 2004 Exec=/home/joe/Games/ut2004/ut2004 Icon=/home/joe/Downloads/ut2004.png Terminal=false

Can anybody help me make this a thing and provide the insight I need?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2015-02-22 03:15:29 -0600

Classic gravatar image

updated 2015-02-22 05:18:11 -0600

Try this (for example I will use Firefox browser & this site):

  1. Open terminal;
  2. Run cp /usr/share/applications/firefox.desktop ~/.local/share/applications/firefox-askfedora.desktop (it creates a copy of Firefox shortcut to your user applications shortcuts folder);
  3. Run gedit ~/.local/share/applications/firefox-askfedora.desktop it will launch text editor, where you must change three lines like this:
    • Name=AskFedora
    • Exec=firefox http://ask.fedoraproject.org/
    • Icon=applications-science
  4. Logout from gnome-shell & Login;
  5. Now you have AskFedora shortcut which is launching Firefox with this site opened. If Firefox already launched you'll get a new tab with AskFedora site.
edit flag offensive delete link more

Comments

This is exactly what I was looking for. Thank you very much! Your specific example gave me everything I needed to make my own. I really do appreciate it. I also found out that the properties of the .desktop file can help with this as well.

SirAnura gravatar imageSirAnura ( 2015-02-22 23:28:24 -0600 )edit
0

answered 2015-02-22 19:57:28 -0600

HoboPrimate gravatar image

Web (not installed by default by Fedora) allows you to save any page as a web app, and uses the favicon of the site as the application icon.

edit flag offensive delete link more

Comments

Thank you for bringing this up as an alternative method.

SirAnura gravatar imageSirAnura ( 2015-02-22 23:30:16 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-02-21 18:53:23 -0600

Seen: 1,769 times

Last updated: Feb 22 '15