Tutorial(s): Thunar Custom Actions--- simplify what you do
Tutorial(s): Thunar Custom Actions--- simplify what you do
Since I have been putting a bunch of hours into creating/building my own Thunar Custom Actions, I thought I'd solicit comments from our Forums Community about what you have created/ use & like.
I posted a couple of my more recent creations here:
viewtopic.php?f=23&t=48279
I have a few more that I'll add once, I document their creation, for any who may benefit from these.
I posted a couple of my more recent creations here:
viewtopic.php?f=23&t=48279
I have a few more that I'll add once, I document their creation, for any who may benefit from these.
Last edited by manyroads on Mon Feb 04, 2019 11:19 am, edited 1 time in total.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Re: Thunar Custom Actions--- what do you use & like
In case someone reading this topic hasn't yet discovered the Thunar Custom Actions feature,
here's a link to the xfce.org docs page: custom-actions (that xfce.org page is also linked from the MX Wiki)
Ubuntu wiki ThunarCustomActions page provides 30 examples
PCLinuxOS magazine (PDF, Jan 2015) "Xfce Tips And Tricks" describes several Thunar Custom Actions (dozens)
a nice collection here (not mine), with screenshots: https://gitlab.com/nobodyinperson/thunar-custom-actions
here's a link to the xfce.org docs page: custom-actions (that xfce.org page is also linked from the MX Wiki)
Ubuntu wiki ThunarCustomActions page provides 30 examples
PCLinuxOS magazine (PDF, Jan 2015) "Xfce Tips And Tricks" describes several Thunar Custom Actions (dozens)
a nice collection here (not mine), with screenshots: https://gitlab.com/nobodyinperson/thunar-custom-actions
Re: Thunar Custom Actions--- what do you use & like
I only make one change. I edit the Symlink Custom Action to:
Thanks to kmathern!
This makes it much easier to create my 20-odd data symlinks on installation.
Code: Select all
ln -s %f $(yad --width=640 --height=480 --center --file --directory --filename=%f --save --confirm-overwrite=oops)
This makes it much easier to create my 20-odd data symlinks on installation.
Gigabyte B550I Aorus Pro AX, Ryzen 5 5600G, 16GB, 250GB Samsung SSD (GPT), 2x1TB HDD (MBR), MX-21-AHS
Lenovo Thinkpad X220, dual-core i5, 4MB, 120GB Samsung SSD (GPT), MX-21
Re: Thunar Custom Actions--- what do you use & like
@skidoo: put the Ubu link in that Wiki entry--which really needs to be filled out one of these days...
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Thunar Custom Actions--- Image Conversion Function(s)
Image Conversion Function(s)
The following Thunar Custom Actions require that you have imagemagick installed (easy to do with mxpi).
Here are the commands for each:
To Convert jpg to png; the action command is:
To Convert png to jpg; the action command is:
I have the Appearance conditions set for both identically, see the image below:
The following Thunar Custom Actions require that you have imagemagick installed (easy to do with mxpi).
Here are the commands for each:
To Convert jpg to png; the action command is:
Code: Select all
convert %F `basename %F .jpg`.png
Code: Select all
convert %F `basename %F .png`.jpg
You do not have the required permissions to view the files attached to this post.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Thunar Custom Actions--- a better looking menu
Making a better looking Custom Action Menu
Because I have a lot of custom actions, and I like them organized here are a couple of 'tricks' to allow for grouping & sorting.
To create a separator with a label, simply mimic the following image; set the Appearance Conditions to all check marks. The lines is actually the dash from your keyboard. When you're done you will be able to do something nicer that I have.
As for the icons I use, I have a folder (collection) and they are simply set from the Custom Action editor screen. Keep them somewhere so you'll remember!!!!
Because I have a lot of custom actions, and I like them organized here are a couple of 'tricks' to allow for grouping & sorting.
To create a separator with a label, simply mimic the following image; set the Appearance Conditions to all check marks. The lines is actually the dash from your keyboard. When you're done you will be able to do something nicer that I have.
As for the icons I use, I have a folder (collection) and they are simply set from the Custom Action editor screen. Keep them somewhere so you'll remember!!!!
You do not have the required permissions to view the files attached to this post.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
- Buck Fankers
- Posts: 744
- Joined: Sat Mar 10, 2018 9:06 pm
Re: Thunar Custom Actions--- what do you use & like
Just want to say how I like all the Custom Actions in Thunar that already comes with MX!
But yours @manyroads (and icons) looks great, I love it, it would be huge improvement if they would come already with MX Thunar. I bet there would be users pointing this out, how MX Thunar is so much better than in other distros.
But yours @manyroads (and icons) looks great, I love it, it would be huge improvement if they would come already with MX Thunar. I bet there would be users pointing this out, how MX Thunar is so much better than in other distros.
Re: Thunar Custom Actions--- what do you use & like
@Buck Fankers I certainly am happy if people want to use what I create. It's all there for the taking.Buck Fankers wrote: ↑Sun Feb 03, 2019 9:00 pm Just want to say how I like all the Custom Actions in Thunar that already comes with MX!
But yours @manyroads (and icons) looks great, I love it, it would be huge improvement if they would come already with MX Thunar. I bet there would be users pointing this out, how MX Thunar is so much better than in other distros.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Thunar Custom Action--- anti-virus Action
Folder/File Virus scan
If you have clamav/clamtk installed (anti-virus available thru mxpi stable repo) you can create a custom action in thunar and make it invokeable on either single files or folders/ dirs. I find this especially useful for download of things such as Books, maps, images (pdf, png/jpg, etc.)
If you have clamav/clamtk installed (anti-virus available thru mxpi stable repo) you can create a custom action in thunar and make it invokeable on either single files or folders/ dirs. I find this especially useful for download of things such as Books, maps, images (pdf, png/jpg, etc.)
Code: Select all
clamtk %F
You do not have the required permissions to view the files attached to this post.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Thunar Custom Action--- Bulk Rename
If you wish to invoke the Bulk Rename functions for files/ folders via right-click make certain you first install:
Also, in order to be able to batch rename multiple audio files based on their tags, also install the Thunar Media Tags plugin:
Edit the Thunar Custom actions as follows:
Code: Select all
sudo apt-get install --no-install-recommends thunar
Code: Select all
sudo apt-get install thunar-media-tags-plugin
You do not have the required permissions to view the files attached to this post.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken