topic title: qtfm file manager.
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#16
I've also been playing with LightDM
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://crunchbanglinux.org/forums/post/189346/#p189346"
linktext was:"here"
====================================
. It's quite easy to setup & theme.

With SLIM I was getting X session errors such as"cannot find display" after resuming from suspend (mainly & sometimes randomly) & thought perhaps it was due to SLIM's lack of policykit / consolekit integration ?
tradetaxfree
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#17
DM - I just noticed your Shoutbox.

To build qtfm I installed the build dependencies:

Code: Select all

apt-get install libqt4-dev
This pulls in the following dependencies:

qt4-qmake
qt4-linguist-tools
libqtgui4
libqtcore4
libqtgui4
libqt4-xmlpatterns
libqt4-xml
libqt4-test
libqt4-svg
libqt4-sql
libqt4-scripttools
libqt4-script
libqt4-qt3support
libqt4-network
libqt4-help
libqt4-designer
libqt4-declarative
libqt4-dbus

Then in the root of the source tree (as shown in the README):

Code: Select all

qmake
make
To build debs from non debian sources the easiest way (while still in the source tree):

Code: Select all

apt-get install checkinstall
checkinstall
& follow the prompts from checkinstall.

I usually run checkinstall --install=no if I am rebuilding a deb that is currently installed & uninstall it first before installing the new deb.
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#18
I've built a new qtfm 5.4 deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mediafire.com/file/keuu54gdm354w5e/qtfm_5.4-1_i386.deb"
linktext was:"here"
====================================



========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post24556.html?hilit=qtfm#p24556"
linktext was:"*** see qtFM 5.5 below ***"
====================================


It automounts USB drives without any problems & is quite usable now with Custom Actions & support for MIME types.

Install the QT dependencies:

Code: Select all

apt-get install libqt4-network libqtgui4 
To get the icons working correctly in qtfm:

Code: Select all

apt-get install tango-icon-theme
nano ~/.config/qtfm/qtfm.conf
& add to the [General] section at the top:

Code: Select all

forceTheme=Tango
Custom Actions

For greater control of Custom Actions (& for"Edit as Root" to work for all text files), add the following to the [General] section at the top:

Code: Select all

realMimeTypes=1
& change the [customActions] section of ~/.config/qtfm/qtfm.conf to:

Code: Select all

[customActions]
%00=application/x-gzip, Extract here, package-x-generic, tar xf %f
%01=folder, Term here, terminal, urxvt -cd %F
%02=*, Compress, filesave, tar czf %n.tar.gz %f
%03=application/zip, Extract here, package-x-generic, unzip %f
%04=text, Edit as Root, accessories-text-editor, gksu leafpad %f
%05=application/x-debian-package, Open with Gdebi, package-x-generic, gksu gdebi-gtk %f
%06=application/x-7z-compressed, Extract here, package-x-generic, 7z e %f
%07=application/x-rar, Extract here, package-x-generic, unrar-nonfree e %f
%08=folder, Root Term here, system-lock-screen, gksu roxterm %F
The above custom actions assume you have unrar & p7zip-full installed so 7z & rar archives can be extracted & also gdebi to install deb packages.
Last edited by tradetaxfree on 01 May 2012, 05:59, edited 1 time in total.
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#19
qtFM version 5.5 beta (contains a few fixes not in 5.4)

The deb package can be found
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mediafire.com/file/te278b7eucd7fn7/qtfm_5.5.beta-1_i386.deb"
linktext was:"here"
====================================
. The deb now installs the dependencies (libc6, libqt4-network (>=4.6), libqtgui4 (>=4.6)) & also has the
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://igurublog.wordpress.com/downloads/script-xtract/"
linktext was:"Xtract"
====================================
script included for upacking archives.

** If you already use Xtract ** from Ignorant Guru's PPA you will want
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mediafire.com/file/0a49q5nlg0fw5ox/qtfm_5.5.beta-1~no-xtract_i386.deb"
linktext was:"this deb"
====================================
built without Xtract.

The following archives are supported:

gz .bz2 .7z .xz .txz .tgz .zip .ZIP .rar .RAR .iso .ISO .tar .tar.gz .tar.xz .tar.bz2 .tar.7z

To get the icons working correctly in qtfm:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post24561.html?hilit=qtfm#p24561"
linktext was:"** The best icon theme for qtFM are the Faenza icons below **"
====================================


For quick icons:

Code: Select all

apt-get install tango-icon-theme
nano ~/.config/qtfm/qtfm.conf
& add to the [General] section at the top:

Code: Select all

forceTheme=Tango
Custom Actions

For greater control of Custom Actions (& for"Edit as Root" to work for all text files), add the following to the [General] section at the top:

Code: Select all

realMimeTypes=1
& change the [customActions] section of ~/.config/qtfm/qtfm.conf to:

Code: Select all

[customActions]
%00=folder, Open as Root, changes-allow, gksu qtfm %F
%01=folder, Term here, terminal, roxterm -d %F
%02=text, Edit as Root, accessories-text-editor, gksu leafpad %f
%03=application/x-debian-package, Open with Gdebi, package-x-generic, gksu gdebi-gtk %f
%04=folder, Root Term here, system-lock-screen, gksu roxterm %F
%05=*, Symlink in ~/, emblem-symbolic-link, ln -s %F ~/%f
%06="application/x-gzip,application/zip,application/x-7z-compressed,application/x-rar,application/x-bzip2,application/x-iso9660-image,application/x-xz,application/x-xz-compressed-tar,application/x-tar,application/x-tarz", Xtract, package-x-generic, xtract %F
%07=*, Compress, filesave, tar czf %n.tar.gz %f
The above Custom Actions now include options for "Opening Folder as Root" & also for "Symlink in ~/" - which places the symlink with the absolute path to the $TARGET in your $HOME directory (the symlink can therefore be moved anywhere)

For all of the Custom Actions to work make sure you have the following installed:

Code: Select all

apt-get install unrar p7zip-full xz-lzma gdebi
I found that qtFM was not picking up icons for PDF & ISO files correctly on my system - this & other icon errors can be fixed with:

Code: Select all

sudo update-mime-database /usr/share/mime/
rm ~/.config/qtfm/*.cache
& closing & reopening qtFM
Last edited by tradetaxfree on 03 May 2012, 09:50, edited 6 times in total.
Posts: 9
NoSavvy
Joined: 05 Aug 2009
#20
#taxfree

that's a nice little howto.

Thanks.

NS.
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#21
The most compatible icon set I've found with qtFM:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://gnome-look.org/content/show.php/Faenza?content=128143"
linktext was:"Faenza"
====================================


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://gnome-look.org/content/show.php/Faenza?content=128143"
linktext was:"Faenza-Cupertino"
====================================
(for blue folders instead of the default brown)

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://gnome-look.org/content/show.php/Faenza+Fresh?content=141003&PHPSES"
linktext was:"Faenza-Fresh"
====================================
(extra icons)

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://launchpad.net/ubuntu/quantal/i386/humanity-icon-theme/0.5.3.11"
linktext was:"Humanity-Icon-Theme"
====================================
(Faenza inherits these)

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://launchpad.net/~ravefinity-project/+archive/ppa"
linktext was:"Humanity-Colors"
====================================


See my guide for
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post24574.html#p24574"
linktext was:"installing Faenza icons & Humanity-Colour with Ambiance / Radiance"
====================================
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#22
To have QT use your GTK Themes:

Code: Select all

apt-get install qt4-qtconfig
qtconfig-qt4
& Select"GTK+" from the"Select GUI Style" menu

I've also built debs for the
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://razor-qt.org/"
linktext was:"razor-qt"
====================================
desktop
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mediafire.com/file/a887qbqacr87728/razorqt-0.4.1-deb-220512.tar.bz2"
linktext was:"here"
====================================


& found
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.qupzilla.com"
linktext was:"QupZilla"
====================================
- a fast QT browser based on webkit.