Chinaunix首页 | 论坛 | 博客
  • 博客访问: 147597
  • 博文数量: 26
  • 博客积分: 385
  • 博客等级: 一等列兵
  • 技术积分: 257
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-03 00:46
文章分类

全部博文(26)

文章存档

2015年(1)

2014年(10)

2012年(5)

2011年(10)

我的朋友

分类: LINUX

2014-01-11 23:40:25



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.

阅读(1492) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~