LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Blogs > linux-related notes
User Name
Password

Notices


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Apparent bug with KDE/plasma file associations

Posted 03-27-2016 at 01:22 PM by the dsc
Updated 03-29-2016 at 05:40 PM by the dsc

At least in Ubuntu wily, it doesn't seem to allow you to chose the default application to open a file type. You try to do it, but it "magically" restores the previous default association before your eyes. Even if you chanced the config file, somehow. (I'm assuming it's mimeapps.lst, but I'm not sure. It seems that it's cool nowadays to have cryptic, hidden config files, avoiding to mention them unless strictly necessary, pretending it's all magic and config files don't exist)

The workaround is to associate the default app once again (for last). Perhpaps after removing that association, or at least tweaking the new association command line, so it's not recognized as a duplicate and down-ranked in the association list.

Maybe just editing the config file and never using the GUIs for association would also work.

Edit: you also avoid trouble if you never add associations by "open with" and marking "remember this association". Instead, when tempted to do that, to later reorder the priority, go straight away to the file properties → associations, and add the new association. It does appear on top, but from "this way" it can be reordered, without KDE saying, "nah, we'd rather have the other as default, just as before" and reverting it back again before your eyes.
Posted in Uncategorized
Views 707 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration