Thunar queued job execution

OmegaPhil OmegaPhil at startmail.com
Tue Oct 27 11:16:25 CET 2015


Just for reference, SpaceFM (an advanced C/glib file manager) has
task/job management (pausing, queuing, simultan
eous tasks etc) so you might want to see how it works:

https://ignorantguru.github.io/spacefm/spacefm-manual-en.html#tasks

Main page: https://ignorantguru.github.io/spacefm/


On 27/10/15 09:18, Stefan Mitić wrote:
> Hi Alex,
> 
> first of all thanks for the answer. I have looked into thread management
> already and there is currently no way to set thread priority in GLib, that
> functionality was remover a long time 
ago (commit it was removed in
> <https://git.gnome.org/browse/glib/commit/?id=51d92adeee67d1df30d13fe41e97af9e563f62ec>)
> due to its unreliability. There is one way it could work right now but it
> would require (as far as I can tell) modifying "xfce/exo" which I would
> like to avoid as it is not used by just Thunar and might invoke problems
> with other peaces of Xfce using it.
> 
> I will try and write a "job manager" over the next few days and commit it
> for review and approval.
> 
> If you, or anyone else, have any ides on how to solve this differently I
> would appreciate any input.
> 
> Regards,
> Stefan Mitic
> 
> On Mon, Oct 26, 2015 at 8:15 PM Alex <acs82 at gmx.de> wrote:
> 
>>
>> Hi Stefan,
>>
>> your solution-approach sounds ok, however I would solve the issue in a
>> different way:
>> I would add a "pause" and a "queue" button into the file-transfer-window
>> which pops up when tranfering/copying files, where "queue" = pause +
>> auto-wakeup when there is no other file-transfere running.
>>
>> I quess there should be a way to pause thunar-jobs ? .. e.g. minimize
>> it's prio, so that it is not scheduled.
>>
>> That should minimize thread-switching ... so the user would have the
>> full freedom to only queue single file-transfere operations on need.
>>
>> Cheers,
>> Alex
>>
>>
>> On 26.10.2015 14:03, Stefan Mitić wrote:
>>> Hi everyone,
>>>
>>> I am trying to implement the following functionality into Thunar:
>>>  https://bugzilla.xfce.org/show_bug.cgi?id=12123
>>>
>>> The way I understand it the only way to do this would be to create a new
>>> class "Thunar job manager" that will take over the management of Thunar
>>> jobs and their execution, that way we would be able to have control over
>>> the order of execution of jobs.
>>>
>>> My question is what do you think about this approach and do you have any
>>> other ideas to implement this behavior?
>>>
>>> Best regards,
>>> Stefan Mitic
>>>
>>>
>>> _______________________________________________
>>> Xfce4-dev mailing list
>>> Xfce4-dev at xfce.org
>>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>>>
>>
>> _______________________________________________
>> Xfce4-dev mailing list
>> Xfce4-dev at xfce.org
>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
> 
> 
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20151027/57d1842c/attachment.sig>


More information about the Xfce4-dev mailing list