Gnome: Difference between revisions

From miki
Jump to navigation Jump to search
Line 44: Line 44:
=== Gnome Terminal ===
=== Gnome Terminal ===


* Changing '''default window size''' (system-wide)
* Changing '''default window size (system-wide)'''
sudo gedit /usr/share/vte/termcap/xterm
sudo gedit /usr/share/vte/termcap/xterm
: A few lines from the top, edit <tt>:co</tt> to change the default width, and <tt>:li</tt> to change the default height.
: A few lines from the top, edit <tt>:co</tt> to change the default width, and <tt>:li</tt> to change the default height.
:co#80:it#8:li#24:\
:co#80:it#8:li#24:\
* Changing '''default window size''' (Panel launcher)
* Changing '''default window size (Panel launcher)'''
** Right-click on launcher, ''Properties'', change ''command'' to <tt>gnome-terminal --geometry=150x50+100+100</tt>.
** Right-click on launcher, ''Properties'', change ''command'' to <tt>gnome-terminal --geometry=150x50+100+100</tt>.
* Changing '''default window size''' (Application Menu)
* Changing '''default window size (Application Menu)'''
** Same as above, but need to edit Application Menu (use ''Main Menu - System View'').
** Same as above, but need to edit Application Menu (use ''Main Menu - System View'').
* Changing '''default window size''' (Terminal preferred application)
* Changing '''default window size (Terminal preferred application)'''
** Open ''GNOME Configuration Editor''. Go to ''desktop/gnome/applications/terminal'', edit value ''exec-args''=<tt>-x --geometry=150x50+100+100</tt>.
** Open ''GNOME Configuration Editor''. Go to ''desktop/gnome/applications/terminal'', edit value ''exec-args''=<tt>-x --geometry=150x50+100+100</tt>.
** This is same as changing the settings in ''System &rarr; ''Preferred Applications &rarr; Terminal''.
** This is same as changing the settings in ''System &rarr; ''Preferred Applications &rarr; Terminal''.

Revision as of 21:24, 4 October 2009

Introduction

This page stores useful information related to the Gnome desktop environment for Linux.

Configuration

  • Check the nice utility GNOME Configuration Editor (eg. gconf-editor /apps/gnome-terminal )
  • Editing a file Open With list in Nautilus: right click on file → properties → go to Open With panel. Add new applications and/or select default application.

Desktop Theme

Apple OS X Tiger-like theme

Startup programs

  • To edit startup programs in Gnome, go to menu SystemSystemSessionsStartup programs.
  • One can also create a script to wait a certain amount of time before launching the program (script command sleep).
  • Startup programs are also listed in user home, in folder ~/.config/autostart. A typical entry looks like this:
[Desktop Entry]
Type=Application
Encoding=UTF-8
Version=1.0
Name=No Name
Name[en_US]=Firefox
Comment[en_US]=Web Browser Firefox
Comment=Web Browser Firefox
Exec=firefox-2
X-GNOME-Autostart-enabled=true

Change the last line to false to disable an autostart entry, or even override an system-wide auto-start entry.

Applications

Gnome DO

 sudo ln -s /opt/kde3/share/applications/kde /usr/share/applications/kde

Gnome Terminal

  • Changing default window size (system-wide)
 sudo gedit /usr/share/vte/termcap/xterm
A few lines from the top, edit :co to change the default width, and :li to change the default height.
:co#80:it#8:li#24:\
  • Changing default window size (Panel launcher)
    • Right-click on launcher, Properties, change command to gnome-terminal --geometry=150x50+100+100.
  • Changing default window size (Application Menu)
    • Same as above, but need to edit Application Menu (use Main Menu - System View).
  • Changing default window size (Terminal preferred application)
    • Open GNOME Configuration Editor. Go to desktop/gnome/applications/terminal, edit value exec-args=-x --geometry=150x50+100+100.
    • This is same as changing the settings in System → Preferred Applications → Terminal.
  • Q? Is there any use to change the file /usr/share/applications/gnome-terminal.desktop? I hoped that it would change the default settings in Gnome DO, but it doesn't :-(...