You are not logged in.
How about doing this as an option, as soon as someone comes up, who really does use those arrow-buttons? Why implement options which aren't used?
Offline
I agree, cheers.
Offline
Hello!
First : Thanks for QtFm !
I have some problem with the icon.cache.
If this file does not exist, my icon theme (OxygenRefit2-black-version) is loaded and everything is alright.
But, the second time, qtfm load the cache and fail to use my icon theme.
Some information you could add to package post-install :
If, like me, you only use a window manager (no DE), xdg-open will not work very well (it open every file with firefox...).
Adding export DE=kde (or gnome or ...) in your ~/.zshrc or ~/.bashrc will solve that.
Regards.
Shaika-Dzari
http://www.4nakama.net
Offline
A suggestion: it would be nice if hidden folders would be accessible through address bar without the need to enable the hidden files option. For example, I'd like to be able to browse through /home/user/.wine from time to time, but to do it I must enable hidden files which I don't usually have enabled because of too many dot-folders. So, what I thought is that I could browse through this folder by typing its exact address without it (or any other hidden folder) be displayed in the folder tree.
Offline
I have some problem with the icon.cache.
If this file does not exist, my icon theme (OxygenRefit2-black-version) is loaded and everything is alright.
But, the second time, qtfm load the cache and fail to use my icon theme.
Hello Shaika-Dzari, thats very weird. I'm not exactly sure what the screenshot is showing but it looks like your mime filetype icons are not showing. These are stored in the 'file.cache' file. The 'icon.cache' file stores all the gui icons, like toolbar and menu images. Have you tried one of the repo themes, like Tango, Gnome or Oxygen? Does it work ok then? I will try to find the theme you are using and test it out and see if I have the problem.
[Edit] I tried your black theme and it seems to work fine, all the gui and filetype items look good. Maybe try deleting your '~/.config/qtfm/' folder and starting fresh, something might be borked.
If, like me, you only use a window manager (no DE), xdg-open will not work very well (it open every file with firefox...).
Adding export DE=kde (or gnome or ...) in your ~/.zshrc or ~/.bashrc will solve that.
I also run with no DE and my xdg-open works fine. Have you set your default applications? You can do that from within qtFM by selecting the file type you want to change and then 'Edit filetype' from the menu. Pick the application you want it to open in.
it would be nice if hidden folders would be accessible through address bar without the need to enable the hidden files option
I'll have a look into this.
Cheers,
Wittfella
Last edited by Wittfella (2010-09-06 02:14:15)
Offline
I also run with no DE and my xdg-open works fine. Have you set your default applications? You can do that from within qtFM by selecting the file type you want to change and then 'Edit filetype' from the menu. Pick the application you want it to open in.
That menu is just awesome - it saves a lot of time. I run without DE too and have no problem except:
I can't find a regular way to change my default browser... I can open html-files with it, but not addresses like http://www.wittfella.com/. Terminal output shows me, that xdg-open tries various browsers but then fails, because mine isn't one of them. Normally you get a filetype by "xdg-mime query filetype FILENAME.EXTENSION" and then set an application by "xdg-mime default APPLICATION.desktop FILETYPE". How to do that with urls? I solved this for now by changing the source code of xdg-open and adding my browser to the list of default ones. But how was it meant to work in the first place? Any ideas?
Bug: if I open a folder where a file is just being downloaded, the filesize is correctly showing something lower than the final filesize. But it doesn't change anymore. Even if the file (seconds or minutes later) has finished downloading and I leave the folder showing it and then go back in, qtfm still shows the filesize it showed first. Changing view mode doesn't help either. qtfm has to be closed and reopened.
Offline
Hello Wittfella!
To reproduce the problem, what I do:
1- remove config folder : rm -r .config/qtfm
2- in a shell, open qtfm andclose it 3 times.
After 2 or 3 open/close, my icons are messed up. Using QtCreator, I can see some null pointer (0x0) in the actionIcons.
if I comment the section in action.cpp where you write / read the QIcon and only keep all the actionIcons->append(...), it's work.
I'll have a look and try something. Can I submit a patch if I solve the issue?
Regards.
Shaika-Dzari
http://www.4nakama.net
Offline
Hey Shaika-Dzari,
Thanks for the info. There is something wrong with your theme. In the pic on the left, almost none of your gui icons are correct. Only the 'trash', 'left arrow' and 'up arrow' are correct, the others appear to be from 'oxygen' maybe?
I downloaded the 'OxygenRefit2-black-version.tar.gz2' from GnomeLooks, unpacked it, moved it to '/usr/share/icons', changed '.gtkrc-2.0' theme and opened qtFM (many times) and this is what I get. All icons are accounted for.
Have you modified your theme directory in some way? I don't know why its not picking up some of the gui icons, but it does highlight an issue.
All those 'actionIcons->append()' functions you reference should have a fallback icon specified. After following your lead I notice a couple of them don't have the fallback specified, so this could cause the icon cache to contain less icons than expected if the theme icon is not found, hence leading to issues like yours.
I'll update those functions and add the fallback icons. Patches welcome of course! I thank you for taking the time to look at the code, much appreciated
Cheers,
Wittfella
Last edited by Wittfella (2010-09-07 04:07:34)
Offline
Hello
Could you give me more detail on your config?
Do you start gnome-daemon? Login manager, which wm?
I'm using Fvwm on Arch x86_64. No daemon on start. I use startx (exec fvwm).
I moved my theme to /usr/share/icons instead of ~/.kde4/share/icons, change my gtkrc-2.0 (link to ~/.gtkrc.mine) and I still getting an error.
Regards.
Shaika-Dzari
http://www.4nakama.net
Offline
I run a minimal config, no login manager, bare essential daemons like network and ssh, not even Hal these days. I start openbox with startx and only conky at the top, wbar at the bottom, thats it. There are no gnome or kde programs/daemons/dependencies, never been installed.
Have you tried any other themes, do they work ok? ie. is it only that theme that is problematic or all of them.
Witty
Offline
@Wittfella
1. Is it possible for qtFM to open symlinked files with the proper program? For example, I set SVGs to open in Viewnior, but if I have a symlinked SVG, it opens in Chromium.
2. Is it possible to make qtFM show thumbnails for SVGs? If it already does this, is there a particular package I need?
3. Is it possible for qtFM to display special folder icons? What I mean is that some icon themes have icons for the Desktop folder, Documents folder, Downloads folder, etc
Offline
3. Is it possible for qtFM to display special folder icons? What I mean is that some icon themes have icons for the Desktop folder, Documents folder, Downloads folder, etc
I have a special icon for my home folder here. Didn't even recognize it, until you made me check it Using erectus-icon-theme. gnome-icon-theme, hicolor-icon-theme and tangerine-icon-theme are also installed.
Edit:
About 1.: sounds like a problem xdg-mime should be responsible for. What does xdg-mime query filetype symlinked-file.svg say?
Last edited by fiinix (2010-09-12 19:22:30)
Offline
About 1.: sounds like a problem xdg-mime should be responsible for. What does xdg-mime query filetype symlinked-file.svg say?
$ xdg-mime query filetype desktop.svg
application/x-symlink; charset=binary
Offline
ok, normally after checking that you would do:
xdg-mime default appropriateapp.desktop application/x-symlink
but the question is: is there one application you want to open all symlinked files with? this, imho, is a bug of xdg, which is often used by qt applications and so in this case.
Offline
Yeah I don't want all symlinks to open with the same program. Thanks anyways.
Offline
Very nice file manager !!
Does is possible in future to add feature
- To add custom icon changing for folders
-Split view like on dolphin
-F4 button to open default terminal like on pcmanfm
good job !
Last edited by Kosava (2010-09-12 23:08:41)
Offline
I have a folder whose name is misaligned when in Icon view. The problem seems related to the name but I'm having difficulty seeing the pattern.
Example names causing misalignment:
processhacker-x.y-bin (where x and y are integers)
processhacker-2.4-b
processhacker-.-bin
aaaaaaaaaaaaa-2.4-bin
Example names not causing misalignment
processhacker-2.4-
processhackerbin-2.4-
process-2.4-hackerbin
Offline
Just something I noticed: normally you go into folders by just left-clicking, however if you do right-click -> Open it will try to open according to xdg-mime.
And if you associate application/x-directory with qtfm, then it will Open the folder using a new instance/window.
Offline
Oh yeah. Like an "open in new window"-button Nice
Offline
Hello, small update, mainly added a few requests from above.
3.1 21-September-2010
- added 'group' to detail view.
- added 'F3 home', 'F4 Terminal' shorcuts.
- added 'svg,gif' thumbnail support.
- modified delete, more efficient when trying to remove files with no permission.
Offline
Thank you for Terminal shourcuts now is much easyer, but i founded a little bug i have some folder which are spaced so there is cannot open terminal there when i press F4
this not work
cd /home/kosava/some folder/
but this would work
cd '/home/kosava/some folder/'
thanks.
Offline
Hi, thanks for the update Wittfella!
i founded a little bug i have some folder which are spaced so there is cannot open terminal there when i press F4
I found out that the terminal app is responsible there. Tried Sakura for some time which hasn't that problem. LXTerminal does. But Sakura gives me the creeps for other reasons (sakura -e "cd /some/dir && java app" doesn't work) and now I'm back with the space-problem too. (Is there another lightweight terminal app with tabbing?) I solved this with a custom action.
Suggestion: How about in qtfm.conf you change the format of "term=..." to the one in "Custom actions"? Because that works fine with both tested terminal apps... Then the space problem should be solved once and for all
EDIT: Just checked again and lxterminal 0.1.9-1 as well as sakura 2.3.8-1 open folders with spaces in their names by pressing F4 in qtfm 3.1.
@Kosava: what terminal application do you use? What are the folders called, that don't open correctly by pressing F4? My problem had been, that the terminal opened in my home folder, if there was a space in the name... is that your problem too?
Last edited by fiinix (2010-09-23 14:41:08)
Offline
(Is there another lightweight terminal app with tabbing?)
Terminator maybe?
Anyways I use it and have no problems with directories with spaces.
Offline
I use Lxterminal 0.1.9 version and i have problem with spaced folders
Offline
Hm, strange. I just tried to recreate the problem and in between I succeeded. This is my result: if the first instance of lxterminal is opened in a non-space-named-folder and while its open a second instance in a space-named-folder ist opened it doesn't work. But if there is no open instance and the first one to open is from a space-named-folder it works. I have no clue why, but this is how I can recreate it every time. Can you confirm this?
Offline