Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-11-28 20:14:47

Welblaud
Member
Registered: 2013-11-28
Posts: 2

Thunar problem (percentage substitution)

Hello,

I am rather desperate with one silly thing. I am fond of Thunar's custom actions and now I wish I had an action able to simply resize images. Anyway, it seems it is NOT possible to use % character in the string because Thunar interprets that like a path.

Long story short:

convert %F -resize 50x50 %F works perfectly (just an example);
convert %F -resize 50% %F does not.

I have discovered it is absolutely the same behavior as in case of nautilus-custom-actions (or how it is called). There it is possible to see what happens with the example path, how it would be substituted. The app uses the same system of variables like Thunar does. And it sees the 50% %F like any ordinary path without the number.

Any help appreciated.

P. S. Of course, I have tried to comment that, without success (50\% or "50%" and so on).

Last edited by Welblaud (2013-11-29 06:03:49)

Offline

#2 2013-11-29 23:36:26

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Thunar problem (percentage substitution)

Instead of 50%, can you use .5?

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#3 2013-11-30 10:01:01

Welblaud
Member
Registered: 2013-11-28
Posts: 2

Re: Thunar problem (percentage substitution)

Thanks, it really does something but not what I need. It understands this (0.3) maybe as to be 0.3 of some ratio or pixel (I get atomic picture). Using another simple number does not work (e.g. 50 without percentage).

Thanks!

Offline

Board footer

Powered by FluxBB