Forum
« Thunar - custom actions »

Welcome Guest. Please Login or Register.
May 24, 2013, 3:33pm



Return to or visit the SalineOS webpage

Forum :: General :: Software and Applications :: Thunar - custom actions
« Page 4 of 5 » Jump to page   Go    [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Thunar - custom actions (Read 3,978 times)
mihail
Full Member
***
member is offline





Joined: Dec 2011
Gender: Male
Posts: 120
Location: Romania
 Re: Thunar - custom actions
« Reply #45 on Jan 2, 2012, 2:23pm »

zuper :) thanks a bunch :)
Link to Post - Back to Top  IP: Logged

mihail
Full Member
***
member is offline





Joined: Dec 2011
Gender: Male
Posts: 120
Location: Romania
 Re: Thunar - custom actions
« Reply #46 on Jan 2, 2012, 7:07pm »

hey, you know what it would be handy?

a format stick option on right click, like in windoze...

i imagine this could be a bit of work though... or you can implement the line command option to format in fat32... maybe this would be much easy...
Link to Post - Back to Top  IP: Logged

Richard
Elder Member
*****
member is offline

[avatar]



Joined: Jan 2011
Gender: Male
Posts: 595
Location: Venezuela
 Re: Thunar - custom actions
« Reply #47 on Jan 2, 2012, 8:03pm »

@mihail,
It is there in the last, long script from Anthony. It says:
"Burn" image to USB drive. :)
I'm trying it out now.

[Note: Didn't read the Note before I tried and failed. ]

Name: "Burn" Image To USB Drive
Command: gksu "image-to-usb %f"
Note: Requires http://www.salineos.com/Scripts/image-to-usb to be placed in /usr/bin and marked executable. Shows on Other > *.iso;*.img

[
Doing the above. Will try a sym link next time :).
Now it's running. Ran. and now to reboot.
SUCCESS!

Thanks to hipsauerkraut for starting this and to Anthony for elaborating all the goodies.
]
« Last Edit: Jan 2, 2012, 8:18pm by Richard »Link to Post - Back to Top  IP: Logged

SalineOS-2.0, Xfce4.8, w/3.2.0-4-686-pae
SalineOS-1.7, Xfce4.6.2, w/3.2.0-0.bpo.4-686-pae;
LinuxMint-14, Xfce4.10, w/3.5.0-17-generic
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,338
 Re: Thunar - custom actions
« Reply #48 on Jan 2, 2012, 11:04pm »

I believe he is inquiring about formatting an external drive such as a USB stick with a blank file-system. This is possible, but there are a couple issues. First of all the custom action entry would have to show for every single directory (Since devices are directories in Thunar). Secondly I have no idea how to create a fat32 filesystem in a script, I could recycle the code from the installer to support ext3 or ext4 using tune2fs.

Honestly for the amount of times you need to format a USB stick, I think opening GParted is in order.
Link to Post - Back to Top  IP: Logged
Richard
Elder Member
*****
member is offline

[avatar]



Joined: Jan 2011
Gender: Male
Posts: 595
Location: Venezuela
 Re: Thunar - custom actions
« Reply #49 on Jan 3, 2012, 10:12am »

Opps. Yes, you are correct. :-[

I saw what I was thinking about.

You're probably right about gparted.
Thunar is getting to be a screenful already. :)
Link to Post - Back to Top  IP: Logged

SalineOS-2.0, Xfce4.8, w/3.2.0-4-686-pae
SalineOS-1.7, Xfce4.6.2, w/3.2.0-0.bpo.4-686-pae;
LinuxMint-14, Xfce4.10, w/3.5.0-17-generic
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 285
 Re: Thunar - custom actions
« Reply #50 on Jan 3, 2012, 11:21am »

Is this one a candidate


Quote:
How big?
Show total size of selected dirs and files
xterm -hold -e du -chs &N


I find it handy sometimes
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,338
 Re: Thunar - custom actions
« Reply #51 on Jan 3, 2012, 9:28pm »


Jan 3, 2012, 11:21am, ukbrian wrote:
Is this one a candidate


Quote:
How big?
Show total size of selected dirs and files
xterm -hold -e du -chs &N


I find it handy sometimes


That will accomplish the same thing as this one, that I already included.

Name: Disk Usage Utility
Command: du -chs --apparent-size %N | zenity --text-info
Note: Show on all, shows the output in a Zenity list. The real difference between the two is the one you are proposing execs a terminal window whereas this one uses a Zenity list. The output will be identical (mostly).
Link to Post - Back to Top  IP: Logged
xanabras
Guest
 Re: Thunar - custom actions
« Reply #52 on Feb 7, 2012, 8:45pm »

Thunar (an old version) shows mounted DVDs twice...

Moved files are copied instead.

Deleted files remain in sight until logging out...!

I wish this were fixed and I could use SalineOS. Thank you.

xanabras
Link to Post - Back to Top  IP: Logged
petrek
Senior Member
****
member is offline

[avatar]



Joined: Aug 2011
Gender: Male
Posts: 386
Location: Poland
 Re: Thunar - custom actions
« Reply #53 on Feb 8, 2012, 12:05am »

You can try to install gamin. Are you sure that moving only copies files, and it's not problem with refreshing like with deleting files?
Link to Post - Back to Top  IP: Logged

Skallagrigg
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,338
 Re: Thunar - custom actions
« Reply #54 on Feb 8, 2012, 12:35am »

The default for Xfce 4.6.2 is to not refresh the file list constantly. You can get the functionality you want by following petrek's suggestion and installing gamin.
Link to Post - Back to Top  IP: Logged
xanabras
Guest
 Re: Thunar - custom actions
« Reply #55 on Feb 8, 2012, 8:39am »

Thank you both, petrek and Anthony Nordquist, for your prompt directions. I will try Saline OS again, this time with gamin as well.

- Thunar: shows all folders as being 4K long and, in other distros/versions, would not even mount external NTFS drives; useless;
- PCManFM: crashes all too often; useless;
- Dolphin: the best one (no wonder), though it cannot deal with files having odd characters in their names (I have to use PCmanFM to delete them); quite usable.

The general user cannot use any distro if its file manager, to start with, is a pathetic joke that malfunctions or lacks essential functionality. Presently, KDE/Dolphin appears to be the only decent interface in Linux. Gnome 2 had many good for file/folder administration and LAN sharing, besides worked well most of the time, therefore it was discontinued and replaced with Gnome 3, which is practically unusable. LXDE and XFCE are lacking way behind KDE (which is hard to like overall anyway). People who design such user interfaces would know better if they worked themselves with their faulty odd creations on many files and folders all day or night long.

Kind regards.

xanabras
Link to Post - Back to Top  IP: Logged
xanabras
Guest
 Re: Thunar - custom actions
« Reply #56 on Feb 8, 2012, 9:07am »

Please read "LXDE and XFCE are lagging way behind KDE" instead.

xanabras
Link to Post - Back to Top  IP: Logged
petrek
Senior Member
****
member is offline

[avatar]



Joined: Aug 2011
Gender: Male
Posts: 386
Location: Poland
 Re: Thunar - custom actions
« Reply #57 on Feb 8, 2012, 10:09am »

For mounting external ntfs drives you can use Gigolo. And it's much, much easier than mounting ext partitions in Windows ;) Everything in *nix is a file, so Thunar shows size of this file, not of what's inside. And as everyone knows (and few deny), earth is round, so lagging behind is also being a way ahead ;)
Link to Post - Back to Top  IP: Logged

Skallagrigg
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,338
 Re: Thunar - custom actions
« Reply #58 on Feb 8, 2012, 11:55am »

We can debate that Xfce is lagging behind other desktop environments. Thunar in particular is actually a very good and very flexible file manager, it even has a very powerful scripting interface that I have recently made big use of. If you want to know the size inside the folder you can right click and click Disk Usage Utility and see :) Petrek is correct (Almost) everything in the world of Unix uses the file API, including folders.

The way I see things is fairly simple, Xfce has a really small development team and takes a long time to accomplish things. This can be as much a strength as a weakness, because small development teams don't write things just because they can. Everything is thought out well and no snap decisions are made. See the GNOME 3 example and Unity, both from my perspective are gigantic wastes of time and fairly unusable for a daily machine. They just sat down and decided to re-invent the wheel, which is never going to work out too well. You will never see Xfce take this path, unless they somehow get taken over by a gigantic entity with lots of money. Slow and steady progression is what made GNOME 2 good, and what will make Xfce eventually be the best (It already is from my perspective, but it really depends on your metric of best). Xfce 4.8 is simply a better version of 4.6.2 and 4.10 will simply be a better version of 4.8. The downside to this is, that there just aren't enough people to write everything under the sun and sometimes you need functionality that just isn't done yet, for example I am shipping Network Manager GNOME.
Link to Post - Back to Top  IP: Logged
parnote
New Member
*
member is offline

[avatar]



Joined: Apr 2012
Gender: Male
Posts: 3
Location: Independence, MO
 Re: Thunar - custom actions
« Reply #59 on Apr 19, 2012, 6:40pm »

Hey there! New to this forum.

Thanks, Anthony! These are some awesome Thunar scripts and Custom Actions.

parnote
Link to Post - Back to Top  IP: Logged
« Page 4 of 5 » Jump to page   Go    [Search This Thread] [Share Topic] [Print]



Anthony Nordquist, on behalf of the SalineOS project, is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As such, if you click the above banner and then make any purchase including digital downloads, a small percentage will be paid to the SalineOS project.
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile