You are not logged in.

#1 2012-06-15 10:59:20

zang3tsu
Member
Registered: 2012-03-24
Posts: 5

[SOLVED] Thunar Custom Action problems

Succeeding custom actions while a previous custom action is still running uses the previous one's parameters. Let me explain, for example I have these custom actions:

longProcess %F
anotherAction %F

When I run longProcess on a file A, and then I run anotherAction on a file B, what happens is anotherAction is run on file A and not on file B.  To clarify, I wanted to do this:

longProcess fileA
anotherAction fileB

but what happens is this:

longProcess fileA
anotherAction fileA

This happens even while working on another window. To workaround this problem, I have to wait longProcess to finish before starting anotherAction.
Is this a known issue/bug?

Last edited by zang3tsu (2012-06-15 11:19:50)

Offline

#2 2012-06-15 11:03:08

MinimalBoot
Member
Registered: 2012-05-01
Posts: 38

Re: [SOLVED] Thunar Custom Action problems

Since you don't need to wait for any output, can't you just add & and send the first process to background ?

Offline

#3 2012-06-15 11:19:22

zang3tsu
Member
Registered: 2012-03-24
Posts: 5

Re: [SOLVED] Thunar Custom Action problems

I dug deeper into this and it seems to be caused by konsole. I was using konsole before for launching terminals from custom actions and it apparently would use the previous parameters. However, reverting to terminal, the problem doesn't exist.  I'm marking this as solved. Thanks.

Offline

Board footer

Powered by FluxBB