|
Author | Topic: Thunar - custom actions (Read 3,954 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
|
|
|
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...
|
|
|
Richard Elder Member
     member is online
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 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. ]
|
SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae; SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae Fedora-18, Xfce4.10, w/ 3.8.x
|
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | 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.
| |
|
Richard Elder Member
     member is online
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 Location: Venezuela
| |
ukbrian Senior Member
    member is offline
Joined: Aug 2011 Gender: Male  Posts: 284
|  | 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
| |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | 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).
| |
|
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
| |
|
petrek Senior Member
    member is offline
![[avatar] [avatar]](http://img543.imageshack.us/img543/3784/avatarebm.jpg)
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?
|
Skallagrigg |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | 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.
| |
|
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
| |
|
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
| |
|
petrek Senior Member
    member is offline
![[avatar] [avatar]](http://img543.imageshack.us/img543/3784/avatarebm.jpg)
Joined: Aug 2011 Gender: Male  Posts: 386 Location: Poland
| |
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | 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.
| |
|
parnote New Member
 member is offline
![[avatar] [avatar]](http://img715.imageshack.us/img715/2373/meprofilepicpclinuxos2.png)
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
| |
|
|