Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698016 - app-editors/sublime-text-3_p3211 - not showing in GNOME "Open with..." dialog
Summary: app-editors/sublime-text-3_p3211 - not showing in GNOME "Open with..." dialog
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-18 21:23 UTC by Alexey Vladykin
Modified: 2019-10-19 09:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Vladykin 2019-10-18 21:23:28 UTC
Sublime Text does not show up in the file "Open with other application" dialog in GNOME.

Reproducible: Always

Steps to Reproduce:
1. Right-click any text file in Nautilus
2. Click "Open with other application"

Actual Results:  
"Sublime Text" is not on the list of applications available for opening a file.

Expected Results:  
"Sublime Text" should be on the list and probably as one of recommended applications.

The problem is with the current .desktop file generated for Sublime Text.
Changing Exec=subl3 to Exec=subl3 %F fixes the problem, as explained for example here: http://ubuntugenius.wordpress.com/2012/06/18/ubuntu-fix-add-program-to-list-of-applications-in-open-with-when-right-clicking-files-in-nautilus/

Fix for similar issue has been contributed to the sublime-text overlay: https://github.com/DamnWidget/sublime-text/pull/11
Comment 1 Larry the Git Cow gentoo-dev 2019-10-19 09:54:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=562780c4124249f1b19a4522c22870a36da8c9d1

commit 562780c4124249f1b19a4522c22870a36da8c9d1
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-10-19 09:53:49 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-10-19 09:53:49 +0000

    app-editors/sublime-text: Fix "open with" in Nautilus
    
    Closes: https://bugs.gentoo.org/698016
    Package-Manager: Portage-2.3.77, Repoman-2.3.17
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../{sublime-text-3_p3211.ebuild => sublime-text-3_p3211-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)