You are not logged in.

#501 2011-02-02 01:38:00

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

Re: qtFM - Small, fast, light Qt filemanager

@Milso, what icon theme are you using?

Offline

#502 2011-02-02 02:19:59

milso
Member
Registered: 2010-11-16
Posts: 112
Website

Re: qtFM - Small, fast, light Qt filemanager

The Gnome Gion theme. Might be worth noting that I have no DE, and install my icons using lxappearance.

Offline

#503 2011-02-02 03:45:52

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

Re: qtFM - Small, fast, light Qt filemanager

Just tried it, works first time, no problem.

gion-thumb.jpg

I just unpacked Gion, copied to '/usr/share/icons' and then edited my '~/.gtkrc-2.0' file with gtk-icon-theme-name="Gion".

Gion inherits from a number of other themes, do you have at least one of them installed also?  I recommend at least gnome.

Inherits=Tango,Tango-Blue-Materia,gnome,crystalsvg

Last edited by Wittfella (2011-02-02 03:47:12)

Offline

#504 2011-02-02 04:32:32

milso
Member
Registered: 2010-11-16
Posts: 112
Website

Re: qtFM - Small, fast, light Qt filemanager

My icons are located in ~/.icons. Copying them to /usr/share/icons worked fine. From what I understand, many people keep their icons in ~/.icons, is there a possibility to add both directories as listings for icon selection?

Also is there going to be implementation for .desktop files?

Last edited by milso (2011-02-02 04:32:58)

Offline

#505 2011-02-02 04:39:15

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

Re: qtFM - Small, fast, light Qt filemanager

I'm just using built-in Qt functionality like 'getThemeIcon()', not sure whether it searches "~/.icons" as part of its paths, I'll have to investigate.

is there going to be implementation for .desktop files?

No idea tongue, what am I supposed to do with them?

Offline

#506 2011-02-02 04:46:31

milso
Member
Registered: 2010-11-16
Posts: 112
Website

Re: qtFM - Small, fast, light Qt filemanager

Offline

#507 2011-02-02 05:14:16

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

Re: qtFM - Small, fast, light Qt filemanager

As far as I know, '.desktop' files are just basically config files that usually live in '/usr/share/applications' and are used by various subsystems like xdg to figure out what programs are installed and what mime-types they advertise they can handle.  Also used for building the 'Applications' menu in most systems.

What else do you do with them, why do you want to look at them like that?

Serious question, not making fun, I don't know the answer.

Cheers,
Witty

Offline

#508 2011-02-02 05:20:20

milso
Member
Registered: 2010-11-16
Posts: 112
Website

Re: qtFM - Small, fast, light Qt filemanager

I just recently started slapping them there as a way to access applications, not putting it in the application as thunar has it is understandable.

Last edited by milso (2011-02-02 06:19:30)

Offline

#509 2011-02-02 13:51:03

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

Re: qtFM - Small, fast, light Qt filemanager

Hey Wittfella, were you able to confirm any of the bugs I mentioned? Thanks...

Offline

#510 2011-02-04 17:05:22

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

Re: qtFM - Small, fast, light Qt filemanager

CHANGELOG wrote:

4.5    4-February-2011
- added bookmarks separators
- modified bookmarks selection/deselection.
- fixed bug with xdg-mime failing on files with spaces.

Can some folks grab qtfm-4.5.tar.gz and give it a try, want to make sure it works ok.  Should look like this :-

ss45thumb.png

Cheers,
Wittfella

Last edited by Wittfella (2011-02-04 17:06:04)

Offline

#511 2011-02-04 19:37:16

milso
Member
Registered: 2010-11-16
Posts: 112
Website

Re: qtFM - Small, fast, light Qt filemanager

4.5 looks good and works great, love the separators big_smile

On that screenshot there, is your trash linked to ~/.local/share/Trash/files? Or have you created some sort of trash system with the application?

Offline

#512 2011-02-04 23:27:58

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: qtFM - Small, fast, light Qt filemanager

qtfm doesn't seem to work well with the dark theme I use

tN2FrZg

I get the same result with qtfm 4.4 from the repos
That's thunar at the bottom of the pic


You're just jealous because the voices only talk to me.

Offline

#513 2011-02-05 01:15:45

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

Re: qtFM - Small, fast, light Qt filemanager

Hey Wittfella, I still sometimes get the Floating point exception on qtfm 4.4.

Offline

#514 2011-02-05 04:50:27

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

Re: qtFM - Small, fast, light Qt filemanager

@milso The trash is just created with custom actions.
ie. Trash is 'mv -b %f ~/.local/share/Trash'
'Empty trash' action points to a small script like 'emptyTrash.sh'  which contains 'rm -r ~/.local/share/Trash/*'
You have to point to small script for the empty because the custom actions won't inline expand the *.

@moetunes Thanks for pointing that out.  I don't use dark themes so I never noticed.  In the code I was forcing 'black' colour font, where I should be defaulting to theme settings.  I have fixed it, grab 4.5 again a test it out.

@anonymous Can you reproduce it reliably and give me an example.  Is it copy/paste only?  Single file or multiple? Files only, not folders etc?  Same instance or across instances?

Offline

#515 2011-02-05 06:06:21

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: qtFM - Small, fast, light Qt filemanager

Wittfella wrote:

@moetunes Thanks for pointing that out.  I don't use dark themes so I never noticed.  In the code I was forcing 'black' colour font, where I should be defaulting to theme settings.  I have fixed it, grab 4.5 again a test it out.

Thanks for the quick response Wittfella. Here's a pic of 4.5 looking good

tN2Fubg


You're just jealous because the voices only talk to me.

Offline

#516 2011-02-05 15:44:09

sironitomas
Member
From: Cordoba, Argentina
Registered: 2009-11-28
Posts: 174
Website

Re: qtFM - Small, fast, light Qt filemanager

This is a great project. I'm on Openbox and Dolphin gets heavier and slower, while this file manager is really fast. There are just some thing thats would be good to have.

For example, when I open a folder with a lot of big photos, qtfm hangs for a while, and there is no way to know what it is doing. Because of that, a live preview of photos would be good (like other FM do).

Another thing: How can I disable the 'one click to open' and use double click? Selecting sometimes is hard if you don't use the keyboard.

Thanks!

Last edited by sironitomas (2011-02-05 15:45:34)

Offline

#517 2011-02-05 16:23:52

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

Re: qtFM - Small, fast, light Qt filemanager

sironitomas wrote:

live preview of photos would be good

Do you mean thumb previews?  You can turn them on/off from the 'View' menu while in icon view.

sironitomas wrote:

Another thing: How can I disable the 'one click to open' and use double click? Selecting sometimes is hard if you don't use the keyboard.

You must have enabled it at some point because it defaults to double-click.  Edit the '~/.config/qtfm/qtfm.conf' file and remove the 'singleClick=x' line.

Offline

#518 2011-02-05 18:26:45

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

Re: qtFM - Small, fast, light Qt filemanager

Wittfella wrote:

@anonymous Can you reproduce it reliably and give me an example.  Is it copy/paste only?  Single file or multiple? Files only, not folders etc?  Same instance or across instances?

I am trying copying /media/Linux/Dropbox/Settings/Arch/home/kevin/.config/Terminal/ which has one file inside (terminalrc) to ~/.config/. I can also reproduce it by trying to copy /media/Linux/Settings/Old/home/kevin/.config/sakura/ again which has one file inside (sakura.conf).

It is across the same instance and /media/Linux/ is an ext4 partition.

Offline

#519 2011-02-05 19:38:19

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

Re: qtFM - Small, fast, light Qt filemanager

Very nice FM.  I'm so glad that I stumble on it while browsing the forum.  I do have a few requests smile  (I try to search all the posts in this thread and I don't think they've been mention before)
1. When a link is click, it would be nice if the link source is displayed in the status bar (i.e something like test -> /usr/bin/test).  Also, the qtfm doesn't indicate that a file is a link.
2. Command to copy file name/path as text.  Currently, I'm using a bash script to do so
qtfm_copyastext.sh

#!/bin/bash
echo "$@" | xsel -ib

In Custom Actions section, I add "qtfm_copyastext.sh %F" for copy path and "qtfm_copyastext.sh %f" for copy file name.
3. Paste as symlink.  Currently, I'm using the bash script below but it doesn't work if path name has spaces.  Also, how do I add a command to the context menu when nothing is selected?  Right now, I have to assign the command to a keyboard shortcut to use it.
qtfm_linkhere.sh

#!/bin/bash
FILE=(`xsel -ob`)
for i in ${FILE[@]}; do
  if [ -e "$i" ]; then
    ln -s "$i" .
  else
    echo "$i does not exist."
  fi
done

Last edited by tri1976 (2011-02-05 19:43:44)

Offline

#520 2011-02-06 09:32:44

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

Re: qtFM - Small, fast, light Qt filemanager

tri1976 wrote:

1. When a link is click, it would be nice if the link source is displayed in the status bar (i.e something like test -> /usr/bin/test).  Also, the qtfm doesn't indicate that a file is a link.

Hello tri1976,  I have made it so the target is displayed on the status bar when you click a link.  The links are blue.

tri1976 wrote:

Command to copy file name/path as text.  Currently, I'm using a bash script to do so

I played around with this and made it a bit easier for you with a simple mod.  Now when you copy things it also puts the filepaths in the selection buffer (ie. middle click mouse).  You can try it by copying some files and middle click in a terminal or text editor to see the format.

Now your custom action to paste as link would be:

#!/bin/sh
IFS='
'
for i in $(xsel -o); do
  ln -s "$i";
done
unset IFS

Works for "files with spaces" also.  Took me all afternoon to figure that @hit out smile

tri1976 wrote:

Also, how do I add a command to the context menu when nothing is selected?

Set the custom action Filetype to 'folder' and it will show up with nothing selected. ie. right-click in whitespace.

Grab 4.5 again and test it out.

@anonymous  I might of fixed the div 0 bug also.

Cheers,
Witty

Last edited by Wittfella (2011-02-06 09:54:00)

Offline

#521 2011-02-06 13:37:39

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

Re: qtFM - Small, fast, light Qt filemanager

Thanks for the quick mod.

Wittfella wrote:

copy things it also puts the filepaths in the selection buffer (ie. middle click mouse)

I try both Ctrl+C and Copy from context menu but none of them put the pathname in the buffer.  Am I missing some other dependencies?

Wittfella wrote:

Works for "files with spaces" also.  Took me all afternoon to figure that @hit out

I hate them too
Is

IFS='
'

similar to

IFS=$'\n'

Anyway, I'll play around with the script when copy work
Thanks,
Tri

Offline

#522 2011-02-06 14:03:54

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

Re: qtFM - Small, fast, light Qt filemanager

Hmm, thats unpossible smile

Are you sure you got the latest, your browser didn't cache it or some such.  Context menu or Ctrl+c should both work.

I'm no bash guru, took me ages to find the IFS thingo, but you a correct that I want it to split at the "\n".

Offline

#523 2011-02-06 14:47:31

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

Re: qtFM - Small, fast, light Qt filemanager

It's possible... sad ......in my case.  The title say "qtFM v4.5"....I even log out and reboot the computer, but it doesn't put it into the buffer for some reason.

Offline

#524 2011-02-06 14:50:54

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

Re: qtFM - Small, fast, light Qt filemanager

Does middle click pasting work everywhere else?

Offline

#525 2011-02-06 14:54:07

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

Re: qtFM - Small, fast, light Qt filemanager

Yes it does.  After copy, I do "xsel -o" in terminal and nothing.

Offline

Board footer

Powered by FluxBB