Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to remove the default scan program simple scan which is called in the indicator-session applet, and replace it with my favorite scan program, xsane. I can't find any hints how to achieve that. When simple scan is removed from the computer, ubuntu wants me to reinstall it via software center.

Where and how could I change that?

so long

hanky

EDIT

I think I found a solution after examining the source code.

The only way to change it seems to be a recompling of the package after editing src/device-menu-mgr.c and replacing all occurences of 'simple_scan' with 'xsane' there.

I really can't believe this is hard-coded - no choice for the user...

share|improve this question
    
what Ubuntu version are you using? –  Alexandre Feb 26 '12 at 20:12
    
Ubuntu 11.10, 64-bit, but I found the answer, see edit above –  hanky Feb 26 '12 at 22:17
1  
Please come back tomorrow and add your edit as an answer - you should accept it via the "tick" button. This will also allow us to upvote you so you gain reputation (rep). thanks. –  fossfreedom Feb 26 '12 at 22:49
    
OK, I thought it might be easier this way... I tried yesterday, but was informed that I couldn't do so immediately. –  hanky Feb 28 '12 at 17:03
add comment

1 Answer 1

I think I found a solution after examining the source code.

The only way to change it seems to be a recompiling of the package after editing src/device-menu-mgr.c and replacing all occurences of 'simple_scan' with 'xsane' there.

I really can't believe this is hard-coded - no choice for the user...

so long

hank

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.