Author Topic: Force a change in a default application (Ubuntu gnome)  (Read 413 times)

Offline fox

  • Posting Member
  • Hero Member
  • *
  • Posts: 1014
  • Karma: +3/-0
    • View Profile
Force a change in a default application (Ubuntu gnome)
« on: May 20, 2018, 07:17:14 am »
An application I am trying out, Freemaker Office 2018, has the nasty side effect of locking itself in as the default application for all Microsoft Office mime types. The usual way of addressing this (at least in Ubuntu), is to right-click on a file with the mime type you want to change the default on, choose "properties", then choose the "Open with" tab. You can then select the application that you want to be the default for that mime type and click on the button "set as default". But with Freemaker Office installed, its applications are frozen as the defaults and you can't change it that way. I think there must be an extra strength way of doing this; perhaps as superuser and through the command line? Any ideas how I can do this?
Ubuntu 19.04 and openSUSE Leap on 2011 iMac
Linux Mint Cinnamon 19.1 on "late 2015" 5k iMac
Ubuntu 19.04, 18.04 and MX Linux on Dell XPS 13 2 in 1

Offline Jason Wallwork

  • Administrator
  • Hero Member
  • *****
  • Posts: 1812
  • Karma: +5/-0
    • View Profile
Re: Force a change in a default application (Ubuntu gnome)
« Reply #1 on: May 20, 2018, 08:42:18 am »
Doesn't Gnome also have a Default Applications area in settings or elsewhere? Try doing a search for it those words.
Primary: Desktop w/ Win10Pro/OpenSUSE Leap  on i5-3.2 GHz w/ 12 GB RAM, 480 GB SSD boot & 2x2 TB RAID 10 array for extra storage

Secondary/Test: Toshiba Satellite Ultrabook Z830-00K w/ Win10/Kali Linux 2019.2  (i3-1.4 GHz, 4GB RAM, 128GB SDD)

Phone: Sony Xperia XA1 Ultra w/ Android Oreo 8.0

Offline Jason Wallwork

  • Administrator
  • Hero Member
  • *****
  • Posts: 1812
  • Karma: +5/-0
    • View Profile
Primary: Desktop w/ Win10Pro/OpenSUSE Leap  on i5-3.2 GHz w/ 12 GB RAM, 480 GB SSD boot & 2x2 TB RAID 10 array for extra storage

Secondary/Test: Toshiba Satellite Ultrabook Z830-00K w/ Win10/Kali Linux 2019.2  (i3-1.4 GHz, 4GB RAM, 128GB SDD)

Phone: Sony Xperia XA1 Ultra w/ Android Oreo 8.0

Offline fox

  • Posting Member
  • Hero Member
  • *
  • Posts: 1014
  • Karma: +3/-0
    • View Profile
Re: Force a change in a default application (Ubuntu gnome)
« Reply #3 on: May 20, 2018, 11:20:35 am »
Unfortunately not. That poster was using the same procedure that I was to select the default application. He/she was able to change that default, whereas I cannot. The poster's issue had to do with what icons appear after changing his default to LibreOffice (which would also be annoying). But I can't change the default application at all, and I had the same problem with Softmaker Office 2016 (which Softmaker was making gratis to educators).
Ubuntu 19.04 and openSUSE Leap on 2011 iMac
Linux Mint Cinnamon 19.1 on "late 2015" 5k iMac
Ubuntu 19.04, 18.04 and MX Linux on Dell XPS 13 2 in 1

Offline Jason Wallwork

  • Administrator
  • Hero Member
  • *****
  • Posts: 1812
  • Karma: +5/-0
    • View Profile
Re: Force a change in a default application (Ubuntu gnome)
« Reply #4 on: May 20, 2018, 02:00:42 pm »
Oh, okay. Thought he/she used a different option than what you did (using properties). That's a pretty annoying bug, if it is a bug, and not something they intentionally designed.
Primary: Desktop w/ Win10Pro/OpenSUSE Leap  on i5-3.2 GHz w/ 12 GB RAM, 480 GB SSD boot & 2x2 TB RAID 10 array for extra storage

Secondary/Test: Toshiba Satellite Ultrabook Z830-00K w/ Win10/Kali Linux 2019.2  (i3-1.4 GHz, 4GB RAM, 128GB SDD)

Phone: Sony Xperia XA1 Ultra w/ Android Oreo 8.0

Offline buster

  • Posting Member
  • Hero Member
  • *
  • Posts: 503
  • Karma: +1/-0
    • View Profile
Re: Force a change in a default application (Ubuntu gnome)
« Reply #5 on: May 20, 2018, 11:10:07 pm »
Doesn't Gnome also have a Default Applications area in settings or elsewhere? Try doing a search for it those words.

I gave up when I found I couldn't figure out much in Gnome, especially how to get a single click mouse to open things. Just noting, that for me, nothing in Gnome felt 'intuitive'.
"With all due respect John I am head of IT and I have it on good authority if you type 'Google' into Google you can break the internet, so please no one try it, even for a joke." ( Jen on 'The IT Crowd' )

Offline fox

  • Posting Member
  • Hero Member
  • *
  • Posts: 1014
  • Karma: +3/-0
    • View Profile
Re: Force a change in a default application (Ubuntu gnome)
« Reply #6 on: May 21, 2018, 07:08:30 am »
I've had a few communications about this with two helpful individuals on the Ubuntu forums (here), but no resolution. Installing Softmaker FreeOffice locks your application preference to its programs for any application it can open and the only way to solve this is to either install it on a portable device or uninstall it. No matter how good it is, that's a dealbreaker for me. However, I also have a thread on this in Softmaker's forums. Maybe they will have a solution. I haven't got a response yet, but it's the long weekend.
Ubuntu 19.04 and openSUSE Leap on 2011 iMac
Linux Mint Cinnamon 19.1 on "late 2015" 5k iMac
Ubuntu 19.04, 18.04 and MX Linux on Dell XPS 13 2 in 1