You are not logged in.
Greetings,
Though I'm a relatively intermediate user, I am new to Arch (just switched from Manjaro yesterday) one problem I have is that I've been unsuccessful in getting the "shutdown when completed" feature to work on software that offers the option (qbittorrent, handbrake, avidemux) I've searched the wiki, and haven't found an answer. Perhaps I'm not looking in the right place. Is this a configuration of the policy kit, or something else?
please help!!
If you can't be helpful, don't say anything at all. Fair enough?
Offline
I tried to google your issue, and I though "Hey! I found something relevant." D'oh!
I think the question is, how do these programs expect to be able to shut down the machine? Is the command configurable through settings or a config file? Or is it hard coded into them? I don't use any of these particular pieces of software, so I cannot answer this.
Offline
I tried to google your issue, and I though "Hey! I found something relevant." D'oh!
I think the question is, how do these programs expect to be able to shut down the machine? Is the command configurable through settings or a config file? Or is it hard coded into them? I don't use any of these particular pieces of software, so I cannot answer this.
yea.... I thought the same thing. I couldn't find a config file anywhere. That would have been a quick fix because I could have just scripted something Arch would respond to. I was unsuccessful. I've posted the same question to the respective forums as well. A config file that I can edit would be the preferred method for me.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
I tried to google your issue, and I though "Hey! I found something relevant." D'oh!
I think the question is, how do these programs expect to be able to shut down the machine? Is the command configurable through settings or a config file? Or is it hard coded into them? I don't use any of these particular pieces of software, so I cannot answer this.
lol...and by the way....that was my post you found on the qbittorrent forum. I had the same problem on Manjaro. Apparently, nobody on there know's what I'm talking about.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
@wcHouser3 this isnt gonna be helpful but why not just let it run?
computers like to be on....just shut off the screen and share your torrents.......I do
end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'the machine is not the end to the means., we are. In history, in board rooms and politic the greatest decision and effort
evolves from passion, lust for life, and a common sense of humanity. Never forget what you are and why'. -me
Offline
*confused*
Are any of those programs supposed to be able to shut down the computer when they are done, or do they just shut down themselves when done? I was under the impression that such options were the latter.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
*confused*
Are any of those programs supposed to be able to shut down the computer when they are done, or do they just shut down themselves when done? I was under the impression that such options were the latter.
+1
You can periodically check if if the program is still running and initiate system shutdown when it did close.
Offline
I was really curious about what Trilby was asking, so I installed handbrake, and indeed in the preferences, there is a "When encodes are complete" option with a drop down menu. In that menu there is a "Shutdown computer".
Offline
Thanks WW, I stand corrected. I was assuming based on what I have seen before, but haven't used any of those tools for a while.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
@wcHouser3 this isnt gonna be helpful but why not just let it run?
computers like to be on....just shut off the screen and share your torrents.......I do
hmm....I'm not sure I agree with that. But lets say for argument sake that I like to conserve electricity and prolong the life-span of the hard disk. But yea....I do share the torrents when it's running. I dual-boot this machine because I share it with my wife who has no interest in learning something new. (she uses windows, in case you didn't gather that on your own) Also, it's a laptop, which means it needs to be off in the morning for a couple of other reasons.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
Trilby wrote:*confused*
Are any of those programs supposed to be able to shut down the computer when they are done, or do they just shut down themselves when done? I was under the impression that such options were the latter.
+1
You can periodically check if if the program is still running and initiate system shutdown when it did close.
I tend not to periodically check anything when I'm in bed at night, except perhaps the back of my eyelids.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
I think Karol meant automating that checking. An overly simplified version would be:
#!/bin/bash
while [[ -n $(pgrep $1) ]]; do sleep 30; done
systemctl shutdownpass the name of the program in question as the first parameter.
Or launch the program with a wrapper script that will start the program then do the above lines.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Well, it looks as though the system standby does work. I'm not sure if root privileges are needed to do that or not. The only thing I changed is that I installed gnome-keyring and gnome-keyring-sharp. I don't know how that would make a difference because I don't use it to save passwords permanently. I'm satisfied with that, but I'm still curious at this point. The shut-down option always worked with the .deb based distros but not on Manjaro or Arch.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
I think Karol meant automating that checking. An overly simplified version would be:
#!/bin/bash while [[ -n $(pgrep $1) ]]; do sleep 30; done systemctl shutdownpass the name of the program in question as the first parameter.
Or launch the program with a wrapper script that will start the program then do the above lines.
I'll have to give that one a try when I get some time tomorrow. Thanks!
If you can't be helpful, don't say anything at all. Fair enough?
Offline
This is not a "solution", but...
Since we now use systemd, things really shutdown rather quickly. So what if you didn't teach your wife to use Linux, but rather just taught her to shut it down or reboot. Unless you are one of those who experience the shutdown hangs, this really shouldn't vastly increase the time in which it takes for your wife to get back into windows. Then you can just let the machine suspend on its own.
Of course, if you are comfortable with the command line, you could just do something like $ HandBrakeCLI <stuff to convert> && poweroff .
I don't know what options/features the other mentioned programs offer though.
Oh, if you want to use the graphical version, you could choose to have the program quit upon completion and launch it with /usr/bin/ghb && poweroff
Offline
This is not a "solution", but...
Since we now use systemd, things really shutdown rather quickly. So what if you didn't teach your wife to use Linux, but rather just taught her to shut it down or reboot. Unless you are one of those who experience the shutdown hangs, this really shouldn't vastly increase the time in which it takes for your wife to get back into windows. Then you can just let the machine suspend on its own.
Of course, if you are comfortable with the command line, you could just do something like $ HandBrakeCLI <stuff to convert> && poweroff .
I don't know what options/features the other mentioned programs offer though.Oh, if you want to use the graphical version, you could choose to have the program quit upon completion and launch it with /usr/bin/ghb && poweroff
That may be the most elegant solution, while still a work-around. I'll give it a try. Thanks Woofy!
If you can't be helpful, don't say anything at all. Fair enough?
Offline
Certainly not elegant by any means. But maybe it is something that can hold you over until you find a "real" fix for this. Maybe it might be worth reporting these issues upstream. Or at the very least, asking these various upstreams how they handle this particular feature, and if it is specific to a certain init system.
Maybe a feature request for the ability to configure the shutdown command might be worth while here.
Offline
Certainly not elegant by any means. But maybe it is something that can hold you over until you find a "real" fix for this. Maybe it might be worth reporting these issues upstream. Or at the very least, asking these various upstreams how they handle this particular feature, and if it is specific to a certain init system.
Maybe a feature request for the ability to configure the shutdown command might be worth while here.
I guess what I meant was that I can create a launcher with the parameters you listed. But yea, I'll keep probing the upstream, and see what they say as well.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
By what means are you "probing upstream"? If you haven't already filed a bug report, I think you should. I would call this a bug for sure.
Offline
By what means are you "probing upstream"? If you haven't already filed a bug report, I think you should. I would call this a bug for sure.
I was just hoping I would have at least gotten an answer from their forums. I guess I'm the only guy in the world that uses qbittorrent, handbrake, and avidemux on Arch...lol
Thanks for your help, Woofy! I'll definitely get the bugs reported.
If you can't be helpful, don't say anything at all. Fair enough?
Offline