federico is currently certified at Master level.

Name: Federico Mena-Quintero
Member since: N/A
Last Login: 2007-06-28 00:26:55

FOAF RDF Share This

Homepage: http://primates.ximian.com/~federico

Notes:

I keep my diary here.

Projects

Recent blog entries by federico

Syndication: RSS 2.0

Mon 2010/Aug/30

  • Rooting the file chooser

    Christian Hammond has been working on a very cool branch of GtkFileChooser to let you define roots for the file dialog. Normally, this is what my file chooser looks like — it lets me browse anything on my file system:

    Unrooted filechooser

    In the following screenshot, the file chooser has been rooted to show only my $HOME. Note that no volumes or shortcuts that are outsideof my $HOME show up in the shortcuts pane.

    Filechooser rooted to $HOME

    The API makes it easy.

    GSList *roots;
    
    roots = g_slist_append (NULL, "file:///home/federico");
    gtk_file_chooser_set_root_uris (chooser, roots);

    And in the following example, the filechooser has been constrained to my $HOME and to /tmp:

    Filechooser rooted to $HOME and /tmp

    This is basically the infrastructure we need to support proper lockdown in the file chooser. At some point it may be interesting for sysadmins to say, "don't let users wander in the filesystem, but constrain them to their home directory, the corporate shares and their USB stick".

    This is bug 609886 - multiroot support for GtkFileChooser.

    The patches are not quite ready yet (in particular, passing a GSList of strings is not very nice for language bindings, I think), but it should be easy to fix for production. Any volunteers?

Syndicated 2010-08-30 14:36:00 from Federico Mena-Quintero - Activity Log

20 Aug 2010 (updated 20 Aug 2010 at 22:04 UTC) »

Fri 2010/Aug/20

  • Which document is open in a window?

    Yesterday I mentioned a patch for Evince to add an "Open Containing Folder" command. In the bug that tracks the patch, Milan Bouchet-Valat asked about having an X window property that apps could set to let the environment know the URI that is being shown in a window.

    This sounds pretty useful. I told the Zeitgeist hackers about this, and Michal Hruby told me about exactly the same proposal, which had some discussion in the wm-spec-list.

    The basic idea is to add a _NET_WM_CURRENT_URI property to windows, whose value is a string with the URI of the document being viewed. From the application programmer's viewpoint, this would be something like gtk_window_set_current_uri&nbsp(window, string). You would call that function when you load a document.

    Gnome-shell and window managers could use this information to do several things — offer the "show in file manager" command themselves, provide information to Zeitgeist about the documents that are open at any one time, etc.

    The discussion has an interesting mail from Luboš Luňák. It seems that KDE has already been considering something similar.

    Extending the idea a bit further, gnome-shell has mockups to show a list of tabs that are open in your web browser. If you make that window property be a list of URIs (for all the open documents) instead of a single URI, then the window manager can list the open web pages easily. You would need a human-readable list of document titles (and possibly favicons and other nasties), but details, details...

    I think we would also need some sort of message that the window manager can send to windows, like "focus this document" for when you select your tabbed web page in gnome-shell's lists. This message should be the only command that we add to communicate from the window manager to apps; in theory you should be able to do everything else from the app itself, once you have focused the documents — close the document, move it, etc.; there is no need to complicate the window manager with that knowledge.

  • For my Mexican friends — correlación entre municipios PANistas y violencia.

Syndicated 2010-08-20 15:09:00 (Updated 2010-08-20 22:04:52) from Federico Mena-Quintero - Activity Log

Thu 2010/Aug/19

  • "Open Containing Folder" for Evince

    Remember the lack of bidirectional navigation in our document windows? The problem is that you can go down in the folder hierarchy with the file system until you open a file, but you cannot go up from the document app to visit the file system again.

    I just made a little patch for Evince to add an "Open Containing Folder" command, similar to the one that Firefox has in its Downloads window.

    Open Folder command

    This patch is is at bgo#627443.

    Unfortunately, Nautilus currently seems to have a bug. If you launch "nautilus file:///blah/blah/foo.pdf", Nautilus complains that "foo.pdf is not a folder". I'm sure this worked at some point before — you could make Nautilus open a window showing a folder *with* a certain file already selected.

    In the meantime, my patch for Evince just causes Nautilus to open a folder window. It would be nice if it could also select the file in that window.

Syndicated 2010-08-19 17:56:00 from Federico Mena-Quintero - Activity Log

Mon 2010/Jul/26

  • Not attending GUADEC

    The bad news is that I am not attending GUADEC this year. I miss you, people! This is the first GUADEC in which I fail to be a fixture of the conference.

    The good news is that I have a good reason for not attending. I will be at the inaugural event for the Talleres Libres de Artes y Tecnologías, or Free Workshops for Arts and Technologies.

    Talleres Libres
	      de Artes y Tecnologías

    There are several ideas behind the Free Workshops:

    • Resurrect traditional techniques for agriculture, woodworking, metalworking, permaculture, textiles — all the arts and crafts that no one longer knows how to do because everyone buys everything pre-made.

    • Publish that knowledge in online form, under a Creative Commons license.

    • Create physical workshops with the tools and knowledge for those arts and technologies. You need a space to make stuff; we make it happen.

    • Form an internal economy based on import-replacement. It's better if I use soap that my friend Joaquín makes, than to buy soap at the supermarket. I can make the wooden molds that he needs for his soap, or I can trade it for some vegetables that I grow.

    • Work to improve the quality of life of each workshop's local community. Are people filling their house's water tank from a truck? Help them build a rainwater-harvesting system. Are people going to the supermarket to buy bread? Start a bakery with a hand-built oven.

    Think of it as a 21st-century, networked, distributed, copyleft hippie/maker commune.

    My starting contribution to the Free Workshops is knowledge in woodworking and building techniques, and space in our backyard orchard and woodworking shop.

Syndicated 2010-07-26 15:12:00 from Federico Mena-Quintero - Activity Log

203 older entries...

 

federico certified others as follows:

  • federico certified federico as Apprentice

Others have certified federico as follows:

  • raph certified federico as Master
  • notzed certified federico as Master
  • miguel certified federico as Master
  • lewing certified federico as Master
  • pat certified federico as Master
  • bertrand certified federico as Master
  • timj certified federico as Master
  • clahey certified federico as Master
  • martin certified federico as Master
  • stric certified federico as Master
  • vicious certified federico as Master
  • flaggz certified federico as Master
  • yosh certified federico as Master
  • Centove certified federico as Master
  • thunder certified federico as Master
  • sjburges certified federico as Master
  • Slow certified federico as Master
  • shawn certified federico as Master
  • bit certified federico as Master
  • ole certified federico as Master
  • kmaraas certified federico as Master
  • jamesh certified federico as Master
  • tigert certified federico as Master
  • terral certified federico as Master
  • uzi certified federico as Master
  • cameron certified federico as Master
  • mark certified federico as Master
  • andrei certified federico as Master
  • cipher certified federico as Master
  • johnsonm certified federico as Master
  • ber certified federico as Master
  • scromp certified federico as Master
  • werner certified federico as Master
  • Jody certified federico as Master
  • dieman certified federico as Master
  • federico certified federico as Apprentice
  • alan certified federico as Master
  • negro certified federico as Master
  • shillo certified federico as Master
  • beppu certified federico as Master
  • feldspar certified federico as Master
  • mjs certified federico as Master
  • harold certified federico as Master
  • bombadil certified federico as Master
  • mathieu certified federico as Master
  • neo certified federico as Master
  • temas certified federico as Master
  • dria certified federico as Master
  • mitch certified federico as Master
  • Ryan certified federico as Master
  • dcm certified federico as Master
  • zhp certified federico as Master
  • scottj certified federico as Master
  • gbritton certified federico as Master
  • listen certified federico as Master
  • blizzard certified federico as Master
  • goran certified federico as Master
  • DarkBlack certified federico as Master
  • gstein certified federico as Master
  • drc certified federico as Master
  • mkp certified federico as Master
  • jayc certified federico as Master
  • lupus certified federico as Master
  • matias certified federico as Master
  • anarch certified federico as Master
  • odaf certified federico as Master
  • sengan certified federico as Master
  • harvey certified federico as Master
  • bagfors certified federico as Master
  • green certified federico as Master
  • Darin certified federico as Master
  • anser certified federico as Master
  • phaedrus certified federico as Master
  • ettore certified federico as Master
  • Denny certified federico as Master
  • dsueiro certified federico as Master
  • nils certified federico as Master
  • BrucePerens certified federico as Master
  • ariel certified federico as Master
  • mtk certified federico as Master
  • harinath certified federico as Master
  • msw certified federico as Master
  • cactus certified federico as Master
  • hadess certified federico as Master
  • menthos certified federico as Master
  • lauris certified federico as Master
  • Aspuru certified federico as Master
  • rodrigo certified federico as Master
  • jpick certified federico as Master
  • docwhat certified federico as Master
  • jsheets certified federico as Master
  • gilbertt certified federico as Master
  • Gnrfan certified federico as Master
  • gord certified federico as Master
  • Fyndo certified federico as Master
  • wcooley certified federico as Master
  • juantomas certified federico as Master
  • Barbwired certified federico as Master
  • timg certified federico as Master
  • rtmfd certified federico as Master
  • jules certified federico as Master
  • vladimir certified federico as Master
  • Judith certified federico as Master
  • const certified federico as Master
  • kanikus certified federico as Master
  • kimusan certified federico as Master
  • rw2 certified federico as Master
  • nigelk certified federico as Master
  • lerdsuwa certified federico as Master
  • bratsche certified federico as Master
  • srn certified federico as Master
  • jtc certified federico as Master
  • nullspace certified federico as Master
  • mikeszcz certified federico as Master
  • timur certified federico as Master
  • ebizo certified federico as Master
  • hilaire certified federico as Master
  • dneighbors certified federico as Journeyer
  • lxhispano certified federico as Master
  • ariya certified federico as Master
  • jLoki certified federico as Master
  • bkuhn certified federico as Master
  • hgayosso certified federico as Master
  • fejj certified federico as Master
  • drjekyll certified federico as Master
  • rossigee certified federico as Master
  • monk certified federico as Master
  • MikeGTN certified federico as Master
  • cinamod certified federico as Master
  • nzkoz certified federico as Master
  • gleblanc certified federico as Master
  • juhtolv certified federico as Master
  • trow certified federico as Master
  • almer certified federico as Master
  • wardv certified federico as Master
  • epic certified federico as Master
  • olea certified federico as Master
  • mvo certified federico as Master
  • etumenba certified federico as Master
  • sl0th certified federico as Master
  • quentin certified federico as Master
  • ricardo certified federico as Master
  • typezero certified federico as Master
  • proski certified federico as Master
  • opiate certified federico as Master
  • redowl certified federico as Master
  • pau certified federico as Master
  • sulaiman certified federico as Master
  • wacky certified federico as Master
  • coder certified federico as Master
  • mharris certified federico as Master
  • sculptor certified federico as Master
  • roshan certified federico as Master
  • todd certified federico as Master
  • gka certified federico as Master
  • Rabbitt certified federico as Master
  • mascot certified federico as Master
  • modus certified federico as Master
  • Rockwalrus certified federico as Master
  • lkcl certified federico as Master
  • strider certified federico as Master
  • tanis certified federico as Master
  • bonzini certified federico as Master
  • cortezcarlos certified federico as Master
  • elanthis certified federico as Master
  • carol certified federico as Master
  • fxn certified federico as Master
  • rhestilow certified federico as Master
  • pencechp certified federico as Master
  • Mmarquee certified federico as Master
  • polak certified federico as Master
  • brouhaha certified federico as Master
  • juancpaz certified federico as Master
  • ebf certified federico as Master
  • domi certified federico as Master
  • mdupont certified federico as Master
  • rpelcastre certified federico as Master
  • byte certified federico as Master
  • shooby certified federico as Master
  • Fabian certified federico as Master
  • pasky certified federico as Master
  • garnacho certified federico as Master
  • alvaro certified federico as Master
  • freax certified federico as Master
  • carlosgc certified federico as Master
  • berthu certified federico as Master
  • mrcsparker certified federico as Master
  • simos certified federico as Master
  • derupe certified federico as Master
  • fagrspf certified federico as Apprentice
  • alfons certified federico as Master
  • mathrick certified federico as Master
  • yaubi certified federico as Master
  • rmolina certified federico as Master
  • ebassi certified federico as Master
  • pvanhoof certified federico as Master
  • zbowling certified federico as Master
  • bogart certified federico as Master
  • patux certified federico as Master
  • roozbeh certified federico as Master
  • beto certified federico as Master
  • karkul certified federico as Master
  • fbscarel certified federico as Master
  • madan certified federico as Master
  • behdad certified federico as Master
  • gpoo certified federico as Master
  • Sandino certified federico as Master
  • toxickore certified federico as Master
  • clubfan certified federico as Master
  • Aaaarti certified federico as Master
  • jmauricio certified federico as Master
  • everaldo certified federico as Master
  • zwnj certified federico as Master
  • lucasr certified federico as Master
  • imcsk8 certified federico as Master
  • masood certified federico as Master
  • okaratas certified federico as Master
  • eopadoan certified federico as Master
  • desrt certified federico as Master
  • KBrown certified federico as Master
  • murajov certified federico as Master
  • janneke certified federico as Master
  • gicmo certified federico as Master

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page