You are not logged in.
So I was doing some looking around at some of the actual commands that are executed when starting an application when I noticed that some of the programs have an % simbol appended to the command. This is then accompanied by a letter (usually U, or u)
I'm thinking this is a way of allowing an application to run with certain group privileges, though I'm not sure. If that is the case, what is the difference between the U and the u?
For example, if I wanted to give a program like HandBrake the privilege of being able to shut down the system when done, would the command look like this:
ghb %power
If you can't be helpful, don't say anything at all. Fair enough?
Offline
http://standards.freedesktop.org/deskto … -variables
I'm not sure if handbrake can shutdown your PC when it's done.. You could write a script to run handbreak-cli, then poweroff your machine when that command exits though.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I'm not sure if handbrake can shutdown your PC when it's done.
Last year it could: https://bbs.archlinux.org/viewtopic.php … 0#p1311590
Last edited by karol (2014-03-23 03:59:43)
Offline
WorMzy wrote:I'm not sure if handbrake can shutdown your PC when it's done.
Last year it could: https://bbs.archlinux.org/viewtopic.php … 0#p1311590
That was a thread I started a while back which I could not get a solid answer about. So far, the best option is to append a shutdown command to the initial command.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
What about upstream? Any luck?
Offline
I'm starting to get the idea that HandBrake can't do it (though the preferences gives the option to) The thing that gets me though is that the option to suspend the system when done does work. I use it all the time. Could it be that suspending the system doesn't require root access? I've tried running HandBrake as root, but that doesn't work either. It's easy enough to create a .desktop file to start with the option to shut down appended, though it just irritates me that the option is there, but it doesn't work. Other programs I use that offer the option are unsuccessful in shutting down the system as well (such as Qbittorrent) Since I've only had this problem on Arch, Manjaro, and Archbang, I assume it's got something to do with systemd, but of that I'm not sure of either.
I just think things should work properly.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
What about upstream? Any luck?
I've posted my question on HandBrake's forum, and have gotten even less results than any other.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
this is why I like programs like Transmission, which gives you the option of calling any executable you want when it's done. All I have to do is create either a shutdown launcher, or a suspend launcher.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
If this is about %something in .desktop files you should look for answer in freedesktop documentation: http://standards.freedesktop.org/deskto … 01s06.html
EDIT: duh! shouldn't reply on forum threads just woken up (WorMzy posted the same link on second post, sorry)
Last edited by ooo (2014-03-23 13:09:18)
Offline
If this is about %something in .desktop files you should look for answer in freedesktop documentation: http://standards.freedesktop.org/deskto … 01s06.html
https://bbs.archlinux.org/viewtopic.php … 0#p1395860 :-)
wchouser3, can you list what programs don't work (don't shut down the computer when finished) even though they should? HandBrake, Qbittorrent, which ones else?
Offline
Looks like Handbrake uses gnome power management's and gnome session manager's dbus interfaces to try and shut the PC down.
https://github.com/HandBrake/HandBrake/ … ks.c#L4423
https://github.com/HandBrake/HandBrake/ … ks.c#L4630
However, I don't know enough about dbus or gnome to know why suspend works, but shutdown doesn't.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
wchouser3, can you list what programs don't work (don't shut down the computer when finished) even though they should? HandBrake, Qbittorrent, which ones else?
Oh man....off hand, those are the only two that use now-a-days. I used to use Avidemux, which had the option, but I haven't used it in a couple of years now. HandBrake is the one I need it most for. I've switched from Qbittorrent to Transmission for another reason. As I commented earlier, I may stay with Transimission because it allows you to call any command or script you want when it's done, which works flawlessly.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
Looks like Handbrake uses gnome power management's and gnome session manager's dbus interfaces to try and shut the PC down.
https://github.com/HandBrake/HandBrake/ … ks.c#L4423
https://github.com/HandBrake/HandBrake/ … ks.c#L4630However, I don't know enough about dbus or gnome to know why suspend works, but shutdown doesn't.
That's kind of the same answer Handbrake's developer gave me on their forum some time back, though he never gave me any thing else. I asked the question again on their forums, as well as on LinuxDistroCommunity, though this forum is the only one I've gotten a response from. (which doesn't surprise me)
lol...I guess I'd be satisfied if he would just come out and say it just won't work with Arch. It least then, I could move on. I'm a little silly that way.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
@wchouser3
Please use the edit link to add information to your previous post when there are no intervening posts. Multiple sequential posts from the same user are a form of bumping, which is against our forum etiquette (linked in my sig).
Thanks
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
@wchouser3
Please use the edit link to add information to your previous post when there are no intervening posts. Multiple sequential posts from the same user are a form of bumping, which is against our forum etiquette (linked in my sig).Thanks
I'm not sure what you mean. As I scrolled up, the only time I saw that I did that is when I replied to two different people, one after another, or replied to someone, then posted something else. Am I supposed to combine replies (quotes)?
I apologize for my ignorance here, I'm still learning
If you can't be helpful, don't say anything at all. Fair enough?
Offline
Am I supposed to combine replies (quotes)?
Yup. These three posts https://bbs.archlinux.org/viewtopic.php … 1#p1395871 should be one:.
Offline
Yup. These three posts https://bbs.archlinux.org/viewtopic.php … 1#p1395871 should be one:.
hmm...Ok, sorry.....lol....jeez...so many rules
I do appreciate you setting me straight though. I won't do it again.
If you can't be helpful, don't say anything at all. Fair enough?
Offline
It was really meant as more of a friendly nudge than a slap on the wrist.
We appreciate your compliance, user 74059. Long live the Arch Overlard.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
It was really meant as more of a friendly nudge than a slap on the wrist.
We appreciate your compliance, user 74059. Long live the Arch Overlard.
I know....it's cool
If you can't be helpful, don't say anything at all. Fair enough?
Offline