Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-12-11 18:40:55

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

[Solved] Thuar Custom Action grouping limitation

First a BIG THANK YOU to ToZ for his idea on making a Gtk3 menu instead of window to launch a group of thunar custom actions.
I guess I was too damn tired when I thought there was no way to close the running script is the user clicks outside of the menu. It was just connected to the wrong signal <blushes>. smile
This is a work around for Thunar's limitation, and as ToZ said there were many requests to group Thunar Custom Actions after the plugin was deprecated.

It's a python3 script that launches a group of Actions in a Gtk3 menu from a Thunar custom action.
*Makes it super easy to predefine groups of Custom Actions
*The script checks if a command/software is installed before adding it to a menu.
*If gksu, gksudo or kdesu is used in the command, script will use the next string to check if the command exists. That means it will not work with additional parameters after gksu, gksudo or kdesu.
*The icon can be read from a file or an icon set. If no icon is found it will default to gtk-stop icon from an icon set but that can be changed in the script.

This is just the script for the Audio Actions and can be changed for any use.
So far tested in TRIOS RC (Debian Jessie, no-systemd)
4GOQXuS.png
Script is now on Gitlab

Enjoy smile
Miško


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

#2 2016-05-12 18:43:41

ranoutofusernames
Member
Registered: 2016-05-11
Posts: 12

Re: [Solved] Thuar Custom Action grouping limitation

Hey Miško, what's the licence on the script?

Dang, never mind, it's right there.

GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.

Last edited by ranoutofusernames (2016-05-12 19:28:30)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 8 queries executed - Memory usage: 522.49 KiB (Peak: 523.34 KiB) ]