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?
2 Answers
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
– janosJun 22, 2012 at 13:38 -
-
You're welcome! Finally, using
s/^Exec=[^ ]*/& -s/
is better thans/^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)– janosJun 22, 2012 at 14:13 -
Can you publish the answer? I'll accept it and it'll avoid other members thinking it's still unanswered :)– int_uaJun 22, 2012 at 16:15
-