Keep in launcher option for Emacs does not save over restarts

Bug #757011 reported by Ian J Cottee
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Unity
Incomplete
Low
Unassigned
unity-2d
New
Low
Unassigned
bamf (Ubuntu)
Incomplete
Low
Unassigned
unity (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: unity

Not urgent.

I run five programs the whole time - xchat, chromium-browser, firefox, gnome-terminal and emacs. I have selected 'keep in launcher' for all programs. Having done this, they all stay in the unity launcher as expected. However, after a reboot Emacs is always missing. It's hardly a big issue as I can just launch using Alt-F2 but it definitely seems to be a bug.

In case it's relevant - I am running emacs-snapshot (version 1:20090909-1)

Currently running version 3.8.4-0ubuntu1 of unity but I've noticed this issue since the Natty Beta came out.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
Date: Mon Apr 11 10:13:05 2011
ExecutablePath: /usr/lib/unity/unity-panel-service
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
ProcEnviron:
 SHELL=/bin/bash
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ian J Cottee (ian-cottee) wrote :
Revision history for this message
Cedric Pinson (cedric-pinson) wrote :

Is there a work around ? because each time I reboot it shift all my shortkey by one because I use emacs with super 2

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, how do you start emacs? does it make a difference if you start it from the application place?

Changed in unity:
importance: Undecided → Low
Changed in unity (Ubuntu):
importance: Undecided → Low
Revision history for this message
Cedric Pinson (cedric-pinson) wrote :

Well in fact I can start it by hand but I want it to have the shortcut Win + 2 to go to emacs applications, If I start emacs by hands it will not be in the seconds place in launcher. That's why I would like to keep it in the launcher to keep the shortcut key. In fact the way I work everyday, I use 10 shortcut and I want them always the same.

Does it make sense for you ?

Revision history for this message
Sebastien Bacher (seb128) wrote :

right, it doesn't make sense, seems to matching is having issues there, if you run emacs by clicking on its icon in the application lens it can be pinned since gio gives the right informations to match the desktop to the running instance, but next run seem buggy still

affects: unity (Ubuntu) → bamf (Ubuntu)
Revision history for this message
Alex Launi (alexlauni) wrote :

cedric, are you launching emacs by clicking on a launcher, or do you launch it by typing 'emacs' into a terminal?

Changed in unity:
status: New → Incomplete
Changed in bamf (Ubuntu):
status: New → Incomplete
Changed in unity (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Iran de Macedo Cordeiro (imacedo) wrote :

I'm having the same trouble with my Ubuntu. Restart by the menu.
Every time I restart I loose all the configuration I had sat before (exclusions and inclusions).
I tried to use the "keep in launcher" option, as well as drag and drop, but the problem persists.
/sys/class/dmi/id/bios_vendor:Acer
/sys/class/dmi/id/bios_version:v0.3310
/sys/class/dmi/id/bios_date:10/06/2008
/sys/class/dmi/id/sys_vendor:Acer
/sys/class/dmi/id/product_name:AOA150
/sys/class/dmi/id/product_version:1
/sys/class/dmi/id/board_vendor:Acer
/sys/class/dmi/id/board_name:
/sys/class/dmi/id/board_version:Base Board Version
/sys/class/dmi/id/board_asset_tag:Base Board Asset Tag
/sys/class/dmi/id/chassis_vendor:Chassis Manufacturer
/sys/class/dmi/id/chassis_type:1
/sys/class/dmi/id/chassis_version:Chassis Version
===
Installed version of Ubuntu
release 11.04
codename natty
distributor_id Ubuntu
description Ubuntu 11.04

Revision history for this message
Paisa Seeluangsawat (paisa) wrote :

Regarding comment #3 and #6,

If launched from Unity launcher, there is no problem. After selecting "Keep in Launcher",
Emacs stays there even after reboot. However, launched this way, Emacs misses the environment
variables from .bashrc.

If launched via command line, Emacs disappears from launcher after reboot.

Revision history for this message
Adam Rall (arall) wrote :

I had a similar problem. I launched Emacs from gnome-terminal using "emacs," and then selected "Keep in Launcher." If I closed Emacs, clicking the launcher icon wouldn't open a new instance; it would just flash for a few seconds and then stop. Then, the icon would disappear upon restarting my computer. Opening Emacs from the Applications place and then keeping it in the launcher worked.

Furthermore, launching Emacs from a terminal as "emacs23" and then keeping it in the launcher also worked. Although, I'm not sure if starting it this way recovers the .bashrc environment variables.

Changed in unity-2d:
importance: Undecided → Low
Revision history for this message
Eric Anderson (kluwak) wrote :

I have what seems to be the same issue, except that -- regardless of how I start it -- emacs doesn't appear in the launcher. I've even tried explicitly addding 'emacs23.desktop' to the gconf setting string, to no effect. (This is on Ubuntu 12.04).

It doesn't really matter, but it's a little irritating.

Revision history for this message
iSlava (islava) wrote :

Really, guys? 2 years already and not fixed? Got it with emacs24 and ubuntu 13.04. Please, increase importance level and fix it already, dammit!

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.