Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 4935  / 1 Year ago, wed, may 3, 2023, 8:49:56

In previous Ubuntus when you want to select/change an application to open a specific file (right-click/open with other application or properties) you were able to write a custom command to open the file. This was very useful, but now in 11.10 I can't find this option, it only shows me a list of applications and a button to look for applications in Internet.



Is there a way to restore the command line to write custom commands to open files?


More From » 11.10

 Answers
5

As I found on http://blog.whatgeek.com.pt/?p=319 you can use mimeopen -d /path/to/file to configure a custom application on the cli. It will be used by gnome3 then.



$ mimeopen -d foo.matroska 
Please choose a default application for files of type application/x-matroska

1) VLC media player (vlc)
2) Banshee (banshee)
3) Movie Player (totem)
4) Other...

use application #4
use command: mplayer
Opening "foo.matroska" with mplayer (application/x-matroska)

[#42501] Thursday, May 4, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mugustered

Total Points: 193
Total Questions: 123
Total Answers: 108

Location: Bermuda
Member since Wed, Mar 22, 2023
1 Year ago
;