You are not logged in.

#1 2011-07-19 16:08:58

archlinux2011
Member
Registered: 2011-07-16
Posts: 38

.py file icons problem

anyone know how i can set an icon for all .py and .pyc files like in lubuntu and fedora 15? i used lxde for those and they have proper icons for the files, but i cant figure out how to do it in arch.

Offline

#2 2011-07-19 16:39:32

mbeattie
Member
Registered: 2011-07-14
Posts: 1

Re: .py file icons problem

Which desktop environment?

Offline

#3 2011-07-19 16:54:19

archlinux2011
Member
Registered: 2011-07-16
Posts: 38

Re: .py file icons problem

lxde

Offline

#4 2011-07-20 14:31:54

archlinux2011
Member
Registered: 2011-07-16
Posts: 38

Re: .py file icons problem

i am wondering if this is even possible as i looked around the wiki and google and did not come up with any answers. i want a custom icon for all my python files if possible as they have none and appear as normal text files by default

Offline

#5 2011-07-20 18:33:57

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: .py file icons problem

Definently possible: specification.
The easiest way to accomplish this is to install an icon theme and then replace the text-x-python.png, application-x-python-bytecode.png, gnome-mime-text-x-python.png, and gnome-mime-application-x-python-bytecode.png files.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#6 2011-07-20 19:36:21

archlinux2011
Member
Registered: 2011-07-16
Posts: 38

Re: .py file icons problem

i installed the tango theme but don't know where to find or put the .png files for this. any suggestions where to look? i attempted to use find but it gave me no results for those names.

Offline

#7 2011-07-20 20:01:18

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: .py file icons problem

Look under /usr/share/icons/Tango/*/mimetypes/


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#8 2011-07-20 20:06:05

archlinux2011
Member
Registered: 2011-07-16
Posts: 38

Re: .py file icons problem

i ended up downloading the elementray icon theme which seems to look better anyways and switched to that. didnt see your post but figured it out. will it work like that for any type with any icon theme if i put it in that folder?

Offline

#9 2011-07-20 20:09:00

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: .py file icons problem

It should.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#10 2011-08-04 14:08:46

archlinux2011
Member
Registered: 2011-07-16
Posts: 38

Re: .py file icons problem

seems with the recent upgrade i lost my icons that i had set for this. took awhile to set all the symbolic links too. also i can no longer double click to open the files in scite or idle even though it appears the mimetypes are set correctly

actually when i set the elementary theme it still doesnt work anymore as the links point to a plain text file it look slike. i am unsure what happened to cause this issue though.

Last edited by archlinux2011 (2011-08-04 14:15:23)

Offline

Board footer

Powered by FluxBB