IgnorantGuru's Blog

Linux software, news, and tips

spacefm 0.6.0

spacefm 0.6.0 is available. This release adds a few new features as described below.

First, a note about themes. In testing this version I discovered that some GTK themes are much more sluggish than others when running spacefm, especially with multiple panels. For example, Clearlooks makes the panel behavior much slower. I’m not sure exactly what causes this, but if you don’t have good performance with the GUI, try another theme. You can run spacefm with a different rc theme file (.gtkrc-2.0-spacefm in this example) like this:

    GTK2_RC_FILES=~/.gtkrc-2.0-spacefm spacefm

The (text) contents of an rc file specify what theme and font should be used. So you can run different GTK2 programs with different themes by making a custom rc file for each. If GTK2_RC_FILES isn’t specified, ~/.gtkrc-2.0 is used.

To run it with no theme, which should be faster than any theme, try:

    GTK2_RC_FILES="" spacefm
     # or
    env -u GTK2_RC_FILES spacefm

spacefm 0.6.0 begins testing of spacefm’s new context features. These allow you to specify context rules which determine when menu items are shown, disabled, or hidden. Context can be specified for built-in menu items and plugins too, allowing you to remove almost any menu item you don’t want to see, or remove/disable them under conditions you specify.

To set a context, open the design menu (see View|Design Mode) and select Style|Context. Also note the ‘Style|Ignore Context (global)’ setting. When checked, all context rules are ignored and all items shown. This is a global setting – it affects all context rules in all windows.

In addition, a new ‘Default’ menu item has been added to the Open context menu. One purpose of this item is to allow you to open all selected files with each file’s default MIME application. Like other menu items, a key can be assigned (F6 by default), and the name changed. However, the icon will change automatically based on the MIME type of the first selected file.

The ‘Default’ menu item has another use. Any custom command or submenu added directly after it will inherit an automatic context – you will see the command only when the MIME type of the first selected file is the same as when you added your command. All commands and submenus added after this command will inherit this context as well. This provides a quick way to add an Open menu item which is context-based. For example, you might select a jpeg file in the file list, right-click on it, then click Open and middle-click on Default, then click Submenu. You can name this submenu ‘JPEG Commands’ and place relevant commands in it. This submenu will only appear when a jpeg file is selected.


This version also introduces some new features for showing/hiding panels and getting feedback on which panel is currently active (has the keyboard focus, etc). The new panel bar to the right of the menu bar shows what panel is active, and allows to show and hide panels. The status bar has also been improved in several ways. There is a new panel icon to the far right which lights up when the panel is active. This icon can be customized, and each panel can have a different icon (which will also be shown in the panel bar).

Also, the status bar now accepted mouse clicks. You can use a left-click to focus the panel or select text in the status bar. Use right-click to show a context menu. Middle-click can be configured to one of several functions using this menu.

The status bar also now uses a selected color when its panel is active. If you want more color, you can right-click on the status bar and select Highlight Bar and/or Highlight Text, which allow you to set custom colors for an active status bar. (Depending on your theme, the Highlight Bar setting will either set a background color for the bar, or will set a border frame color in the bar.)


A View|Fullscreen setting has been added for putting the spacefm window into fullscreen mode, and a number of other minor UI adjustments have been made in this version.

For a more complete list of changes please see News.

The PPA has been updated and deb packages are provided for this release (but may not be provided for every minor release). Also remember that you can easily build your own deb packages for any release using the instructions at the end of the README file.

SpaceFM 0.6.0

January 31, 2012 - Posted by | Software

6 Comments

  1. Good Morning
    i tried to install from SpaceFM reposity, but i got this error:

    Dependency is not satisfiable: libgdk-0-pixbuf2.0

    My system is Ubuntu 10.04, for this release of ubuntu does not Seem to exist that packet library (I also searched around for the network …… but nothing)

    If you have that version (libgdk-0-pixbuf2.0 for ubuntu 10.04), can you load it into your reposity?

    Thank you and good job

    Comment by Carlo | February 1, 2012

    • I encountered this when trying debian stable too – it seems this library is not available for older setups. It probably depends on newer gtk or gdk, so maybe it can’t be built otherwise.

      Comment by IgnorantGuru | February 1, 2012

  2. My spacefm is also slow, tried ‘locate gtkrc|grep spacefm’, to change the theme, but have such file. Using the lates spacefm version, on debian testing.

    Comment by Anonymous | February 1, 2012

    • The best way is to get a basic ~/.gtkrc-2.0 file, then copy and edit it so it uses the theme you want. You should be able to find some examples on the web, or a theme manager can create the file for you. But maybe as a first step try a few gtk themes. You can also try it without a theme like this:

          GTK2_RC_FILES="" spacefm

      That should be faster than any theme, to give you an idea of how much your theme is slowing it down.

      Comment by IgnorantGuru | February 1, 2012

      • hmm.. it’s still slow (i guess i wasn’t using a theme), probably some other problem then, I’ll wait for an update to try again :))

        Comment by Anonymous | February 1, 2012

        • Your speed issue must be elsewhere. spacefm does use many gui elements, so especially with multiple panels I can see it painting them and resizing them. Mostly that’s not an issue because it’s only when resizing or changing the window contents that this is noticeable to me – using it is very fast on a medium speed machine. It is busy for a gtk app though. For me it runs the same speed as pcmanfm-mod did, panel for panel.

          Comment by IgnorantGuru | February 1, 2012


Sorry, the comment form is closed at this time.

Follow

Get every new post delivered to your Inbox.

Join 142 other followers