Posts

Showing posts with the label Thunar

[SOLVED] Thunar Error Setting Permissions

Image
Problem When copying or moving files to a NTFS partition an annoying error message about setting permissions is shown. The files are still copied/moved. Solution This can be easily fixed by adding uid=1000 to your mounting options in /etc/fstab . Open fstab with root permissions: sudo mousepad /etc/fstab (replace mousepad with the command for your favorite text editor). Find the line corresponding to your NTFS partition (see example bellow for help). Add uid=1000 after umask=007 , use commas (again see example). Example How it looks by default: # /media/Data was on /dev/sdb6 during installation UUID=702907667255DAFB /media/Data ntfs defaults,umask=007,gid=46 0 0 After adding uid=1000 : # /media/Data was on /dev/sdb6 during installation UUID=702907667255DAFB /media/Data ntfs defaults umask=007, uid=1000 ,gid=46 0 0

[SOLVED] Thunar Slow Startup

Problem Thunar takes several seconds to open when it's run for the first time on the session. Solution Open a terminal window and run this command: sudo sed -i 's/AutoMount=true/AutoMount=false/' /usr/share/gvfs/mounts/network.mount References [SOLVED] Thunar slow to start under xfce 4.10

[HOW TO] Add options to Thunar's "Send To" menu

Thunar's "send to" menu option can be easily extended using desktop entry files . All we need is to create a new desktop file in ~/.local/share/Thunar/sendto/ for each destination. The desktop file has a MimeType field which allows you to control on which file types the "send to" option will appear. If you omit the MimeType the option will appear for all types. Example The example bellow is a option to send my sketches to Picasa. It appears only for PNG images and uses a shell script that I wrote and is in $PATH . You can use it as a boilerplate for your own. # sketchupload.desktop - Send to Picasa [Desktop Entry] Type=Application Version=1.0 Encoding=UTF-8 TryExec=sketchupload.sh Exec=sketchupload.sh %F Icon=picasa-16 Name=Send to Picasa MimeType=image/png; References The "Send To" Menu

[TIP] Open Directory In Guake from Thunar

Image
In this article we'll see how to change the working directory in Guake terminal from Thunar's context menu. Install Add a custom action in Thunar with the following contents: Name: Open Guake Here Command: guake -n NEW_TAB && guake -e "cd %f" && guake -t File Pattern: * Appears if selection contains: Directories Note: This UCA has one problem; if Guake is already visible it'll will hide it. That's because of the --toggle-visibility option.

[HOW TO] Add Thunar Custom Actions

Image
Thunar allows the user to add custom actions the the file and folder context menu (right-click). Add custom action The easiest way is to learn by example: Open Thunar, then Edit > Configure custom actions... . Enter this data: Name: Add to Playlist Command: gmusicbrowser -cmd AddFilesToPlaylist %F File pattern: * Appears if selection contains: Audio files This will show a menu item when audio files are selected that adds them to gmusicbrowser 's playlist. Thunar's custom actions are added to the XML file: ~/.config/Thunar/uca.xml . Check the references for more examples. In the meanwhile I'll post some of my own. References Custom actions

[HOW TO] Install and Integrate Dropbox with Thunar

Image
In this article we'll see how to install Dropbox and Thunar integration in Xubuntu. Thunar Dropbox plugin running on Xubuntu I've tested this procedure in Xubuntu 12.04 and Xubuntu 12.10 (32 and 64 bits). It also works for the newer version of Thunar (1.5.2 at the time of this writing). Install Choose one of the alternatives and run the corresponding command on a terminal window: Alternative #1 - Install both Dropbox and Thunar plugin cd && plat=`uname -m`; if [ $plat != "x86_64" ]; then plat="x86"; deb="i386"; else deb="amd64"; fi; wget -O - "http://www.dropbox.com/download?plat=lnx.$plat" | tar xzf - && wget -O dropbox-thunar-plugin.deb http://packages.crunchbang.org/waldorf/pool/main/thunar-dropbox-plugin_0.2.0-1_$deb.deb && sudo dpkg -i dropbox-thunar-plugin.deb && rm dropbox-thunar-plugin.deb && ~/.dropbox-dist/dropboxd Alternative #2 - Install only t...

[HOW TO] Install Thunar 1.5.1 in Xubuntu (ppa)

Image
Thunar 1.5.1 has been released and it brings tabs support and fixes many bugs (among them the double volume bug). Here's how to install it using Xubuntu Developers PPA. Thunar 1.5.1 running on Xubuntu 12.04 Note for Xubuntu 12.04 users: the Xfce 4.10 PPA is required and adding it will upgrade Xfce 4.8 to 4.10. Install Open a terminal window and run (tested in 12.04 and 12.10) : if [ $(lsb_release -r -s) == "12.04" ]; then sudo add-apt-repository ppa:xubuntu-dev/xfce-4.10 -y; fi && sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12 -y && sudo apt-get update && sudo apt-get dist-upgrade -y Finally, log out/log in. Usage Thunar can be accessed via Applications Menu > Accessories > File Manager or typing the following command: thunar . References Xfce 4.12 packages: Xubuntu Developers Team

[NEWS] Thunar 1.5.1 adds tabs support

The new development release of Thunar, the Xubuntu's default file manger, adds support for tabs browsing. Release notes for 1.5.1: Interesting release for a lot of users since this releases introduces the much-requested tabs in Thunar . Furthermore the new side pane has some important bugs fixed, the tool bar had a cleanup and is much more compact now and there is a permanent delete option. There are also various speed optimizations in thumbnail/icon handling and a number of bugs fixed. Here's how to install it in Xubuntu: link . References ANNOUNCE: thunar 1.5.1 released

[HOW TO] Enable Single Click in Thunar

Image
Thunar (the default Xfce file manager) has one option that enables opening a item (file/directory) with a single click, just like links are open in a web browser. Enable single-click To enable this option, on the Thunar interface, open Edit > Preferences... , then on the "Behaviour" tab choose the option "Single click to activate items". Selecting items When single click is enabled, hover the item for a few moments and i'll be selected. Multiple items can be selected by holding the Ctrl key and hovering other items (multiple file selection also works with left-click; it won't open the items just add them to selection). Under the option to enable single-click, there's a slider that adjusts the amount of time it takes a item to be selected when the mouse is hovering it.

[FIX] gnome-open/gvfs-open open nautilus instead of actual file

When using gnome-open/gvfs-open to open a file when nautilus is set as the default file manager, the file is not opened with the preferred application, instead nautilus is opens highlighting the file. After some research I found this to be a bug yet to be fixed. But knowing that exo-open behaves properly, I came out a solution that's a little a hack: replace gnome-open and gvfs-open for exo-open . Fix for YOUR USER only As a prerequisite you should have a "bin" directory on your $HOME and it should be added to your $PATH . Them open a terminal window and run: ln -s `which exo-open` ~/bin/gnome-open && ln -s `which exo-open` ~/bin/gvfs-open Fix for ALL USERS Open a terminal window and run: # backup sudo mv /usr/bin/gnome-open /usr/bin/gnome-open-bak sudo mv /usr/bin/gvfs-open /usr/bin/gvfs-open-bak # create symbolic link to exo-open sudo ln -s /usr/bin/exo-open /usr/bin/gnome-open && sudo ln -s /usr/bin/exo-open /usr/bin/gvfs-open Re...

No tabs for Thunar

Image
Update: Since version 1.5.1 Thunar supports multiple tabs. Here's how to install it. If you're wondering when will Thunar support tabs, well the answer is never (see the reference bellow ). If you really want/need a file manager with tabs support for your Xubuntu, you could easily install nautilus: $ sudo apt-get install nautilus Nautilus will add tabs support for Xfce/Xubuntu References: When will thunar support tabs? (Xfce Forum)

Add support for Samba shares to Thunar [Xubuntu 11.10]

Image
Thunar is a simple and easy to use file manager and is the default choice for Xfce. Despite the fact the it incorporates all the main features that one would expect from a modern file manager, Thunar doesn't provide a out of the box solution for accessing remote folders (namely Samba shares). Running the command below will add support for remote folders: $ sudo apt-get install gvfs-backends