You are not logged in.
Can I use any command as a custom action even if it isn't related to file work?
Such as
cancel -a -x
Last edited by fixit (2019-03-06 13:07:06)
Ubuntu-Mate 24.04
Offline
hi,
As you can see, you get no reply. Perhaps nobody understand the question ?
If you want a custom action for a keyboard shortcut, the answer is certainly yes.
If you look for other thing, you must update your question and explain better.
Offline
can you give us more information about the context in which you are using the custom action? pretty much any place where you can specify a command to run will let you specify any command. on my computer "any" is an actual command. i wrote it.
Offline
can you give us more information about the context in which you are using the custom action? pretty much any place where you can specify a command to run will let you specify any command. on my computer "any" is an actual command. i wrote it.
for ex. cancel -a -x cancels all print jobs.
So if I can use it as a custom action, that would be a little quicker than having to go to a terminal and type that command.
Last edited by fixit (2019-03-07 13:53:43)
Ubuntu-Mate 24.04
Offline
Thunar custom actions are very flexible. Create a custom action that runs that command and on the Appearance tab, select "Directories". This will make the command show up when you right-click on a blank space a thunar window.
Doesn't cancel require root privileges? Perhaps the command should be:
pkexec cancel -a -x
..or if you are using an older distro:
gksudo cancel -a -x
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thunar custom actions are very flexible. Create a custom action that runs that command and on the Appearance tab, select "Directories". This will make the command show up when you right-click on a blank space a thunar window.
Doesn't cancel require root privileges? Perhaps the command should be:
pkexec cancel -a -x
It doesn't require sudo on my Ubuntu Mate 18.04.
Last edited by fixit (2019-03-07 23:57:30)
Ubuntu-Mate 24.04
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 535.53 KiB (Peak: 536.38 KiB) ]