Tiny Core Linux
Tiny Core Extensions => TCE News => Topic started by: coreplayer2 on April 18, 2015, 10:21:44 AM
-
On the notion of more is better.. :p
I've been compiling and testing SpaceFM, seems to meet my requirements quite well
(https://db.tt/1eH2kJLI)
tabbed gui
user has standard window
root has red window
-
With the help of the New Online Extension Browser I found SpaceFM had at onetime been submitted for tc-4.x by aus9. since the maintainer hasn't been around for a while and there have been many updates, ie: v0.8.6 to v1.0.0 also tc-4.x to tc-6.x I'll just go ahead and update the extension..
Spacefm for those whom have never used it is a highly customizable, tabbed, multi-pane'd file manager. This latest version (v1.0 released April 13th 2015) built with gtk2, udevil and fakeroot. is compatible with gtk3 however I just haven't gotten around to compiling with gtk3 yet
see more here http://ignorantguru.github.io/spacefm/ (http://ignorantguru.github.io/spacefm/)
extensions being updated for tc-6.x asap:
spacefm
spacefm_locale
and new deps added:
udevil
udevil_locale
fakeroot
fakeroot_locale
fakeroot_man
-
spacefm.tcz has been updated and submitted for the tc-6.x x86
spacefm.tcz
also optional extensions:
spacefm-doc.tcz
spacefm-locale.tcz
fakeroot.tcz
fakeroot-doc.tcz
fakeroot-locale.tcz
lsof.tcz
and lastly
udevil.tcz ***
***there is a delay on "udevil" optional extension needed for auto-mounting of usb drives, cd/dvd's, etc etc. udevil auto-mounts with ease however I think this program was written for other mainstream distro's since udevil auto-mounts to the fs label directories instead of sdxx as per fstab. Still working a resolution, may even need a little help with that.
-
Hi
are you planning on submitting a x86_64 TCZ?
:)
-
spacefm.tcz "File Manager" extensions have been updated to latest version (1.0.4) and submitted for the tc-6.x x86 repo.
spacefm.tcz
spacefm-doc.tcz
spacefm-locale.tcz
My favorite file manager
(https://db.tt/U6AdrYxG)
-
Latest SpaceFM v1.04 now available in the repo's
Sent from my iPad using Tapatalk HD
-
Hi coreplayer. It's nice to have spacefm here. I tried it out, but some things do not work as expected, may be i'm missing something.
Most noticeable: spacefm seems to be unable to display icons for a certain type of files like for example .Xdefaults or .Xresources or shell scripts with *.sh ending. I tried with several icon sets and i even tried with the xfe sets (gnome-blue), which in xfe displays an icon for that kind of file.
When i do "spacefm --desktop-pref" i get the following error msg:
/home/tc/.gtkrc-2.0:17: error: unexpected character '/', expected string constant
(spacefm:15839): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
but the gui window with the spacefm desktop settings then opens correctly. Is murrine a dependency of spacefm?
Any idea in regard?
-
Hi emninger
Maybe you need gtk-engine-murrine.tcz
-
Hi emninger
Maybe you need gtk-engine-murrine.tcz
I installed it and indeed the murrine related error msg disappeared. If spacefm presumes the presence of murrine shouldn't it be installed automatically as a dependency?
But for the rest nothing changed.
-
I believe that in most cases an extension should have the minimum dependencies required to function, but the info file should mention which additional dependencies can be used for added functionality.
I would suspect that you need to edit an ini file somewhere to tell gtk to use the murrine theme and appropriate icon package - what does google say?
-
Hi Juanito.
I have set in $HOME/.gtkrc-2.0 the correct icon set, and it's used, so far, spacefm obviously respects the settings there (it also changes when i change the icon settings there). But it does not work for some strange reason for the file type(s) i mentioned above.
This is my gtkrc-2.0 file:
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
gtk-theme-name="FlatStudioDark"
gtk-icon-theme-name="mate-brave"
gtk-font-name="DejaVu Sans 10"
gtk-cursor-theme-name="SharpDot"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintslight"
include /home/tc/.gtkrc-2.0.mine
And .gtkrc-2.0.mine:
# ~/.gtkrc-2.0.mine - GTK+ theme, icon and font configuration.
#
# System files : /usr/share/{themes,icons,fonts}
# Personal files : ~/.icons and ~/.fonts
#
include $HOME/.themes
include $HOME/.icons
include $HOME/.fonts
include $HOME/.sounds
I'm not so linux knowledged, so i don't know wether or not the gtk related error msgs might be in some way related to the icons display problem.
-
hello emninger
I did a little research and found that murrine is not related to spacef and no matter what I do there are no errors when loading spacefm from the terminal. There is a gtk 3.0 version but that is even more sensitive to gtk config settings. However murrine is a gtk 2.0 desktop theme so is more likely used for Openbox or some other application you might have installed. As in all gtk themes you first install the theme then start the application with that theme. I'd look at other gtk application config files for the answer to why murrine is being used.
To try out various themes you may install some them engines and use this terminal command
Exec=env GTK2_RC_FILES=/usr/local/share/themes/ClearLooks/gtk-2.0/gtkrc spacefm
I'm still looking for the answer to the few missing file type icons, but is also likely to be a gtk 2.0 config issue. Will ask
-
hello emninger
I did a little research and found that murrine is not related to spacef and no matter what I do there are no errors when loading spacefm from the terminal. There is a gtk 3.0 version but that is even more sensitive to gtk config settings. However murrine is a gtk 2.0 desktop theme so is more likely used for Openbox or some other application you might have installed. As in all gtk themes you first install the theme then start the application with that theme. I'd look at other gtk application config files for the answer to why murrine is being used.
As you see from my .gtkrc-2.0 i use FlatStudioDark as gtk 2 theme. And as for programs i'm aware of, i have claws-mail, libreoffice viewnior using gtk 2. Firefox is gtk2 or gtk 3 related? In any case, i don't see errors in them. And also spacefm seems to work flawlessly without murrine (but, installing it made disappear that error msg.)
Wherefrom the other /home/tc/.gtkrc-2.0:17: error: unexpected character '/', expected string constant
is coming i don't know.
To try out various themes you may install some them engines and use this terminal command
Exec=env GTK2_RC_FILES=/usr/local/share/themes/ClearLooks/gtk-2.0/gtkrc spacefm
I'm still looking for the answer to the few missing file type icons, but is also likely to be a gtk 2.0 config issue. Will ask
Spacefm respects the settings in .gtkrc-2.0. But, as far as i understand, murrine is not really a theme but an engine, isn't it? Even with Clearlooks (using the command you gave me!) i still have the problem with the missing file types icon. As far as i understand in this moment, spacefm either displays a generic file icon for unspecified files or thumbnails for pic files IF the thumbnail option in the settings is activated. Otherwise no icons for pic files as well. But any kind of specific file, also office or word docs as well as scripts and otherwise executables, do not have any icon.
[EDIT]: Fixed code tag. Rich
-
Hi emninger
/home/tc/.gtkrc-2.0:17: error: unexpected character '/', expected string constant
That indicates the error is on line 17 which reads:
include /home/tc/.gtkrc-2.0.mine
Is it possible it should be:
include "/home/tc/.gtkrc-2.0.mine"
-
As you see from my .gtkrc-2.0 i use FlatStudioDark as gtk 2 theme. And as for programs i'm aware of, i have claws-mail, libreoffice viewnior using gtk 2. Firefox is gtk2 or gtk 3 related? In any case, i don't see errors in them. And also spacefm seems to work flawlessly without murrine (but, installing it made disappear that error msg.)
murrine is not a dependency of spacefm. I believe Raleigh is listed as the default theme /.gtkrc-2.0:gtk-theme-name="Raleigh" murrine is not listed on my any of my systems and I can not duplicate. I don't get errors, sorry. later today I'll grep the source code to verify
Why not grep for in on you system it to see where murrine is being referenced ;
grep -r 'murrine' *
try in your ~/ dir first
Where from the other /home/tc/.gtkrc-2.0:17: error: unexpected character '/', expected string constant
is coming i don't know.
spacefm --desktop-pref
works fine for me, perhaps a custom config??
Spacefm respects the settings in .gtkrc-2.0. But, as far as i understand, murrine is not really a theme but an engine, isn't it?
theme, engine are the same thing right?
-
You'll find that best performance is achieved by leaving the theme field blank
I believe the missing icons on certain files is a separate issue and is at worst only cosmetic. I will try to resolve the issue
Sent from my iPhone using Tapatalk
-
Hi emninger
/home/tc/.gtkrc-2.0:17: error: unexpected character '/', expected string constant
That indicates the error is on line 17 which reads:
include /home/tc/.gtkrc-2.0.mine
Is it possible it should be:
include "/home/tc/.gtkrc-2.0.mine"
Hi Rich!
Excellent pointer! I changed as you proposed but now, i get this error:
/home/tc/.gtkrc-2.0.mine:6: error: scanner: digit is beyond radix
Any idea? (I'm totally clueless ;) )
-
Hi emninger
/home/tc/.gtkrc-2.0.mine:6: error: scanner: digit is beyond radix
I'm guessing it doesn't like the dollar sign, plus it probably also needs the quotation marks, try:
# ~/.gtkrc-2.0.mine - GTK+ theme, icon and font configuration.
#
# System files : /usr/share/{themes,icons,fonts}
# Personal files : ~/.icons and ~/.fonts
#
include "~/.themes"
include "~/.icons"
include "~/.fonts"
include "~/.sounds"
-
You'll find that best performance is achieved by leaving the theme field blank
I believe the missing icons on certain files is a separate issue and is at worst only cosmetic. I will try to resolve the issue ...
As for the theme, i'll try that. Btw, may be i found, why murrine-engine is missing: In Arch Linux (https://www.archlinux.org/packages/community/i686/gtk-engine-murrine/) i found, that mate-themes
numix-themes
deepin-gtk-theme (optional)
depend on murrine-engine.
And i had set mate-barve as icon theme.
For the icon problem, i agree that this is very likely a separate problem. But it's not cosmetic ... In some way spacefm does not recognize file types: May there should be settings for the mime types somewhere (i recall something like mime-types.lst or similar in ~ in debian)?
-
Hi emninger
/home/tc/.gtkrc-2.0.mine:6: error: scanner: digit is beyond radix
I'm guessing it doesn't like the dollar sign, plus it probably also needs the quotation marks, try:
# ~/.gtkrc-2.0.mine - GTK+ theme, icon and font configuration.
#
# System files : /usr/share/{themes,icons,fonts}
# Personal files : ~/.icons and ~/.fonts
#
include "~/.themes"
include "~/.icons"
include "~/.fonts"
include "~/.sounds"
You were perfectly right; only a small correction: gtk 2 does not like the tilde char as well. I had to use the directory: include "/home/tc/.themes"
etc. Thanks a lot!
-
Hi emninger
You were perfectly right; only a small correction: gtk 2 does not like the tilde char as well. ...
Well, I was guessing, which is not known for its accuracy. :)
-
Hi coreplayer2!
I tried with pcmanfm; since it's a "cousin" of spacefm, thought it might be helpful to know if there the icon problem happens as well. But it does not: pcmanfm displays correctly the specific file types. But it's not a problem of the icon-theme. pcmanfm uses by default Nuove-XT (lxde-icon-theme.tcz). I left that and tried with spacefm, but it did not change anything.
-
Hi emninger
I'm glad you found the culprit for your theme issue. However I wouldn't use any theme even on a super computer, there will always be a performance hit.
As for the icon issue... I'm sure it's merely cosmetic, just my point of view and I've been using SpaceFM for a year or more on TC6 and earlier versions. Whether a specific file type has an icon assigned to it or not, doesn't appear to effect any function afaik. I mean if you assign a program to open script file once, from then on that program will always open a .sh file
Meanwhile, check this out.. I opened my road warrior machine and found all the files had their respective icons assigned.
(https://db.tt/RJiCPcke)
(click on the picture to enlarge)
Interesting huh..?
-
... I'm glad you found the culprit for your theme issue. However I wouldn't use any theme even on a super computer, there will always be a performance hit.
I understand your point, but personally i do not share it: I find a dark theme more eye friendly and that's an essential point - for me ;)
As for the icon issue... I'm sure it's merely cosmetic, just my point of view and I've been using SpaceFM for a year or more on TC6 and earlier versions. Whether a specific file type has an icon assigned to it or not, doesn't appear to effect any function afaik. I mean if you assign a program to open script file once, from then on that program will always open a .sh file
In this sense, sure, it's only cosmetic. But i meant, the appearance is also an aspect of functionality: with a correct presentation of the file types already at the first glance you have an overview what's there in a directory.
Meanwhile, check this out.. I opened my road warrior machine and found all the files had their respective icons assigned.
(https://db.tt/RJiCPcke)
(click on the picture to enlarge)
Interesting huh..?
Yes. Tells me that's not an internal problem of spacefm but of the environment. Do you think, it might/could have to do with something like a - missing - database of mimetypes?
-
Yes. Tells me that's not an internal problem of spacefm but of the environment. Do you think, it might/could have to do with something like a - missing - database of mimetypes?
Especially when I boot without persistent home, with base and norestore boot codes then loading up space fm the icon association reverts to default.
Thereafter booting normally with home persistence I consistently find icon association is restored as shown in the screenshot below
Still trying to resolve this...
Sent from my iPhone using Tapatalk
-
Thanks for your effort. I googled and searched the arch wiki but i did not really find something significant. I arch wiki they mentioned thumbnailer but i'm not sure to which extent. I would really like to use spacefm (may be also its desktop feature). As a pure filemanager application in an essential environment i think xfe would be more efficient and probably also lighter (?).
Btw, i'm not so tinycore familiar, so - with this netbook - i boot with /home /local & /opt in the bootcodes (= persistent i presume; makes my life easier ;) ).
PS. I forgot: After i installed pcmanfm (to check how it deals with the file type icons) i saw it customizes (changes) ~/.gtkrc-2.0 to its own needs automatically. But also with this settings the problem in spacefm rests.
-
Hi emninger
You were perfectly right; only a small correction: gtk 2 does not like the tilde char as well. ...
Well, I was guessing, which is not known for its accuracy. :)
Hi Rich.
To close this specific issue, after a test installation of pcmanfm i saw it configures ~/.gtkrc-2.0 to its own needs. And among this, it changed the last line to:
include .gtkrc-2.0.mine
This works as well as what you proposed:
include "/home/tc/.gtkrc-2.0.mine"
Probably the rule is like this: If you're pointing to an entire directory you need the quotes, if you point to a file you only need the file name.
-
AIUI "gtkrc-2.0.mine" is the file a user may create to place custom configurations
Sent from my iPhone using Tapatalk
-
Ok, after some digging I found that spacefm uses "shared-mime-info" dependency to associate applications, icons etc etc with file types. This assumes you have an icon theme installed like gnome-icon-theme. Why the mime database is not being updated when an icon theme is installed I do not know as yet, however spacefm is so customizable that I found we are not limited to just one method when resolving a missing icon for certain file types issue.
The easiest method I found is simply to create a file " application-x-shellscript.xml " (shell script example) in /home/tc/.local/share/mime/packages with the following contents
<?xml version='1.0' encoding='utf-8'?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type='application/x-shellscript'>
<comment>Shell Script file</comment>
<comment xml:lang="en">Shell Script file</comment>
<icon name="shellscript"/>
</mime-type>
</mime-info>
then run " update-mime-database ~/.local/share/mime " and/or restart spacefm
You may create an xml file for each file type you wish to add or change within the database, assuming you have an icon theme installed then adjust the name and contents of the file to suite and run update mime database again
good luck
-
(https://db.tt/I7VzoRjd)
I think we have a solution to the missing icons issue..
I've made considerable changes to the startup script which appears to have resolved issues with the "shared-mime-info dependency"
In the process have also added support for various users set by boot code and left options available to add custom mime associations.
Am testing on tc6.x and tc-7, however If anyone would like to help test the extension please send me a pm, because it's hard to test on only a couple of systems