You are not logged in.

#676 2011-04-18 00:30:20

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: qtFM - Small, fast, light Qt filemanager

The config file is rather organized and human readable. You can just copy the sections you want and paste them into the config files of your other computers.

Offline

#677 2011-04-18 00:56:03

tri1976
Member
Registered: 2009-09-07
Posts: 152

Re: qtFM - Small, fast, light Qt filemanager

anonymous_user, I realize I can edit config file, but it would be nice if this can be done automatically (using a synchronization program) by just copying a file.

Offline

#678 2011-04-18 01:19:14

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,001
Website

Re: qtFM - Small, fast, light Qt filemanager

tri1976 wrote:

anonymous_user, I realize I can edit config file, but it would be nice if this can be done automatically (using a synchronization program) by just copying a file.

Well you could write a few scripts to emulate that behaviour? wink
I think splitting up config file now would not be easy from code point of view.

Offline

#679 2011-04-18 01:36:18

tri1976
Member
Registered: 2009-09-07
Posts: 152

Re: qtFM - Small, fast, light Qt filemanager

karabaja4, if not split config file, can it includes other files beside the qtfm.conf?  For example, it reads a file called actions.conf for additional custom actions.

Offline

#680 2011-04-18 23:02:11

urlwolf
Member
Registered: 2008-03-25
Posts: 40

Re: qtFM - Small, fast, light Qt filemanager

Wittfella wrote:

Oh snap!  K4 beat me to it smile

I just uploaded a fresh 4.9.beta with some fixes.

- I changed the theme detection a little.  Before it would ask the system what gtk theme we are using.  If the answer is non-sensical (eg. DE'less people) it then reads the .gtkrc-2.0 file.  I swapped it around so it reads the .gtkrc-2.0 first, and if that does not exist then ask the system.  I think it should work fine, but if it borks up let me know.

Thanks Wittfella!
Where is this beta? I don't see a link on the qtfm.org site nor on this post?

Offline

#681 2011-04-18 23:13:58

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: qtFM - Small, fast, light Qt filemanager

Try this url:

http://www.qtfm.org/qtfm-4.9.beta.tar.gz

Last edited by anonymous_user (2011-04-18 23:15:02)

Offline

#682 2011-04-18 23:28:56

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,001
Website

Re: qtFM - Small, fast, light Qt filemanager

anonymous_user wrote:

qtfm 4.9 has been out for quite some time (it's out of the beta) tongue
Check the download link on the website.

Offline

#683 2011-04-18 23:38:56

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: qtFM - Small, fast, light Qt filemanager

Ok I fail XD

Offline

#684 2011-04-19 01:33:25

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

Yeah the beta disappears when it gets released into the repo.  Then the next version beta should be available, so it will be 'qtfm-5.0.beta.tar.gz' but I haven't created it yet.  I'll let you know when it goes up.

Offline

#685 2011-04-19 13:40:28

urlwolf
Member
Registered: 2008-03-25
Posts: 40

Re: qtFM - Small, fast, light Qt filemanager

Ok, then I have the real deal.
But on my system it insist in not getting the icons right. I have the following on gtkrc-2.0:
I want "elementary", and other apps, such as pcmanfm, do use it. But these are gtk apps. Ignore the  LXAppearance comment, I don't use it anymore.

I do have a DE, gnome, but the wm is awesome. Maybe that is the problem? Nothing gnome is running but the keyring and network manager.

# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.

#gtk-theme-name="Clearlooks Compact"
#gtk-icon-theme-name="Rodent"
gtk-icon-theme-name = "elementary"
gtk-theme-name = "elementary"

gtk-font-name="FreeSans 10"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0

EDIT: never mind, I ate the dot at the beginning of the file name smile Sorry! it does work. Thanks!
My last hurdle is how to map the 'right' key to open folders inside the same qtfm window. Then I'll have lynx navigation!

Last edited by urlwolf (2011-04-19 13:46:49)

Offline

#686 2011-04-19 13:56:51

urlwolf
Member
Registered: 2008-03-25
Posts: 40

Re: qtFM - Small, fast, light Qt filemanager

After all this struggling, the "elementary" icons at the size qtfm uses are not helping.
I need to see pdf icons as different from the default file icon. This is the case for 20x20 and 24x24 in this icon theme. But not at 16x16. Is  16x16 what qtfm uses? I'd love to set it one notch larger, to get to see things better. The size for the bookmarks icons is fine. pcmanfm lets the user set the icon size, it'd be great if qtfm did too.

Thanks

Offline

#687 2011-04-19 14:18:15

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: qtFM - Small, fast, light Qt filemanager

You can use Ctrl-+ and Ctrl-- to change the icon sizes.

Offline

#688 2011-04-19 14:59:21

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

@urlwolf

- there is keyboard shortcut called 'Enter folder', set your right key to that.

- as anonymous says, you can change the icon size in each view to whatever you want.

- whether or not it picks up the pdf icon depends on your theme and the names it uses for particular mime-types.  Look in the '/usr/share/mime/' folder at the 'globs' and 'generic-icons' files if your interested.  This is how your system will map icons to mime-types. 

If the correct pdf icon is not being used you can also create it yourself.  ie. find the correct name from the glob/generic-icons files, will probably be 'application-pdf'. Then in the theme folders create a symbolic link to the existing pdf icon you like called 'application-pdf.png'.  You should do this in each size folder eg. 16,22,24,32,48...etc.

To make sure the changes are reflected in qtfm, either change themes to something else and then back again, or delete the 'file.cache' file in '~/.config/qtfm/'

Offline

#689 2011-04-28 03:22:49

GimmeeSpam
Member
Registered: 2011-04-28
Posts: 14

Re: qtFM - Small, fast, light Qt filemanager

Thank you for creating an awesome file manager!

I like how qtFM is uncluttered out-of-the-box, but the custom actions and shortcuts make it quite flexible and powerful, too.

Enhancement Request:
Add custom actions by mime type in addition to file extension.

Question:
Do I need to install gamin ? or does Qt have that functionality built-in ?

Issues:
(1) Custom actions with filetype = "folder" aren't shown when right clicking on a folder in tree view.

(2) The custom action to unmount a "/media" folder didn't work for me as shown in README. I had to change the action from "umount %f" to "sudo umount -l %F" to unmount my USB drive.

(3) After I download a file using Firefox 4.0, if I right click on the file in Firefox's "Downloads" window and choose "Open Containing Folder", qtFM opens "/" even if I had downloaded the file to my home directory.

Last edited by GimmeeSpam (2011-04-28 03:23:57)

Offline

#690 2011-04-28 04:44:52

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

Hello GimmeSpam!

Thanks for the feedback.

- custom actions by mime type is a bit tricky.  To get the mime type it actually makes an external call to the 'file' utility.  That's ok here and there but I don't really want to do it every time you click on file.

- no gamin involved, it should pick up changes to filesystem itself.

- I'll check the 'folder' actions on tree issue.

- You are correct, you will probably need sudo for that, I'll update the example in the README.

- Hmm I'll have to check that issue with firefox.  Do you have chrome installed? Try that if you can.  I have chrome and it works ok.

Offline

#691 2011-04-28 10:26:43

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: qtFM - Small, fast, light Qt filemanager

Wittfella wrote:

- custom actions by mime type is a bit tricky.  To get the mime type it actually makes an external call to the 'file' utility.  That's ok here and there but I don't really want to do it every time you click on file.

Yes indeed, and 'file' makes quite a lot of mistakes. I looked at various ways of determining MIME types in scripts:

gvfs-info -a standard::content-type
xdg-mime query filetype (just uses 'file' anyway if I recall?)
file
rox -m

and am currently using gvfs-info as the most reliable and relatively fast.
Of course, that's one of the reasons I ended up replacing xdg-open ...!
wink

Offline

#692 2011-04-28 15:01:42

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,001
Website

Re: qtFM - Small, fast, light Qt filemanager

Ugh, MIME types. I avoid using them all together because xfg-open sucks in recognizing them hmm

Offline

#693 2011-04-30 14:11:59

GimmeeSpam
Member
Registered: 2011-04-28
Posts: 14

Re: qtFM - Small, fast, light Qt filemanager

GimmeeSpam wrote:

Issues:
(1) Custom actions with filetype = "folder" aren't shown when right clicking on a folder in tree view.

I tested this some more, and found the problem is only with folder custom actions grouped into a sub-menu.

Example qtfm.conf entries:
%00=folder, my-label, my-icon, my-command
%01=folder, my-sub-menu / my-label2, my-icon2, my-command2
%02=folder, my-sub-menu / my-label3, my-icon3, my-command3

Custom Action 00 appears when I right click on a folder in tree view, but 01 and 02 do not.  All three appear when I right click on a folder in detail view.

Wittfella wrote:

Do you have chrome installed? Try that if you can.  I have chrome and it works ok.

I installed Chromium and downloaded a text file to my home directory.  I then clicked the download button's drop-down-arrow in the Chromium status bar and selected "Show in Folder".  The folder then opened as a web page in Firefox rather than in qtFM.

This worked ok with my old Arch/XFCE/Thunar system, but stopped working when I did a clean re-build with Arch/OpenBox/qtFM.  I looked at my old XFCE/Thunar setup and found a file /usr/share/applications/Thunar-folder-handler.desktop.  Also, in /usr/share/applications/mimeinfo.cache I found an entry: "inode/directory=Thunar-folder-handler.desktop;"  I didn't create these myself, they must have been installed with XFCE/Thunar.

I created a similar setup for my OpenBox/qtFM system, and now Firefox works, but Chromium still doesn't.

Is this the same issue reported by PJ (https://bbs.archlinux.org/viewtopic.php … 52#p763752)?

Offline

#694 2011-04-30 14:31:29

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

Check your mime association for 'application/x-directory'.  Set it to qtfm.  You can do that easily from qtfm, just do 'Edit filetype' on a folder.

Offline

#695 2011-04-30 14:59:52

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: qtFM - Small, fast, light Qt filemanager

For Chromium it might help to install perl-file-mimeinfo

Offline

#696 2011-05-02 03:32:32

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

Created 5.0.beta and fixed a couple issues above if you want to test out.

CHANGELOG wrote:

5.0.beta    2-May-2011
- fixed issue with startup path sent from firefox.
- fixed issue with custom submenus not appearing on tree folders.

qtfm-5.0.beta.tar.gz

Offline

#697 2011-05-02 10:58:36

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,001
Website

Re: qtFM - Small, fast, light Qt filemanager

Since new beta is out I'd like to report a bug: folders (paths) with spaces in their names the properties window is resizable beyond minimum. Also, the space causes the line to break into multiple rows.

BTW would it be possible for a daemon to create another instance when one is attached? I mean, we open up qtfm, the instance is connected, and daemon spawns another instance so second qtfm would be connected to that second instance. By closing each of qtfm windows qtfm would close the instance, but always leave at least one open that is connectable? Does this sounds sane?

Last edited by karabaja4 (2011-05-02 11:08:11)

Offline

#698 2011-05-05 01:53:21

GimmeeSpam
Member
Registered: 2011-04-28
Posts: 14

Re: qtFM - Small, fast, light Qt filemanager

Wittfella wrote:

Check your mime association for 'application/x-directory'.  Set it to qtfm.  You can do that easily from qtfm, just do 'Edit filetype' on a folder.

Thanks!  That fixed Chromium to work with qtfm.  How about adding this to README in a Tips & Tricks section?

I'll try the new beta if I get a chance.  Meanwhile I've been using 4.9 quite a bit over the last few days and have some more feedback:


Bugs:
(1) Copying files by drag and drop while pressing the CTRL key moves the files rather than copying.

(2) Mouse Cursor when copying files isn't always shown correctly
If I click and start dragging a file before pressing CTRL, the [+] sign on the mouse cursor doesn't appear when I press CTRL.
If I press and hold CTRL before clicking and dragging, the [+] sign on the mouse cursor is shown, but if I let go of CTRL, it doesn't disappear.

(3) Launching qtfm from the command line with a startup directory parameter doesn't work in all cases.

Cases where it works:
    qtfm ~/.config
    qtfm ~/.local
    qtfm ~/Downloads
    qtfm ~/Downloads/test

Cases where it doesn't work:
    qtfm ~/.config/geany
    qtfm ~/.local/share
    qtfm ~/.local/share/applications

The pattern seems to be any subdirectory beneath a hidden directory doesn't work.

When it doesn't work, the entire tree is collapsed to "/" and the detail view only shows "/" even if I wanted to qtfm to open in, say, ~/.local/share.


Cosmetic Issue:
Symlinked file names have blue text.  Symlinked folder names have black text in detail view.  Shouldn't symlinked folders have blue text, too?


Question / Enhancement Request:
Is it possible to increase the keyboard delay when pressing multiple keys in detail view?

Say I want to jump to the first file beginning with "az".  If too much time elapses between when I press "a" and "z", then qtfm jumps to the first file that starts with "z" rather than "az".

Thunar handles this by having a pop-up text box on the status bar that shows you the key combination you have entered.  The pop-up box remains visible for 3 or 4 seconds after you've pressed your last key, or until you press escape.  The pop-up box also allows you to backspace and correct a typo.

Offline

#699 2011-05-05 02:16:11

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: qtFM - Small, fast, light Qt filemanager

(1) Yep, drag&drop is always a move, I thought that was expected, I didn't know about the CTRL modifier, I'll check it out.

(2) No idea, this is Qt functionality, I'm not doing anything specific with regards to the cursor.

(3) I'll check the hidden folder thing out.

(4) I'll check the folder symlink colour.

(5) The typing delay in views/trees is Qt functionality, I'm not sure, maybe it is configurable somewhere like qtconfig.

Offline

#700 2011-05-06 17:42:41

tri1976
Member
Registered: 2009-09-07
Posts: 152

Re: qtFM - Small, fast, light Qt filemanager

GimmeeSpam wrote:

The pop-up box also allows you to backspace and correct a typo.

I'd like to also request this feature.  Also, when you press a letter, qtfm jumps to the files starting with the letter and draw a faint box around it instead of highlighting it (in fact, the highlighted file remain highlighted).  It would be nice if qtfm highlights the file indicating that it's the current selection.

Offline

Board footer

Powered by FluxBB