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.

Since I don't really like any splash screen and I didn't find such info for GIMP, how can I disable the GIMP version 2.8 splash screen?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted
sudo sed -i 's/^Exec=[^ ]*/& --no-splash/' /usr/share/applications/gimp.desktop

The sed script inserts the --no-splash flag right after the executable's name, this way disabling the splash screen.

share|improve this answer
add comment
sudo sed 's/^Exec=[^ ]*/& -s/' /usr/share/applications/gimp.desktop
share|improve this answer
    
Just a small tip to enhance: sudo sed -i 's/Exec=[^ ]*/& -s/' /usr/share/applications/gimp.desktop –  janos Jun 22 '12 at 13:38
    
Thanks :) And it touched TryExec also, I've fixed this too :) –  int_ua Jun 22 '12 at 14:08
    
You're welcome! Finally, using s/^Exec=[^ ]*/& -s/ is better than s/^Exec=[^ ]* /&-s / because it will work more generally, for example even if the Exec line doesn't have a space at all (command with no args) –  janos Jun 22 '12 at 14:13
    
yeah, thanks :) –  int_ua Jun 22 '12 at 16:13
    
Can you publish the answer? I'll accept it and it'll avoid other members thinking it's still unanswered :) –  int_ua Jun 22 '12 at 16:15
show 3 more comments

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.