You are not logged in.

#1 2018-01-22 15:38:03

smohr
Member
Registered: 2012-05-29
Posts: 33

Setting applications

Hey everybody!

Short question:
I recently installed libreoffice. Now, the default application for text files is libreoffice-writer.

I was wondering how to change it back to a text editor.
I only want libreoffice to open doc-files.

In KDE, I can set the default application of text/plain back to my text editor. But there are plenty of different text mime types.

Is there a way to change them all? Or remove libreoffice from the application list of text files?

Thank you a lot.
Samuel

Offline

#2 2018-01-22 15:44:41

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Setting applications


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-01-23 00:04:00

smohr
Member
Registered: 2012-05-29
Posts: 33

Re: Setting applications

Ok, thank you.

Does this mean that I have to write a file ~/.config/mimeapps.list with

[Default Applications]
text/cache-manifest=org.gnome.gedit.desktop
text/css=org.gnome.gedit.desktop
text/plain=org.gnome.gedit.desktop
text/vcard=org.gnome.gedit.desktop

with hundreds of lines?

Or is there a easier way to get libreoffice-writer.desktop out of the unformatted text file mime types?

Offline

#4 2018-01-23 00:30:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: Setting applications

Why hundreds of lines?  If you want them all to be opened with gedit, that'd be one line:

text/*=org.gnome.gedit.desktop

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB