add new Item in open with list.

1490阅读 0评论2014-01-11 mpoix
分类:LINUX



some time your application may not added in open with list although it is install in your system.

for example I use idle to open python source file (uce.py). but it is not include in open with list or default app. 

to add any app as a default app or open with list :-

1) goto /usr/share/applications folder and see your app is there or not.

if not create launcher.                                    /////           more info see how to create luncher

      name: idle                                   /// need to cread a .desktop file

      command:  app-name

2) go to /home/user-name/.local/share/applications and open mimeapps.list

(gedit ~/.local/share/applications/mimeapps.list)

and add it  as

   [Default Applications]  // as a default app

or 

    [Added Associations]   // in the open with list

 

How to add in mimeapps.list

 
1) see the property of the file that you want to open
     for example uce.py
              a)   using file manager goto the file location 
             b) select the file
            c)   right click on it.
            d) click property.

2) open mimeapps.list to edit

add a line as:

text/x-python=idle.desktop  //   type = create launcher name . desktop

3) save mimeapps.list 

you will see the effect.

thanks to read.

上一篇:Linux系统下的pdf文档可标注阅读工具--PDF Studio Pro
下一篇:Make PDF Studio default application to open PDFs