Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (10) </ ... 4 5 6 7 8 [9] 10 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: XPM Icon Viewer, murgaLua script< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Nov. 04 2007,22:40 QUOTE

Quote (mikshaw @ Nov. 04 2007,17:13)
I guess I'm still not sure what you're getting at. Are you talking about this script here or only dfm?

Quote
I can already load any directory of xpm's via the XPM_viewer's menu
But this is the only purpose for dragging with this script, and likely will remain that way. The script is made for XPM image files themselves, and has no relationship to the applications associated with those files in dfm. The dfm application already has the tools necessary to deal with the connection between applications and icons. This script is intended to view your XPM files (xzgv doesn't support xpm) and optionally open up an editor for the selected icon. I have no intention of integrating it into a particular desktop environment.

No problem.....I saw the viewer as potentially a way to edit desktop icons that were dragged onto it, if it opened to the correct directory.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 04 2007,23:36 QUOTE

Ohhhhhh....i get it now =o)

Yeah, that's kind of an iffy thing. While it would be a handy thing to be able to do, I have a feeling that the code required would make the script much larger and potentially less stable (depending on how well it was implemented).

I *might* look into doing this just for the experience and education that would come from it, but don't expect it to definitely be done, and don't expect it to show up in DSL even if it is accomplished.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Nov. 05 2007,01:54 QUOTE

Funny, one of the icons that doesn't load is xpaint.xpm (perhaps it feels rejected)  :D

There's actually quite a few that don't load (going through dfm's icon directory).
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 05 2007,02:19 QUOTE

The script loads only 32x32 pixmaps, but the xpaint pixmap is 32x30
Maybe I need to change it to less than or equal to 32 instead of exactly 32

EDIT: yep, that worked. Thanks for the report!

EDIT2: After making the change there are still 9 files in /usr/share/dfm/icons that are ignored by the script. Maybe there are some that have dimensions larger than 32


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Nov. 06 2007,00:15 QUOTE

Quote (mikshaw @ Nov. 04 2007,21:19)
The script loads only 32x32 pixmaps, but the xpaint pixmap is 32x30
Maybe I need to change it to less than or equal to 32 instead of exactly 32

EDIT: yep, that worked. Thanks for the report!

EDIT2: After making the change there are still 9 files in /usr/share/dfm/icons that are ignored by the script. Maybe there are some that have dimensions larger than 32

I was experimenting, and found  by increasing the "xpm_size" (line 9),
all the files eventually load. (try xpm_size=50)
Back to top
Profile PM 
49 replies since Oct. 31 2007,17:49 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (10) </ ... 4 5 6 7 8 [9] 10 >/
reply to topic new topic new poll
Quick Reply: XPM Icon Viewer

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code