Subversion Repositories Projects

Rev

Rev 315 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
315 dhylands 1
#!/bin/sh
2
 
3
echo "Moving min/max/close over to the right..."
4
 
320 dhylands 5
#gconftool-2 --set "/apps/metacity/general/button_layout" --type string "menu:minimize,maximize,close"
315 dhylands 6
 
7
# The following is especially useful if you use VNC
8
echo "Make the background be a plain color (no image)..."
9
 
10
gconftool-2 --set "/desktop/gnome/background/primary_color"         --type string "#2c2c00001e1e"
11
gconftool-2 --set "/desktop/gnome/background/secondary_color"       --type string "#2c2c00001e1e"
12
gconftool-2 --set "/desktop/gnome/background/color_shading_type"    --type string "solid"
13
gconftool-2 --set "/desktop/gnome/background/picture_options"       --type string "none"
14
 
15
echo "Make the terminal have 9999 lines of scroll back..."
16
 
17
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/scrollback-lines" --type int 9999
18
 
19
echo "Changing terminal to be gray on black..."
20
 
21
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_colors" --type bool false
22
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/background_color" --type string "#000000000000"
23
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/foreground_color" --type string "#AAAAAAAAAAAA"
24
 
25
echo "Customizing Keybindings for next/prev tab..."
26
 
27
gconftool-2 --set "/apps/gnome-terminal/keybindings/prev_tab" --type string "<Shift>Left"
28
gconftool-2 --set "/apps/gnome-terminal/keybindings/next_tab" --type string "<Shift>Right"
29
 
30
echo "Customizing gnome-terminal to start larger..."
31
 
32
mkdir -p ${HOME}/.local/share/applications
33
cat > ${HOME}/.local/share/applications/gnome-terminal.desktop << EOF
34
#!/usr/bin/env xdg-open
35
 
36
[Desktop Entry]
37
Name=Terminal
38
Comment=Use the command line
39
TryExec=gnome-terminal
40
Exec=gnome-terminal --geometry=160x50
41
Icon=utilities-terminal
42
Type=Application
43
X-GNOME-DocPath=gnome-terminal/index.html
44
X-GNOME-Bugzilla-Bugzilla=GNOME
45
X-GNOME-Bugzilla-Product=gnome-terminal
46
X-GNOME-Bugzilla-Component=BugBuddyBugs
47
X-GNOME-Bugzilla-Version=2.32.0
48
Categories=GNOME;GTK;Utility;TerminalEmulator;
49
StartupNotify=true
50
OnlyShowIn=GNOME;
51
X-Ubuntu-Gettext-Domain=gnome-terminal
52
Terminal=false
53
EOF
54
 
55
echo "Making a gnome-terminal autostart whenever you login..."
56
 
57
mkdir -p ${HOME}/.config/autostart
58
cat > ${HOME}/.config/autostart/gnome-terminal.desktop << EOF
59
 
60
[Desktop Entry]
61
Type=Application
62
Exec=gnome-terminal --geometry=160x50
63
Hidden=false
64
NoDisplay=false
65
X-GNOME-Autostart-enabled=true
66
Name[en_CA]=gnome-terminal
67
Name=gnome-terminal
68
Comment[en_CA]=gnome-terminal
69
Comment=gnome-terminal
70
EOF
71