[Bug 1666873] Re: Snap icon is not visible when called from terminal but it does when called from dash

2018-01-24 Thread Maciej Borzecki
** Changed in: snappy
   Status: New => Invalid

** Changed in: snapd (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1666873

Title:
  Snap icon is not visible when called from terminal but it does when
  called from dash

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1666873/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1666873] Re: Snap icon is not visible when called from terminal but it does when called from dash

2017-02-23 Thread Joan CiberSheep
Thanks @kirofa, I have tried to change the snap to match the main name
(gtklevel9) and the apps: name and then it works. You have the icon.

Argh! I just saw what happens. I made a spelling mistake: 
apps:
 g_l_klevel9:

Should be: g*t*klevel9.
Sorry

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1666873

Title:
  Snap icon is not visible when called from terminal but it does when
  called from dash

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1666873/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1666873] Re: Snap icon is not visible when called from terminal but it does when called from dash

2017-02-23 Thread Kyle Fazzari
I think this really comes down to: when you run the snapped application
via .desktop file, you get an icon (since the icon is specified in the
.desktop file). When you run the application directly in the terminal,
there's no icon as the icon is only specified in the .desktop file.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1666873

Title:
  Snap icon is not visible when called from terminal but it does when
  called from dash

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1666873/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1666873] Re: Snap icon is not visible when called from terminal but it does when called from dash

2017-02-23 Thread Joan CiberSheep
It might be a wrong yaml file config? Not matching the name of the snap
with the apps: definition.

```
 name: level9 # you probably want to 'snapcraft register '

 apps:
  glklevel9:
```

that make the two .desktop files to differ in one line:

level9.dektop
 `Exec=level9`

gltklevel9.desktop (generated by snapcraft)
 `Exec=level9.glklevel9 %U`


Full yaml
```
name: level9 # you probably want to 'snapcraft register '
version: '0.13' # just for humans, typically '1.2+git' or '1.3.2'
summary: Interpreter for Level 9 interactive fiction games # 79 char long 
summary
description: |
  Interpreter to play Level 9 Computing games.
  Files format accepted: .dat and .sna
  Save and restore are supported. Images works if picture files are present.

grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots

apps:
 glklevel9:
command: desktop-launch $SNAP/gtklevel9
plugs: [x11, unity7, home]
desktop: ./snap/gui/level9.desktop


parts:
 gtklevel9:
# See 'snapcraft plugins'
plugin: make
source: ./code
after: [desktop-gtk2]

 desktop-gtk2:
  source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
  stage-packages:
   - light-themes
   - ttf-ubuntu-font-family
   - libgdk-pixbuf2.0-0
   - dmz-cursor-theme
   - shared-mime-info
```

full glklevel9.desktop
```
[Desktop Entry]
Name=Level9
X-GNOME-FullName=Level9 interpreter
Comment=Interactive Fiction Interpreter for games of Level9 Computing company.
Categories=Utility;
Exec=level9.glklevel9 %U
Icon=${SNAP}/snap/gui/icon.svg
Terminal=false
Type=Application
Version=0.4
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1666873

Title:
  Snap icon is not visible when called from terminal but it does when
  called from dash

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1666873/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1666873] Re: Snap icon is not visible when called from terminal but it does when called from dash

2017-02-22 Thread Joan CiberSheep
** Also affects: snapd (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1666873

Title:
  Snap icon is not visible when called from terminal but it does when
  called from dash

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1666873/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs