Cannot add the byobu desktop launcher to Unity's launcher

Bug #666764 reported by Dustin Kirkland 
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
BAMF
Fix Released
Low
Jason Smith
Unity
Fix Released
Medium
Gord Allott
bamf (Ubuntu)
Fix Released
Low
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: unity

I'm trying to add the Byobu desktop icon to Unity's launcher.

This isn't working properly. If I search for and run the byobu.desktop launcher:
 1) I see gnome-terminal's icon, rather than byobu's icon, in the launcher on the left
 2) If I right click and select keep-in-launcher, I get gnome-terminal in the launcher, rather than byobu.

Byobu is a command line application, that runs within gnome-terminal. The content of /usr/share/applications/byobu.desktop is:
[Desktop Entry]
Name=Byobu Window Manager
Comment=Text-based Window Manager using GNU Screen
Icon=/usr/share/byobu/pixmaps/byobu.svg
Exec=byobu-launcher
Type=Application
Terminal=true
Categories=GNOME;GTK;Utility;
NoDisplay=true
X-GNOME-Gettext-Domain=byobu

Is there something missing from this desktop file, which is required to work well within Unity?

I suspect that this might be a general problem for any applications which run-in-terminal. I'd think this is something we would really, really want to fix. Please.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Jason, I think this can be related to introducing back the gio module to bamf.
This can be related to the "personal launcher" issue we got: launching a .desktop file, executing, for instance, totem with a majhong icon should respect the custom .desktop file (particularly for instance in the migration period).

Can you have a look there?

affects: unity (Ubuntu) → bamf (Ubuntu)
Changed in bamf:
status: New → Triaged
Changed in unity:
status: New → Triaged
Changed in bamf (Ubuntu):
status: New → Triaged
Changed in bamf:
importance: Undecided → Low
Changed in bamf (Ubuntu):
importance: Undecided → Low
Changed in unity:
importance: Undecided → Low
Changed in bamf:
assignee: nobody → Jason Smith (jassmith)
Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 666764] Re: Cannot add the byobu desktop launcher to Unity's launcher

Ping? Can someone have a look at this? If there's something I can do
to fix this within my application, I'm happy to...

Revision history for this message
Neil J. Patel (njpatel) wrote :

I think using the GIO envvar in BAMF is the cleanest way to fix this, and definitely should be fixed for Natty.

Changed in unity:
assignee: nobody → Jason Smith (jassmith)
importance: Low → Medium
milestone: none → 3.6.4
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Weirdly enough, this started working a few weeks ago, but after
dist-upgrade this morning, it broke again :-(

Changed in unity:
milestone: 3.6.4 → 3.6.6
Neil J. Patel (njpatel)
Changed in unity:
assignee: Jason Smith (jassmith) → Gord Allott (gordallott)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Byobu is now working with current bamf if you start it from the application place (not if you start a terminal and you launch it from it, of course, as it will match the terminal).
So:
1. open the dash/the application place
2. run byobu
-> you should see it in the launcher (and not the terminal)
You can then stick it and try to launch it again

Changed in bamf:
status: Triaged → Fix Released
Changed in unity:
status: Triaged → Fix Released
Changed in bamf (Ubuntu):
status: Triaged → Fix Released
Changed in unity:
milestone: 3.6.6 → none
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

\o/ Thanks, guys!!!

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

This stopped working again :-(

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

If I click on the Ubuntu logo in the top left, type 'byobu', and then run the application, a window pops up and then goes away very quickly.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

and I just tried again there in a guest user session, seems to work well.

Can you get a step by step reproducible test case from a fresh user please?

Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.