Topic: Since Thunar seems an overwhelming choice...

What custom actions would we like to see in it?

I definitely think there should be:

Open Directory as root
Open terminal here
Search - http://pastebin.com/f4b8f87cb - save it and in terminal do: chmod +x <filename>

Others:

Upload script - can be quite useful

Please add any others you may think can be handy as DEFAULT actions for Thunar if it is indeed used on the next release.


CURRENT LIST of wanted actions in thunar:

Open Directory as Root
Open File as Root
Open Terminal Here
Search - of some sort
MD5 Checksum of files

Last edited by sircrazy (2009-10-01 14:10:47)

Sigs do it better

Re: Since Thunar seems an overwhelming choice...

sircrazy wrote:

Open Directory as root
Open terminal here

These seem to be installed by default with the Ubuntu packages. Catfish is a good option for searching.

Re: Since Thunar seems an overwhelming choice...

omns wrote:
sircrazy wrote:

Open Directory as root
Open terminal here

These seem to be installed by default with the Ubuntu packages. Catfish is a good option for searching.

i know the terminal one is installed as an example, but idk about the other.

Sigs do it better

Re: Since Thunar seems an overwhelming choice...

Md5 sum
http://crunchbanglinux.org/forums/topic … m-actions/

Re: Since Thunar seems an overwhelming choice...

sircrazy wrote:
omns wrote:
sircrazy wrote:

Open Directory as root
Open terminal here

These seem to be installed by default with the Ubuntu packages. Catfish is a good option for searching.

i know the terminal one is installed as an example, but idk about the other.

Opening directory as root is NOT.

Terminal is.

Re: Since Thunar seems an overwhelming choice...

In addition to opening directory as root, Id also like to see opening (text) file as root.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Since Thunar seems an overwhelming choice...

Here and here are a few good ideas.
Actually mintUpload is a good way to upload files as well.
IMHO these are some of the things done right in Mint

My artwork at deviantART   |    My Tweet   | My upcoming web page
Nulla dies sine GIMP!
ASUS Eee PC 1000 HE | 2GB | 120GB OCZ Vertex 2 SSD | #! Statler

Re: Since Thunar seems an overwhelming choice...

Zwopper wrote:

Here and here are a few good ideas.
Actually mintUpload is a good way to upload files as well.
IMHO these are some of the things done right in Mint

the problem with mintupload is that it doesnt work with http sites, only to ftp and similar services right now. AFAIK

Sigs do it better

Re: Since Thunar seems an overwhelming choice...

there are a couple omploader scripts that work with it, the one I wrote will work as a thunar action or standalone. here's the thread http://crunchbanglinux.org/forums/topic … ou-please/

edit: heres a watermarking script I did too http://crunchbanglinux.org/forums/topic … termarker/

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Since Thunar seems an overwhelming choice...

It would be worth considering to install gthumb so one can use

gthumb --import-photos

in Thunar's volume preferences
to automatically import photos when a camera is connected.

Last edited by Zwopper (2009-10-01 19:27:37)

My artwork at deviantART   |    My Tweet   | My upcoming web page
Nulla dies sine GIMP!
ASUS Eee PC 1000 HE | 2GB | 120GB OCZ Vertex 2 SSD | #! Statler

Re: Since Thunar seems an overwhelming choice...

archive support from the context menu

Re: Since Thunar seems an overwhelming choice...

My only question about Thunar, is how do you actually delete something without it going to Trash first?

Re: Since Thunar seems an overwhelming choice...

^Shift Delete
Or add "Shred" to custom actions (ie. Shift Delete) big_smile

My artwork at deviantART   |    My Tweet   | My upcoming web page
Nulla dies sine GIMP!
ASUS Eee PC 1000 HE | 2GB | 120GB OCZ Vertex 2 SSD | #! Statler

Re: Since Thunar seems an overwhelming choice...

Zwopper wrote:

^Shift Delete
Or add "Shred" to custom actions (ie. Shift Delete) big_smile

Since I didnt know how to specify keyboard shortcuts as a command I found that using the following works in the same way, bypassing trash and "shredding" the item.

rm -r %F

Re: Since Thunar seems an overwhelming choice...

#!/bin/bash
# will ask for confirmation before shredding contents of folder it was called from
# safely cancels on no interaction
echo "Shred files in this folder? y or n"
read -t 4 userconfirm
if [ "$userconfirm" != "y" ]; then
echo "Shred Canceled"
exit 1
else
echo "Going to shred this folder..."
sleep 6s
echo "Shredding..."
shred -uz -n2 *
echo ""
echo "Shredded, gone forever. Will now exit..."
sleep 3s
fi
exit



Shredding to n2 is not so much that it is ultra secure but is quicker. Adjust to n4 or above for more secure but slower.

I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

Re: Since Thunar seems an overwhelming choice...

I don't wanna see anymore built in features, but script compilations and usefull plugins.

Tabbed thunar...

I'm so meta, even this acronym

Re: Since Thunar seems an overwhelming choice...

I'm not sure if it can be done with a custom action... but one of the things I miss from Windows is being able to queue up an album of music directly from the file manager.  I'm thinking something along the lines of:

right-click on any of the songs --> play album

I guess you'd have to have your music arranged in directories for this to work.  Don't want to waste resources reading thousands of mp3 tags to work out which songs belong together.

Re: Since Thunar seems an overwhelming choice...

cheeserolls wrote:

I'm not sure if it can be done with a custom action... but one of the things I miss from Windows is being able to queue up an album of music directly from the file manager.  I'm thinking something along the lines of:

right-click on any of the songs --> play album

I guess you'd have to have your music arranged in directories for this to work.  Don't want to waste resources reading thousands of mp3 tags to work out which songs belong together.

aybe you look here: http://thunar.xfce.org/pwiki/documentat … om_actions.

Link courtesy of anonymous in another thread...

Re: Since Thunar seems an overwhelming choice...

cheeserolls wrote:

I'm not sure if it can be done with a custom action... but one of the things I miss from Windows is being able to queue up an album of music directly from the file manager.  I'm thinking something along the lines of:

right-click on any of the songs --> play album

I guess you'd have to have your music arranged in directories for this to work.  Don't want to waste resources reading thousands of mp3 tags to work out which songs belong together.

mpd and pipe menus, there you dont even need a file manager

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: Since Thunar seems an overwhelming choice...

sircrazy wrote:

CURRENT LIST of wanted actions in thunar:

Open Directory as Root
Open File as Root
Search - of some sort

While not built-in to Thunar natively, these 3 custom actions can deliver what you are looking for.

http://crunchbanglinux.org/forums/post/53334/#p53334

#! 10 “Statler” r20110207 32-bit & Openbox

Re: Since Thunar seems an overwhelming choice...

There is also a thread on Thunar custom actions on the Debian user forums that is worth a look?
http://forums.debian.net/viewtopic.php? … 02d88cb34c

Re: Since Thunar seems an overwhelming choice...

Something interesting I did recently: instead of having separate actions for opening folders and files as root, I combined them into one with:

gksudo gnome-open %f
Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Since Thunar seems an overwhelming choice...

anonymous wrote:

Something interesting I did recently: instead of having separate actions for opening folders and files as root, I combined them into one with:

gksudo gnome-open %f

nice ;-)

#! 10 “Statler” r20110207 32-bit & Openbox

Re: Since Thunar seems an overwhelming choice...

anonymous wrote:

Something interesting I did recently: instead of having separate actions for opening folders and files as root, I combined them into one with:

gksudo gnome-open %f

This works too:

gksudo thunar %f

if you haven't got the gnome library.

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo

Re: Since Thunar seems an overwhelming choice...

I quite like this custom action by julian67 for mounting/unmounting ISO and other image files. What's nice about this one, is that the ISO image is mounted in the same folder as the image itself. In addition, you can unmount the mounted image by right-clicking on the mounted image.

Mount:
command:
CODE: fuseiso -n -p %f %f.mount


appearance conditions:
CODE: *.iso;*.ISO;*.bin;*.BIN;*.nrg;*.NRG;*.mdf;*.MDF
http://img51.imageshack.us/img51/5615/fuseiso.jpg

Unmount:
command:
CODE: fusermount -u %f


appearance conditions:
CODE: *.mount
http://img685.imageshack.us/img685/7435/unmountfuseiso.jpg

Last edited by nabilalk (2010-02-20 22:54:44)

#! 10 “Statler” r20110207 32-bit & Openbox