ROXTerm shows up as "Vim"

Bug #700203 reported by Cheer Xiao
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Low
Robert Dyer

Bug Description

Docky version: Docky 2.1.0 bzr docky r1749 ppa
Distro: Ubuntu 10.04
X Version: X.Org X Server 1.7.6
Video Card: (should be irrelevant)
GNOME Version: 2.30.2
Mono Version: 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4)
ROXTerm Version: 1.17.1

Revision history for this message
Cheer Xiao (xiaqqaix) wrote :
Revision history for this message
Cheer Xiao (xiaqqaix) wrote :

Both icon and tooptip are "Vim".

Revision history for this message
Cheer Xiao (xiaqqaix) wrote :

But the menu says "ROXTerm".

Revision history for this message
Cheer Xiao (xiaqqaix) wrote :

I restarted ROXTerm and took another screenshot: As you can see, it's a "clean" terminal; I haven't ever run Vim inside it.

Revision history for this message
Robert Dyer (psybers) wrote :

I'm going out on a limb here but I bet you have a launcher for VIM somewhere. And that launcher is probably something like:

EXEC=roxterm -e vim

Am i right? Run this command in BOTH /usr/share/applications and ~/.local/share/applications

grep vim *

And paste the output here.

Also, please run roxterm and while it is running, give us the output of:

ps -ef | grep roxterm

And attach the .desktop file (launcher) for ROXTerm to this bug report (which probably is in /usr/share/applications).

Changed in docky:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Cheer Xiao (xiaqqaix) wrote :

To Robert Dyer:

You're perfectly right. I created it some time ago with System->Preferences->Main Menu. When I noticed the problem with Docky I tried to delete that (again in "Main Menu" dialog), but it just seemed to hide it for me. Nevertheless I think this issue should still be considered a bug; the algorithm for matching application with Launcher needs to be improved.

Output of ps -ef | grep roxterm:

xiaq 8792 1 4 22:51 ? 00:00:00 roxterm
xiaq 8802 8794 0 22:51 pts/0 00:00:00 grep --color=auto roxterm

~/.local/share/applications/alacarte-made-1.desktop:
[Desktop Entry]
Exec=roxterm -e vim
Hidden=true
Icon=vim
Icon[en_US]=vim
Name=Vim
Name[en_US]=Vim
Terminal=false
Type=Application
Version=1.0

/usr/share/applications/roxterm.desktop:
(see attachment)

Revision history for this message
Robert Dyer (psybers) wrote :

Whats to improve? You have a launcher that says 'exec=roxterm' and Docky matched it. The reason it picked that one (instead of the one you attached) is because it is a 'user' one and overrides the global ones. The algorithm is working as intended.

Revision history for this message
Robert Dyer (psybers) wrote :

I do however have to ensure that we arent matching Hidden launchers.

Revision history for this message
Robert Dyer (psybers) wrote :

Apparently we werent checking for Hidden=true. Fixed in rev 1759.

Changed in docky:
assignee: nobody → Robert Dyer (psybers)
status: Incomplete → Fix Committed
milestone: none → 2.0.11
Revision history for this message
Cheer Xiao (xiaqqaix) wrote :

That doesn't look perfect, but perhaps fine enough. Thanks for the fix.

Changed in docky:
status: Fix Committed → 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.