I'm using gnome-shell with Ubuntu 11.10. At the left edge there is menu with icons. Where can I edit the command that is launched after clicking them? For example, there is gvim icon and I want it to start with -geometry flag. I assume it is in some config file, but where?
To access the GNOME settings dialog, click Applications › System Tools › Settings. The dialog is divided into the following three categories: Personal. From here, you can change the background of your desktop or of the lock screen, and configure language settings.
Right-click the desktop area to open a context menu. Click Create Launcher. In the Create Launcher dialog box, confirm that Application is the default setting for Type, then enter the following required information: Type: Application (Default setting)
gnome-control-center is a graphical user interface to configure various aspects of GNOME. When run without arguments, the shell displays the overview, which shows all available configuration panels. The overview allows to open individual panels by clicking on them.
Gnome user-level menus are stored in your $XDG_CONFIG_HOME/menus directory (by default ~/. config/menus/) and $XDG_DATA_HOME/applications directory (by default ~/. local/share/applications).
To add startup arguments you have to modify the Exec parameter of the .desktop file. The gvim.desktop file is in
/usr/share/applications/gvim.desktop
Add the arguments you need to the line.
Exec=gvim -f %F
This will affect all users on your system. If you want a custom launcher file you can create a .desktop file in ~/.local/share/applications.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With