Extending the Nautilus scripts support

We all know now about Nautilus Actions, and I think people agreed, while discussing its inclusion in 2.14, on having this much better integrated into Nautilus itself. And, you know, I am in a quest to provide UNIX power to all kinds of users 🙂 So, I’ve been wondering for a few days about some ideas, which can be summarised in a mix of nautilus-actions, Automator and, of course, Nautilus.

What I’m thinking is about the Scripts menu in Nautilus context menu to provide better tools to write scripts. One, the simplest, is to create scripts directly (by allowing the user to enter a command or a full script in any language), and allowing the user the kind of tweaks nautilus-actions offers, like specifiying for which files/protocols to show the script in the menu. The other is to provide a mechanism for writing scripts like what Automator does.

In Automator, there are ‘actions’, which are just calls to AppleScript/Automator modules (and which could be calls to D-BUS services and normal commands in our case), and then there are ‘workflows’, which are combinations of actions in a specific order and with specific input parameters/sources. In our case, a XML file describing all the actions and their relationships, and an accompanying command-line tool to run those files through, could be enough for users to write scripts without even knowing a thing about programming. Experienced users could also define more actions, by just specifying commands to be run. And applications could provide even more actions, via D-BUS.

As you can see, my ideas are not still very clear, so would appreciate any opinion on how this could be done, or if it should be done at all.

Autostarting services

One new feature in GNOME 2.13/2.14 that seems to have gone unadvertised is the support for autostarting applications. You just need to put .desktop files in $prefix/share/gnome/autostart or ~/.config/autostart and all applications there will be started by gnome-session when you log in.

Just a few things to note about this:

  • If your application has another mean to be started (an applet, a config dialog that will start the app and then save itself to the session, like vino, for instance), don’t use this!
  • It doesn’t work very well with session-managed applications (even though it contains checks to not start several instances of the same app), so make sure you use the –sm-disable argument in the Exec field of the .desktop file.
  • You can disable .desktop files either by setting X-GNOME-autostart-enabled to False in the .desktop file or by using the Session Properties capplet.

We’re getting old

25 years ago, on Feb 23 1981, there was a coup d’état, fortunately failed, that tried to get Spain to return to the dark ages of the Franco’s dictature. Because of this “25th anniversary”, I’ve been seeing lots of documentaries (and more to come, specially tomorrow on sat TV) about that day, and so have remembered where I was that day. Yeah, 25 years ago I was alive!

What I remember from that day, being only 8.5 years old, is my father calling home from his office and telling us (my mother, my sister and I) not to get out to the street under any circumstance. And after that, I remember my mother being worried, watching TV and listening to the radio all the time. And, the following morning, with no sleep at all. But what really upset me and my sister about that day was that, when we went to sleep, we were really happy because “something dangerous had happened”, so we thought we wouldn’t have to go to the school the day after. But, when we woke up and my mother told us everything was solved and that we had to go to the school, a huge deception invaded us. Then, more upset we were when we saw some other parents had allowed their children to not go the school.

So many years after that day, there are still a lot of black holes in the investigation, with no “big boss” detained, and lots of conspiracy theories floating around. I will myself read “23F, la verdad”, from Francisco Medina who, the other day, said on TV, while announcing his new book, that some people from most of the political parties at that time knew about the military insurrection and agreed with it. Of course, he said no more, so we’ll have to read the book to find out what and who he talks about.

GNOME user profiles

Very interesting post from Quim about the discussion on what users GNOME should target. It is indeed true we have very large GNOME deployments in many places, so it makes a lot of sense if we try to get those big deployments’ responsibles provide us with much better feedback, so that we can base our ‘we target this kind of users’ in much more detailed data.

I think we, GNOME Spanish community, should try to get people from those big deployments in Extremadura, Andalucía, Valencia, etc more involved in providing feedback to GNOME upstream. So, this is now added to my TODO list.

Killermundi and GNOME Hispano deal

Some months ago, thanks to Tim Ney, we (GNOME Hispano) came to an agreement with Killermundi, an online shop that sells t-shirts of Free Software projects, under which Killermundi is going to sell GNOME t-shirts and give part of the earnings to GNOME Hispano. Now, this agreement is official, so, if you want to wear nice t-shirts and, at the same time, help your favorite desktop, please go by and buy some t-shirts.

I think the shop doesn’t work for countries other than Spain though, but the plan is to use that money to help bringing more Spanish-speaking people (specially from the other side of the Atlantic) to conferences, organizing more conferences, making live CDs and more t-shirts for those conferences, etc.

gnome-reset 0.1.2

I hereby present a new release of gnome-reset, a set of tools that allow users to backup, reset and restore their settings, with pluggable backends to add specific support for specific apps settings. Right now, there is support for GConf, files and directories sources, which means settings can be backed up from/restored to GConf, files and directories.

Right now, it contains two tools:

  • gnome-reset, to backup and reset settings
  • gnome-reset-restore, to restore a previous backup

Still lots of things to do, like providing support for all standard desktop tools, specific application support (like Evolution, which uses GConf data as well as .evolution directory), and any other idea people might have.

Get the tarball here

GNOME startup speed

After some great advise from Michael, I’ve committed 2 changes that improve a little bit more the GNOME startup time. This, with the previous changes (to gnome-settings-daemon to lazy load not critical services, like screensaver and typing break and use a single GConf client instead of calling gconf_client_get_default repeatedly), along with the GConf improvements recently announced, login time for CVS HEAD is, for me:

  • Cold startup: 14-18 seconds
  • Warm startup: 5-7 seconds

My “benchmark” is very basic (chronometer), so if anyone could benchmark it better, I’d appreciate it.

White Christmas

Pretty white Christmas this year for me, with a week of holidays in the mountain (in Cerler) skiing, and a return home to an icy landscape.

The week skiing was great, as always, only bad thing is that this year we went totally unfit for the 6/7 hours of exercise needed for skiing (it’s been 7/8 months without doing much exercise, apart from walking on the countryside), so, the first day, both Yolanda and I were exhausted and pleading to return to the hotel for some rest. The following days, fortunately, things went better, and, while still tired, much more than other times, we weren’t as exhausted as the 1st day. This was a call for us to do more exercise during the non-ski months.

The weather was great, cold enough for the snow to be in good condition, but with sunny days.


The surprise was when we came back, finding the whole road, from Graus (100s of meters below the Cerler mountains), in the province of Huesca, to Peralta, totally covered with ice, looking more like Siberia than what many people think about Spain (sunny and hot all year).

Fortunately, the roads were pretty ok, so there was no risk driving around. Since we were in a hurry (family waiting for us for Christmas’ Day lunch), we didn’t stop to take some better photos, so the ones I took were taken from the car, without stopping, which makes them not reflect how beautiful the landscape we saw was. The best photos are the ones taken already in Peralta, with the car stopped 🙂