-
Notifications
You must be signed in to change notification settings - Fork 1.6k
LinGui: add support for running a command after an encode completes #6029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2a24619 to
74bfa95
Compare
|
Looks good, but have you considered making this more useful in the Flatpak version? Users will probably expect the command to run outside the sandbox. You could do this by prepending |
|
I had not, I've never really used the flatpak version. Thanks for the pointers on where to start, I'll look into it |
|
I've made the changes I think are needed, but I don't seem to be able to launch vlc when running a flatpack version of HandBrake. Is there something I'm missing with permissions? |
|
@robxnano or @jstebbins Any advice if you have a minute |
|
flatpaks don't have direct access to the hosts applications. I.e. if you run you will see a different list of applications than is available in /usr/bin outside of the flatpak. The flatpak ecosystem provides portals for things like this, but I don't know if there is a portal for execution of arbitrary apps. There is however a portal for launching the default app for a uri, Maybe |
18c44cb to
e6441bc
Compare
|
Apologies for dropping the ball with this one, life and all that. I have worked out how to get this to work with flatpak though. I had I've rebased and fixed the flatpak permissions I'm not expecting this PR to be merged for 1.9, as it does contain a new string in the Linux UI |
|
Since we are well past 1.9, is this in a state to consider merging? |
|
I think so, I've addressed all the feedback I've received so far |
|
OK, Thank you! |
Description of Change:
My lack of C and glib/gtk experience may very well be showing in full force here...
macOS and Windows can send the encoded file to an external application after the encode completes, this change adds that functionality for the Linux GUI as well. I'm not sure if this is the best way to invoke an external command
Tested on: