View Issue Details

IDProjectCategoryView StatusLast Update
0003150Slicer4Core: GUIpublic2014-08-15 06:22
Reporterkikinis Assigned Tojcfr  
PrioritylowSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
PlatformubuntuOSlinuxOS Version11.04
Product VersionSlicer 4.2.2-1 
Target VersionFixed in Version 
Summary0003150: Slicer has no icon in the taskbar in ubuntu
Description

The arrow in the attached screenshot points to the icon associated with Ubuntu

Tagshelp-wanted

Relationships

related to 0003167 acknowledgedjcfr cosmetics for .mrb files 

Activities

2013-06-09 00:41

 

jcfr

jcfr

2013-08-27 11:32

administrator   ~0009627

Useful references:
http://askubuntu.com/questions/80627/how-can-i-change-the-icon-of-an-application-in-the-unity-launcher
http://superuser.com/questions/460247/how-do-i-change-an-application-icon-on-ubuntu

wangk

wangk

2014-08-15 05:42

developer   ~0012376

Hi Jc,

I did a bit investigation and found out that in order to show the icon in the taskbar, an icon file has to be in ~/.local/share/hicolor/64x64 folder or mulitple icon files have to be in its respective folder for different resolutions. a Slicer.desktop file has to be in ~/.local/share/applications/ folder.

to accomplish this, there are several options:

  1. create a simple setup script to copy these files from Slicer's resource directory.

  2. change Slicer Launcher so that it will check if there are these files in place, otherwise would copy these files.

  3. make current Slicer.tar.gz something like a windows exe so when installed/executed it not only extract the content of the tar.gz but also set up the icon and desktop files.

both option 2 and 3 would be seamless to users and require less operation. option 1 is easy to implement but has to be manually done and can be easily missed by users.

what do you think? do you have any other suggestion?

Thanks,
-Kevin

kikinis

kikinis

2014-08-15 06:05

developer   ~0012377

I would vote for simplifying the user experience.

jcfr

jcfr

2014-08-15 06:22

administrator   ~0012378

Hi Kevin,

Thanks for reporting back.

I guess the first step could be to add a script named "setup-linux-unity-desktop-icon.sh" to:

Slicer/Utilities/Scripts/

That script would be packager along side the "Slicer" launcher and named:

setup-unity-desktop-icons.sh

That way, user would be able to run that script and have the icon showing up in unity and in the task bar.

For nightly build, the shortcut would be named "Slicer-rXXXX-YYYY-MM-DD.desktop"

Thanks for your help,
Jc

Issue History

Date Modified Username Field Change
2013-06-09 00:41 kikinis New Issue
2013-06-09 00:41 kikinis Status new => assigned
2013-06-09 00:41 kikinis Assigned To => jcfr
2013-06-09 00:41 kikinis File Added: Screen Shot 2013-06-09 at 10.32.24 AM.png
2013-06-10 07:13 jcfr Priority normal => low
2013-06-10 07:13 jcfr Target Version => Slicer 4.3.0
2013-08-27 11:32 jcfr Note Added: 0009627
2013-08-27 11:32 jcfr Target Version Slicer 4.3.0 => Slicer 4.4.0
2014-05-12 23:23 jcfr Tag Attached: help-wanted
2014-05-12 23:23 jcfr Status assigned => acknowledged
2014-05-12 23:23 jcfr Target Version Slicer 4.4.0 =>
2014-05-13 08:24 jcfr Relationship added related to 0003167
2014-08-15 05:42 wangk Note Added: 0012376
2014-08-15 06:05 kikinis Note Added: 0012377
2014-08-15 06:22 jcfr Note Added: 0012378