Board index

PCGen


IT IS ALIVE!!!

creating desktop shortcut in Ubuntu

Where new users can post questions about PCGen, or report possible issues (bug tracking is by Jira - jira.pcgen.org)

creating desktop shortcut in Ubuntu

Postby jk64 » Sun Sep 09, 2018 10:31 pm

Hello
I am using pcgen ver 6.06.01 on a system with Ubuntu. The hard drive was failing so I been using an external hard drive with Ubuntu and I know very little about linux
I can run pcgen from terminal with the command java -jar pcgen.jar. It works I cant really complain but is there a way to create a desktop shortcut?
User avatar
jk64
 
Posts: 7
Joined: Thu Jul 12, 2018 5:23 am

Re: creating desktop shortcut in Ubuntu

Postby Nylanfs » Mon Sep 10, 2018 12:24 am

This is the best resource for getting Ubuntu help I have found.



You have to install gnome-panel package which comes up with ability to create a application launcher on the desktop or wherever you like. Add --no-install-recommends suffix to prevent other package that aren't necessary.

sudo apt-get install --no-install-recommends gnome-panel

After installing gnome-panel, use following command to create a launcher.

gnome-desktop-item-edit --create-new ~/Desktop

Once you execute the above command, create launcher application will be opened.

Image

In Type field "Application" will be a default value. If you're creating launcher for application which has no gui, that runs in terminal like VIM editor then you need to select "Application in Terminal".
In Name field type application name.
In Command field type the executable command which open your application.
Comment field is optional.

To set icon, click on the small box on the top left side near name field and choose a image for it. Click "OK" if you are done.


Paul "Yes that Paul" Grosse
PCGen BoD - PR Silverback
ICQ: 14397299
Forums: Nylan (or Nylanfs)
User avatar
Nylanfs
 
Posts: 416
Joined: Thu Sep 11, 2014 6:06 pm
Location: Elkhart, Indiana, United States

Re: creating desktop shortcut in Ubuntu

Postby jk64 » Mon Sep 10, 2018 2:27 am

Nylanfs wrote:This is the best resource for getting Ubuntu help I have found.



You have to install gnome-panel package which comes up with ability to create a application launcher on the desktop or wherever you like. Add --no-install-recommends suffix to prevent other package that aren't necessary.

sudo apt-get install --no-install-recommends gnome-panel

After installing gnome-panel, use following command to create a launcher.

gnome-desktop-item-edit --create-new ~/Desktop

Once you execute the above command, create launcher application will be opened.

Image

In Type field "Application" will be a default value. If you're creating launcher for application which has no gui, that runs in terminal like VIM editor then you need to select "Application in Terminal".
In Name field type application name.
In Command field type the executable command which open your application.
Comment field is optional.

To set icon, click on the small box on the top left side near name field and choose a image for it. Click "OK" if you are done.


Not sure what went wrong but I get pop up about program not trusted with the choice of cancel or launch. I clicked launch and nothing happens
User avatar
jk64
 
Posts: 7
Joined: Thu Jul 12, 2018 5:23 am
Top


Return to Questions & Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron