You are not logged in.

#951 2012-03-28 16:48:34

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

Re: qtFM - Small, fast, light Qt filemanager

anonymous_user wrote:

Also: is there a difference between File -> Close and File -> Quit? I thought maybe Close only closes one window/tab and Quit closes them all however they seem to function the same.

Close only closes qtfm while quit also quits the daemon. You have tooltips in the toolbar when you hover over the items in the menu.

Offline

#952 2012-03-29 03:01:59

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

Re: qtFM - Small, fast, light Qt filemanager

karabaja s correct for the Close/Quit thing.

If you want double-clicking a file to use a custom action instead of the default xdg-open system you set the 'Text' of the custom action to 'Open'.

A 'refresh' should update the mimetype if you change the file like that, I'll check it out.

Last edited by Wittfella (2012-03-29 03:02:23)

Offline

#953 2012-03-29 03:55:06

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

Re: qtFM - Small, fast, light Qt filemanager

Wittfella wrote:

If you want double-clicking a file to use a custom action instead of the default xdg-open system you set the 'Text' of the custom action to 'Open'.

I know that.

Offline

#954 2012-03-30 01:22:19

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

Re: qtFM - Small, fast, light Qt filemanager

Fixed the refreshing mimetypes and double-click custom action problems.
PKGBUILD

Offline

#955 2012-04-01 18:10:34

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

Re: qtFM - Small, fast, light Qt filemanager

I'm getting a segfault when I rename a file (F2) and then right click on it.  I'm using the latest beta.

Offline

#956 2012-04-01 21:49:39

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

Re: qtFM - Small, fast, light Qt filemanager

GimmeeSpam wrote:

I'm getting a segfault when I rename a file (F2) and then right click on it.  I'm using the latest beta.

Try rebuilding the beta, I had the exact same problem and it's gone in the newest beta.

Offline

#957 2012-04-02 00:17:39

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

Re: qtFM - Small, fast, light Qt filemanager

karabaja4 wrote:
GimmeeSpam wrote:

I'm getting a segfault when I rename a file (F2) and then right click on it.  I'm using the latest beta.

Try rebuilding the beta, I had the exact same problem and it's gone in the newest beta.

I'm still getting the segfault.  I uninstalled qtfm, deleted the folder ~/.config/qtfm, downloaded the beta from http://www.qtfm.org/qtfm.tar.gz, and re-installed.  I'm running an up-to-date Arch64 / openbox system.

Offline

#958 2012-04-02 21:58:33

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

Re: qtFM - Small, fast, light Qt filemanager

@GimmeeSpam - I'm sure I uploaded the fixed one, anyway I updated it again just now, try that one.

Offline

#959 2012-04-03 02:17:07

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

Re: qtFM - Small, fast, light Qt filemanager

Works now, no segfault when right clicking a renamed file.

Offline

#960 2012-04-03 16:34:50

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

Re: qtFM - Small, fast, light Qt filemanager

Hey Wittfella, I moved some files into a folder but qtfm does not show them. I can see them from the terminal but clicking refresh does nothing:

screenshot_04_03_2012_093308.jpg

Offline

#961 2012-04-03 16:37:01

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

Re: qtFM - Small, fast, light Qt filemanager

Just a thought, maybe it has something to do with that space in "Google Docs"...

Last edited by karabaja4 (2012-04-03 16:37:11)

Offline

#962 2012-04-03 16:44:12

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

Re: qtFM - Small, fast, light Qt filemanager

Well after restarting qtfm, the files showed up fine. I just find it weird that it didn't show when I initially moved them.

edit:

Wittfella wrote:

I also changed the custom actions depending on if you use 'realMimeTypes' or not.  ie. if you use 'realMimeTypes' the Filetype column in custom actions needs to be the mimetype like 'image/png'.

Does that mean if I use realMimeTypes, I can no longer bind custom action to a file extension? I have files that are not correctly identified by file -i so being able to have a custom action go by the file extension instead of mimetype is crucial. For example, I have a custom action to open mp3 and mkv files in VLC. If I enable realMimeTypes then my Open custom action fails and the files try to open with Firefox.

Last edited by anonymous_user (2012-04-03 20:46:05)

Offline

#963 2012-04-03 22:01:42

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

Re: qtFM - Small, fast, light Qt filemanager

Well...that's kinda why they were initially done using the file suffix, because the mimetype system is kinda borked, for exactly that reason.

What mimetype are they showing up as?  Maybe in realMimeType mode if it comes up as one of the generic ones like 'application/octet-stream' it then uses the suffix instead.

Offline

#964 2012-04-03 22:18:12

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

Re: qtFM - Small, fast, light Qt filemanager

Correct, the mimetype shows up as 'application/octet-stream'. Like I said my custom action only works with realMimesTypes disabled for some reason.

Offline

#965 2012-04-04 00:10:10

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

Re: qtFM - Small, fast, light Qt filemanager

You could set a custom action for 'application/octet-stream' to VLC, that would catch most of them.  It's nearly always media files that show up with the wrong mimetype.

Offline

#966 2012-04-04 00:15:25

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

Re: qtFM - Small, fast, light Qt filemanager

@Wittfella: do you have an idea as to why this might have happened?

anonymous_user wrote:

Hey Wittfella, I moved some files into a folder but qtfm does not show them. I can see them from the terminal but clicking refresh does nothing:

http://s15.postimage.org/5cxujhrdz/screenshot_04_03_2012_093308.jpg

Offline

#967 2012-04-04 06:45:00

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

Re: qtFM - Small, fast, light Qt filemanager

I think it happens when the target folder is on a ntfs mounted drive.  I have noticed that sometimes the inotify doesn't fire, but other times it does.

Offline

#968 2012-04-04 14:43:01

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

Re: qtFM - Small, fast, light Qt filemanager

Wittfella wrote:

You could set a custom action for 'application/octet-stream' to VLC, that would catch most of them.

I just realized that using mimetypes for an Open custom action is redundant with "Edit Filetype". Anyways thanks for the idea.

Offline

#969 2012-04-12 18:44:32

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: qtFM - Small, fast, light Qt filemanager

Someone way back in this thread had problems with setting gtk theme (not icons) for qtfm. I did too on one of my machines but found a solution here; https://bbs.archlinux.org/viewtopic.php?id=99175

Adding

export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

too .xinitrc fixed it. It should go before the actual session start. I got the clue from qtconfig not playing with it's gtk+ setting.

EDIT; It now responds to changes with lxappearance too! Forgot to mention that the problems were on openbox-session, no gnome/xfce/kde/lxde here. But gtk3 with a correct ini-file and a correct gtkrc-2.0 file as well.

By the way Wittfella; great job on qtfm! Thanks! You always give nice and good support! You're the best!

Last edited by swanson (2012-04-12 18:50:07)

Offline

#970 2012-05-20 02:09:48

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

Re: qtFM - Small, fast, light Qt filemanager

I may or may not have mentioned this before, but using qtfm 5.5 beta I cannot reorder my custom actions. When I try to drag and drop I get the slashed circle cursor.

Offline

#971 2012-05-21 02:26:48

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

Re: qtFM - Small, fast, light Qt filemanager

Hey, I just tried it and it still works normally here...any else confirm problem with drag/drop reordering of custom actions.

I just upload with a few little tweaks.
PKGBUILD

Offline

#972 2012-05-21 03:10:55

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

Re: qtFM - Small, fast, light Qt filemanager

Using the new version did not help. Also I renamed my qtfm config folder and with a clean setup, I still cannot drag and drop the custom actions. Any ideas how to begin troubleshooting?

Edit: nevermind, I think I found the problem. When drag and dropping, I was holding the item too far to the right.

Edit 2: I am still having trouble drag and dropping. The horizontal line that supposed to appear, rarely appears.

Last edited by anonymous_user (2012-05-21 04:14:38)

Offline

#973 2012-05-27 17:55:30

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

Re: qtFM - Small, fast, light Qt filemanager

I don't know if this is done on purpose but I noticed that you cannot use the right-click menu to close any background tabs. It will always close the active tab.

Offline

#974 2012-06-02 05:46:57

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

Re: qtFM - Small, fast, light Qt filemanager

Changed the tab right-click behaviour.
PKGBUILD

Offline

#975 2012-06-02 07:38:19

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: qtFM - Small, fast, light Qt filemanager

Hey Wittfella!
Would this eminent patch you made for me a while ago still work?

//---------------------------------------------------------------------------------
bool viewsSortProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
{
    myModel* fsModel = dynamic_cast<myModel*>(sourceModel());

    if(left.column() == 3)          //date
    {
        if(fsModel->fileInfo(left).lastModified() > fsModel->fileInfo(right).lastModified()) return true;
        else return false;
    }

    if((fsModel->isDir(left) && !fsModel->isDir(right)))
        return sortOrder() == Qt::AscendingOrder;
    else if(!fsModel->isDir(left) && fsModel->isDir(right))
        return sortOrder() == Qt::DescendingOrder;

    if(left.column() == 1)          //size
    {
        if(fsModel->size(left) > fsModel->size(right)) return true;
        else return false;
    }

    return QSortFilterProxyModel::lessThan(left,right);
}

It's the weird sorting patch you so kindly put together for mixed date sorting of folders and files. If it's still applicable, where will it go?


EDIT; Oops! Sorry to bother you! It did work - great!

Last edited by swanson (2012-06-02 07:55:18)

Offline

Board footer

Powered by FluxBB