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?

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.

sudo sed 's/^Exec=[^ ]*/& -s/' /usr/share/applications/gimp.desktop
  • 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
  • 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
  • I did, but it's really your own answer ;-) – janos Jun 22 '12 at 16:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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