stupid inconsistent defalt applications for .cpp and .h files

Bug #1763973 reported by teo1978
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
- Navigate to a folder that contains .h and .cpp files
- double-click on a .cpp file
- double-click on a .h file

Expected:
both should be opened by default with the same application. I'd say it would make more sense that it was gedit rather than vim, given that gedit is the default for most other extensions that typically correspond to other languages, e.g. .php, .java, etc. But anyway, .cpp and .h should have the same default

Observed:
the default for .h files is to open in gedit; the default for .cpp files is to open in vim in a terminal. That's just stupid.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nautilus 1:3.18.4.is.3.14.3-0ubuntu6
ProcVersionSignature: Ubuntu 4.4.0-119.143-generic 4.4.114
Uname: Linux 4.4.0-119-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Apr 14 18:47:51 2018
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'190'
 b'org.gnome.nautilus.window-state' b'geometry' b"'1197x691+723+24'"
 b'org.gnome.nautilus.list-view' b'use-tree-view' b'true'
 b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']"
InstallationDate: Installed on 2013-10-11 (1645 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
teo1978 (teo8976) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
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.