Wednesday, November 26, 2008

Use LightZone from F-Spot as external editor

In a previous post I have shown how to teach LightZone, a non-destructive photo editor, to open files passed from the command-line (for some strange reason it doesn't do it out-of-the-box).

Now, I want to be able to use LightZone as an external editor from F-Spot, which I use for my photo workflow.

F-Spot has a convenient Open With menu when right-clicking on a photo, we just need to add LightZone to this menu. After some research, it appear that F-Spot uses the standard desktop entry specification files to populate this menu. These files can be located either in /usr/share/applications or in user's home, ~/.local/share/applications. You can use either location, but I prefer the latter one, because I have unpacked LightZone into my home as well.

Here is the working lightzone.desktop file:

[Desktop Entry]
Version=1.0
Type=Application
Name=LightZone Photo Editor
Exec=LightZone %u
TryExec=LightZone
Icon=/home/USERNAME/LightZone/LightZone_32.png
Terminal=false
Categories=Graphics;2DGraphics;Photography;RasterGraphics;GTK;
StartupNotify=true
MimeType=image/tiff;image/jpeg;image/x-canon-cr2;image/x-canon-crw;image/x-nikon-nef;image/x-pentax-pef;

This file expects that you have followed the previous post and already have LightZone in the PATH which accepts a filename to open on the command-line.
  • Exec - this line specifies what command to run, %u means to pass the selected file's URL on the command-line. For some reason with trial and error, I found that F-Spot is only able to pass URLs like this, specifying %f doesn't work with F-Spot. But if you look at the LightZoneOpener.java source, you will see that it supports URLs as well as filenames.
  • Icon - change this one to the full path of LightZone's icon, it supplied in the original archive.
  • Categories - this specifies where LightZone will appear in the ''Applications'' menu.
  • MimeType - here you must list all image mime types that you want LightZone to open. This is especially important for RAW files. As I own a Canon camera, I have most of my photos in CR2 format, so I need to be sure that image/x-canon-cr2 is in the list. I have also specified CRW, NEF and PEF mime types for older Canon, Nikon and Pentax cameras, respectively. These mime types are already registered in Ubuntu Intrepid (not sure about other distributions). Here is some info on how to register new mime types in Gnome, in case your camera's format is not registered yet.



After chosing the Open With->LightZone, F-Spot will ask whether to create a new version for the file. Select 'No' - this won't work with RAW files and LightZone anyway, because LightZone saves files automatically with the _lzn.jpg suffix and F-Spot doesn't know about it.

Getting this right requires patching F-Spot (I am going to do that later). For now, you will have to import the saved file manually, if you want it to appear in F-Spot.


243 comments:

«Oldest   ‹Older   201 – 243 of 243   Newer›   Newest»
Anonymous said...

download from adobe flash player
download free adobe acrobat 5
adobe acrobat pdf printing
adobe premiere 7 burning dvds
adobe acrobat 7 free tutorial
free adobe photoshop tutorial
adobe acrobat windows mobile 6
buy adobe premier
adobe flash 9 free download

Anonymous said...

adobe photoshop instructional
adobe acrobat de encryptor
Low Price free acrobat adobe
full version how to save adobe
Low Price adobe creative suite
Low Cost adobe creative suite
adobe illustrator files
removing background adobe

Anonymous said...

full version adobe acrobat pro
import collections adobe photoshop albums
adobe acrobat 9 standard Cheap
adobe acrobat paradox Cheap
adobe photoshop elements Discount
problems with adobe media
adobe acrobat could not update
pdf hygiene acrobat adobe
quark files in adobe indesign

Anonymous said...

adobe photoshop cs3 trial
adobe after effects cs4
Price adobe flash for mobile
Price run adobe pagemaker
captivate adobe coupon
Discount adobe cs4 indesign
Discount adobe photoshop light
adobe creative web suite crack
Low Price firefox and adobe
how to create themes with

Anonymous said...

download from adobe flash player
download free adobe acrobat 5
adobe acrobat pdf printing
adobe premiere 7 burning dvds
adobe acrobat 7 free tutorial
free adobe photoshop tutorial
adobe acrobat windows mobile 6
buy adobe premier
adobe flash 9 free download

Anonymous said...

adobe photoshop instructional
adobe acrobat de encryptor
Low Price free acrobat adobe
full version how to save adobe
Low Price adobe creative suite
Low Cost adobe creative suite
adobe illustrator files
removing background adobe

Anonymous said...

full version adobe acrobat pro
import collections adobe photoshop albums
adobe acrobat 9 standard Cheap
adobe acrobat paradox Cheap
adobe photoshop elements Discount
problems with adobe media
adobe acrobat could not update
pdf hygiene acrobat adobe
quark files in adobe indesign

Anonymous said...

adobe photoshop cs3 trial
adobe after effects cs4
Price adobe flash for mobile
Price run adobe pagemaker
captivate adobe coupon
Discount adobe cs4 indesign
Discount adobe photoshop light
adobe creative web suite crack
Low Price firefox and adobe
how to create themes with

Anonymous said...

Low Cost adobe acrobat
can adobe photoshop be used
Low Price inside adobe
Cheap second glance software
adobe photoshop suite cs3
Adobe Acrobat 9 Pro Extended
Low Cost online help files
Adobe Flash CS4 Professional
adobe contribute v4 Microsoft
free adobe photoshop brushes

Anonymous said...

Adobe Sound Booth CS4 adobe
download adobe photoshop 7 Discount
adobe photoshop question Low Cost
cheap adobe photoshop cs2
Download adobe captivate 3
capturing adobe flash video
Download Online adobe acrobat
Adobe In Design CS4

Anonymous said...

CHINA CHOW NUDE
[url=http://my.curse.com/members/LORINDA3.aspx]CHINA CHOW NUDE[/url]
CHINA CHOW NUDE
[url= http://my.curse.com/members/LORINDA3.aspx ] CHINA CHOW NUDE [/url]
MICHELLE HUNZIKER NUDE
[url=http://my.curse.com/members/LORINDA3.aspx]MICHELLE HUNZIKER NUDE[/url]
MICHELLE HUNZIKER NUDE
[url= http://my.curse.com/members/LORINDA3.aspx ] MICHELLE HUNZIKER NUDE [/url]
KATHLEEN ROBERTSON NUDE
[url=http://my.curse.com/members/LORNA3.aspx]KATHLEEN ROBERTSON NUDE[/url]
KATHLEEN ROBERTSON NUDE
[url= http://my.curse.com/members/LORNA3.aspx ] KATHLEEN ROBERTSON NUDE [/url]
LACEY CHABERT NUDE
[url=http://my.curse.com/members/LORRETTA3.aspx]LACEY CHABERT NUDE[/url]
LACEY CHABERT NUDE
[url= http://my.curse.com/members/LORRETTA3.aspx ] LACEY CHABERT NUDE [/url]
JOSIE MARAN NUDE
[url=http://my.curse.com/members/LORRIANE2.aspx]JOSIE MARAN NUDE[/url]
JOSIE MARAN NUDE
[url= http://my.curse.com/members/LORRIANE2.aspx ] JOSIE MARAN NUDE [/url]

Anonymous said...

LYDIA HEARST NUDE
[url=http://my.curse.com/members/LORRIN1.aspx]LYDIA HEARST NUDE[/url]
LYDIA HEARST NUDE
[url= http://my.curse.com/members/LORRIN1.aspx ] LYDIA HEARST NUDE [/url]
ALANIS MORISSETTE NUDE
[url=http://my.curse.com/members/LOUANN1.aspx]ALANIS MORISSETTE NUDE[/url]
ALANIS MORISSETTE NUDE
[url= http://my.curse.com/members/LOUANN1.aspx ] ALANIS MORISSETTE NUDE [/url]
NEVE CAMPBELL NUDE
[url=http://my.curse.com/members/LOUELLA2.aspx]NEVE CAMPBELL NUDE[/url]
NEVE CAMPBELL NUDE
[url= http://my.curse.com/members/LOUELLA2.aspx ] NEVE CAMPBELL NUDE [/url]
PATSY KENSIT NUDE
[url=http://my.curse.com/members/LOUIE7.aspx]PATSY KENSIT NUDE[/url]
PATSY KENSIT NUDE
[url= http://my.curse.com/members/LOUIE7.aspx ] PATSY KENSIT NUDE [/url]
ROSE BYRNE NUDE
[url=http://my.curse.com/members/LOUISE3.aspx]ROSE BYRNE NUDE[/url]
ROSE BYRNE NUDE
[url= http://my.curse.com/members/LOUISE3.aspx ] ROSE BYRNE NUDE [/url]

Anonymous said...

AMBER TAMBLYN NUDE
[url=http://my.curse.com/members/LIBBIE5.aspx]AMBER TAMBLYN NUDE[/url]
AMBER TAMBLYN NUDE
[url= http://my.curse.com/members/LIBBIE5.aspx ] AMBER TAMBLYN NUDE [/url]
AGYNESS DEYN NUDE
[url=http://my.curse.com/members/LIBERTY4.aspx]AGYNESS DEYN NUDE[/url]
AGYNESS DEYN NUDE
[url= http://my.curse.com/members/LIBERTY4.aspx ] AGYNESS DEYN NUDE [/url]
KRISTIN KREUK NUDE
[url=http://my.curse.com/members/LIBRADA7.aspx]KRISTIN KREUK NUDE[/url]
KRISTIN KREUK NUDE
[url= http://my.curse.com/members/LIBRADA7.aspx ] KRISTIN KREUK NUDE [/url]
AMY POEHLER NUDE
[url=http://my.curse.com/members/LIESELOTTE3.aspx]AMY POEHLER NUDE[/url]
AMY POEHLER NUDE
[url= http://my.curse.com/members/LIESELOTTE3.aspx ] AMY POEHLER NUDE [/url]
LEELEE SOBIESKI NUDE
[url=http://my.curse.com/members/LILLIA8.aspx]LEELEE SOBIESKI NUDE[/url]
LEELEE SOBIESKI NUDE
[url= http://my.curse.com/members/LILLIA8.aspx ] LEELEE SOBIESKI NUDE [/url]

Anonymous said...

Adobe After Effects CS4 tutorials
Adobe Fireworks CS4 how to grow
knjiga adobe dreamweaver
Adobe Contribute CS4 adobe photoshop
Microsoft Money 2007 Deluxe free adobe
Adobe Sound Booth CS4 adobe photoshop api
Adobe Creative Suite 4 Master
Adobe In Copy CS4 adobe contribute
Adobe In Design CS4 adobe acrobat

Anonymous said...

Adobe Illustrator CS4 adobe
Discount adobe photoshop software
Adobe Sound Booth CS4 adobe flash
Microsoft Money 2007 Home & Business
Adobe In Design CS4 adobe photoshop
Download adobe photoshop workshop
Microsoft Office Visio 2003 adobe
Adobe Photoshop CS4 Extended
Adobe Captivate 4 adobe flash

Anonymous said...

JERI RYAN NUDE
[url=http://my.curse.com/members/LILLIAN5.aspx]JERI RYAN NUDE[/url]
JERI RYAN NUDE
[url= http://my.curse.com/members/LILLIAN5.aspx ] JERI RYAN NUDE [/url]
ELSA PATAKY NUDE
[url=http://my.curse.com/members/LILLIANA4.aspx]ELSA PATAKY NUDE[/url]
ELSA PATAKY NUDE
[url= http://my.curse.com/members/LILLIANA4.aspx ] ELSA PATAKY NUDE [/url]
SHAUNA SAND NUDE
[url=http://my.curse.com/members/LILLIE6.aspx]SHAUNA SAND NUDE[/url]
SHAUNA SAND NUDE
[url= http://my.curse.com/members/LILLIE6.aspx ] SHAUNA SAND NUDE [/url]
BILLIE PIPER NUDE
[url=http://my.curse.com/members/LINETTE4.aspx]BILLIE PIPER NUDE[/url]
BILLIE PIPER NUDE
[url= http://my.curse.com/members/LINETTE4.aspx ] BILLIE PIPER NUDE [/url]
KIM CATTRALL NUDE
[url=http://my.curse.com/members/LINNEA6.aspx]KIM CATTRALL NUDE[/url]
KIM CATTRALL NUDE
[url= http://my.curse.com/members/LINNEA6.aspx ] KIM CATTRALL NUDE [/url]

Anonymous said...

adobe photoshop elements patterns
adobe photoshop elements will not start error message
free adobe photoshop full download
adobe acrobat reader downloads for windows vista
adobe premier pro tutorials
adobe premiere pro audio tutorial
adobe acrobat version 6
adobe photoshop cs4 download non profit
adobe photoshop osx
free adobe illustrator cs3 mac serial number

Anonymous said...

adobe photoshop premium starter edition
adobe premiere cs3
adobe flash ps3
adobe flash cs4 keep asking for serial number
adobe flash player 9 download
special price on adobe photoshop
adobe dreamweaver cs3 templates
wrap text in circle adobe photoshop
serial number adobe photoshop extended cs3
download adobe acrobat for free

Anonymous said...

imageready in adobe photoshop cs4
adobe flash player mobile
adobe acrobat japan
adobe illustrator or corel draw
free download adobe photoshop cs
adobe photoshop 6 and premiere 4
update adobe photoshop 2 for windows vista
adobe version 7 of flash
adobe acrobat printer
adobe photoshop tutorial changing background

Anonymous said...

adobe photoshop for windows
adobe photoshop elements copy to cd
a fools guide to adobe photoshop cs3
adobe premiere pro audio fade tutorial
adobe photoshop cs3 classes new jersey
adobe dreamweaver cs3 tutorial
adobe illustrator reader
adobe dreamweaver cs3 serial
free download install adobe acrobat reader
adobe acrobat insert pages are in the wrong order

Anonymous said...

download adobe photoshop cs4 version молодые serial no for mac
adobe indesign cmap files japanese system
adobe acrobat 8 professional
adobe illustrator flower
adobe dreamweaver download
adobe photoshop cs4 revealed 1st 09 thomson
adobe premiere elements 7 code
you need adobe flash player to watch this
adobe photoshop cs3 extended written tutorials
reviews for adobe creative suite

Anonymous said...

adobe photoshop cs3 extended key gen
adobe creative suite 3 courses in tampa florida
adobe acrobat hyperlink microsoft word
christmas backdrops for adobe photoshop
adobe premiere elements 2 capture video problems
digital capture format for adobe premier
adobe illustrator export visio
adult education in adobe photoshop
adobe acrobat 8 standard oem discount
adobe photoshop elements for mac

Anonymous said...

adobe acrobat for teachers
adober flash player problems
vector adobe illustrator
adobe illustrator burst library
adobe acrobat upgrade matrix
how to test adobe flash player
free download adobe acrobat
adobe after effects edit adobe project not clips

Anonymous said...

http://basweopuv.0fees.net/adobe-dreamweaver-v3.html
http://bolsiwoa.0fees.net/adobe-flash-professional-keygen-crack.html
http://bcyusiw.0fees.net/adobe-creative-suite-cs3-design-premium.html
http://bolsiwoa.0fees.net/adobe-photoshop-music-note-brushes.html
http://bolsiwoa.0fees.net/adobe-version-7-of-flash.html
http://bcyusiw.0fees.net/adobe-flash-presentation.html
http://basweopuv.0fees.net/extract-photos-form-adobe-photoshop-album-starter.html
http://bcyusiw.0fees.net/adobe-creative-suite-4.html
http://bolsiwoa.0fees.net/problems-with-adobe-flash-player.html
http://basweopuv.0fees.net/how-to-smooth-edges-adobe-photoshop.html

Anonymous said...

adobe acrobat reader mac
user instructions for adobe acrobat
free adobe acrobat 8 tutorial
free adobe acrobat tutorial
free adobe acrobat 7 tutorial
adobe acrobat 7 free tutorial
adobe acrobat newest version
adobe acrobat apple download
adobe acrobat reader apple
adobe acrobat professional forms
adobe acrobat professional forms help

Anonymous said...

NIKKI COX NUDE
[url=http://my.curse.com/members/MADELENE2.aspx]NIKKI COX NUDE[/url]
NIKKI COX NUDE
[url= http://my.curse.com/members/MADELENE2.aspx ] NIKKI COX NUDE [/url]
ALICIA SILVERSTONE NUDE
[url=http://my.curse.com/members/MADELINE5.aspx]ALICIA SILVERSTONE NUDE[/url]
ALICIA SILVERSTONE NUDE
[url= http://my.curse.com/members/MADELINE5.aspx ] ALICIA SILVERSTONE NUDE [/url]
JENNA FISCHER NUDE
[url=http://my.curse.com/members/MADELYN7.aspx]JENNA FISCHER NUDE[/url]
JENNA FISCHER NUDE
[url= http://my.curse.com/members/MADELYN7.aspx ] JENNA FISCHER NUDE [/url]
ALESSANDRA AMBROSIO NUDE
[url=http://my.curse.com/members/MADISON3.aspx]ALESSANDRA AMBROSIO NUDE[/url]
ALESSANDRA AMBROSIO NUDE
[url= http://my.curse.com/members/MADISON3.aspx ] ALESSANDRA AMBROSIO NUDE [/url]
UMA THURMAN NUDE
[url=http://my.curse.com/members/MADONNA4.aspx]UMA THURMAN NUDE[/url]
UMA THURMAN NUDE
[url= http://my.curse.com/members/MADONNA4.aspx ] UMA THURMAN NUDE [/url]

Anonymous said...

adobe acrobat professional user group help
adobe acrobat reade3r
adobe acrobat pro mac
adobe acrobat 5 keygen
adobe acrobat reinstall everytime i right click
adobe acrobat diacritical
adobe acrobat schwa
create custom dictionaries for adobe acrobat 7
compare adobe acrobat 5 8 versions
adobe acrobat 8 professional
adobe acrobat professional 6 upgrade

Anonymous said...

make digital scrapbook pages with adobe photoshop
free download of adobe photoshop cs3
adobe photoshop image setting
adobe photoshop prepress
adobe photoshop film output
how to download actions in adobe photoshop
adobe photoshop free
adobe photoshop download
free downloadable adobe photoshop
try adobe photoshop

Anonymous said...

adobe photoshop cs2 classroom instructions
adobe photoshop cs2 classroom
adobe photoshope csc3 extend
adobe photoshop album software
adobe pagemaker and photoshop
adobe photoshop cs3 updates
free adobe photoshop elements software
how to scan forms in adobe photoshop
adobe photoshop how do you draw free hand
adobe photoshop removing reflections

Anonymous said...

adobe photoshop elements 5
free adobe photoshop for vista
adobe photoshop cracked downloads
photoshop download free adobe full version trial
adobe photoshop camera raw plug in
adobe photoshop download free
adobe photoshop upgrade
adobe photoshop elements shortcuts
adobe photoshop cs serial number
adobe photoshop mx

Anonymous said...

serial number for adobe photoshop 6
reduce shine adobe photoshop
adobe photoshop cs3 bit torrents
adobe photoshop programs
adobe photoshop starter
free adobe photoshop 6
adobe photoshop lightroom 2
adobe photoshop starter addition
adobe photoshop tutorials
adobe photoshop freeware download

Anonymous said...

adobe photoshop templates
adobe photoshop cd label templates
what is adobe photoshop used for
adobe photoshop questions
adobe photoshop album
free adobe photoshop download
adobe photoshop for windows
adobe photoshop elements will not start error message
adobe photoshop c4
adobe photoshop elements 7 users guide

Anonymous said...

adobe photoshop 6 elements
adobe photoshope album starter
adobe photoshop cs3 key free
adobe photoshop cs3 full download
using adobe photoshop 5 how do you make 1 big photo out of many
adobe photoshop cs
adobe photoshop cs3 photo merge
adobe photoshop cs3 vs windows vista 64 bit
adobe photoshop cs 3 tutorial

Anonymous said...

free adobe photoshop
adobe photoshop
adobe photoshop cs3 clone source
bamboo with adobe photoshop
apple adobe flash player
adobe photoshop 7 camera raw plug in
adobe illustrator ungroup visio

Anonymous said...

free adobe photoshop cs3 tutorial
adobe creative suite 3 design standard keygen
adobe illustrator making bitmap background transparent
problems installing adobe photoshop
adobe flash player does not work on vista
adobe photoshop cs download osx
adobe illustrator price

Anonymous said...

adobe illustrator 11 lessons adobe illustrator 2 trial adobe illustrator cs 2 download adobe illustrator cs 2 download for windows adobe illustrator tutorial training adobe illustrator cs3 bittorrent free download adobe illustrator cs3 download adobe illustrator symbols software adobe vector illustrations excel and adobe illustrator adobe illustrator keybord respond not adobe illustrator flower adobe illustrator paste revolve

Anonymous said...

http://lopdergams.0fees.net/map.html
http://lopdergams.0fees.net/
http://lopdergams.0fees.net/adobe-acrobat-reader-8-free.html adobe acrobat reader 8 free
http://lopdergams.0fees.net/greasemonkey-scripts-adobe-flash-player.html greasemonkey scripts adobe flash player
http://lopdergams.0fees.net/how-to-frame-adobe-photoshop.html how to frame adobe photoshop
http://lopdergams.0fees.net/adobe-photoshop-illustrations.html adobe photoshop illustrations
http://lopdergams.0fees.net/adobe-flash-player-plugin-issues-windows-xp.html adobe flash player plugin issues windows xp
http://nasewnios.0fees.net/map.html
http://nasewnios.0fees.net/
http://nasewnios.0fees.net/free-adobe-illustrator-templates-pc.html free adobe illustrator templates pc
http://nasewnios.0fees.net/adobe-acrobat-9-pro-full-version.html adobe acrobat 9 pro full version
http://nasewnios.0fees.net/adobe-acrobat-4.html adobe acrobat 4
http://nasewnios.0fees.net/adobe-pagemaker-image-setting.html adobe pagemaker image setting
http://nasewnios.0fees.net/adobe-photoshop-for-mac.html adobe photoshop for mac

Anonymous said...

All of these spammy comments seem a bit ridiculous!

Anonymous said...

I agree with the post above and I will find more information from google.

Anonymous said...

Clomiphene(Clomid) tablet
What is this medicine?

CLOMIPHENE is a fertility drug used to increase the chance of getting pregnant. It is

used to help women ovulate (produce a mature egg) properly during their cycle. Compared

to other fertility treatments, clomiphene alone does not greatly increase your chances

of having multiple babies. An increased chance of having twins may occur in roughly 5

out of every 100 women who take this medication. Occasionally clomiphene is prescribed

to men with fertility problems due to low sperm counts.

Anonymous said...

Isotretinoin capsule
What is this medicine?

ISOTRETINOIN treats severe acne that has not responded to other therapy such as antibiotics.

Anonymous said...

I hope you get to read this...

Thanks for this post - it has really helped.

F-spot now shows LightZone in the 'open with' menu for raw files, but not for plain jpegs. I have the config the same as you.

any idea what I might be doing wrong?

thanks for the post and thanks in advance for any help

Tim

Anonymous said...

What's up Dear, are you in fact visiting this web page daily, if so after that you will without doubt get fastidious knowledge.
Also see my page :: dora the explorer episodes games

«Oldest ‹Older   201 – 243 of 243   Newer› Newest»