Skip to content

Instantly share code, notes, and snippets.

@musinsky
Last active May 7, 2024 10:09
Show Gist options
  • Save musinsky/2402448 to your computer and use it in GitHub Desktop.
Save musinsky/2402448 to your computer and use it in GitHub Desktop.
GNOME 3 files
@import url("/usr/share/gnome-shell/theme/gnome-shell.css");
/* customizing GNOME Shell for desktop interface
with fonts size 9pt (instead default 11pt size) */
/* Text Styles */
/* default text style */
stage {
font-size: 9pt; /* 11pt */
}
/* Panel */
/* used for the app menu header only */
.panel-button {
-natural-hpadding: 4px; /* 12px */
-minimum-hpadding: 3px; /* 6px */
}
/* Search Box & Entries */
#searchEntry {
font-size: 10pt; /* 12pt */
}
/* Calendar popup */
.calendar-month-label {
font-size: 8pt; /* 9.5pt */
}
.calendar-day-base {
font-size: 7.5pt; /* 9pt */
}
.calendar-day-base:active {
font-size: 7.5pt; /* 9pt */
}
/* Application Launchers and Grid */
.icon-grid {
spacing: 24px; /* 36px */
-shell-grid-horizontal-item-size: 72px; /* 118px */
-shell-grid-vertical-item-size: 72px; /* 118px */
}
.icon-grid .overview-icon {
icon-size: 48px; /* 96px */
}
/* Modal Dialogs */
/* Dialog Subject Text Style */
.show-processes-dialog-subject,
.mount-question-dialog-subject,
.end-session-dialog-subject {
font-size: 12pt; /* 14pt */
}
/*
* Extensions
*/
/* Extension: Frippery Bottom Panel */
#bottomPanel {
border-image: url();
padding-top: 1px; /* no padding */
font-size: 9pt; /* 10.5pt */
}
.message-button {
padding-left: 20px; /* no padding */
}
.workspace-switcher {
spacing: 0px; /* 3px */
}
.workspace-button {
border-radius: 5px; /* no border-radius */
border: 0px; /* 1px */
}
.workspace-button:outlined {
border: 0px; /* 2px */
}
/* Extension: system-monitor */
.sm-temp-label {
font-size: 9px; /* 11px */
}
.sm-status-value { /* 25px */
min-width: 20px;
}
/* Extension: Weather by Neroth */
.weather-current-summary {
font-size: 12pt; /* 31px */
}
# GNOME 3.6.2
gsettings set org.gnome.desktop.default-applications.terminal exec 'gnome-terminal --geometry=96x24+0-0'
gsettings set org.gnome.desktop.default-applications.terminal exec-arg '-x'
gsettings set org.gnome.desktop.background picture-options 'none'
gsettings set org.gnome.desktop.background color-shading-type 'vertical'
gsettings set org.gnome.desktop.background primary-color '#3C78B4' # (Red: 60 Green: 120 Blue: 180)
gsettings set org.gnome.desktop.background secondary-color '#1E3C5A' # (Red: 30 Green: 60 Blue: 90)
gsettings set org.gnome.desktop.background show-desktop-icons true
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('xkb', 'ru+phonetic'), ('xkb', 'sk+qwerty')]"
gsettings set org.gnome.desktop.interface buttons-have-icons true
gsettings set org.gnome.desktop.interface menus-have-icons true
gsettings set org.gnome.desktop.interface font-name 'Cantarell 9' # Cantarell 11
gsettings set org.gnome.desktop.interface document-font-name 'Sans 9' # Sans 11
gsettings set org.gnome.desktop.interface monospace-font-name 'Monospace 9' # Monospace 11
gsettings set org.gnome.desktop.interface clock-show-date true
gsettings set org.gnome.desktop.interface clock-show-seconds true
gsettings set org.gnome.desktop.interface menubar-accel '' # disable F10
gsettings set org.gnome.desktop.screensaver lock-enabled false # disable lock screen
gsettings set org.gnome.desktop.session idle-delay 3000 # turn screen off
gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "[]" # disable Alt+F1
gsettings set org.gnome.desktop.wm.keybindings close "[]" # disable Alt+F4
gsettings set org.gnome.desktop.wm.keybindings panel-run-dialog "['<Alt>R']" # replace Alt+F2 by Alt+R
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-1 "['<Alt>F1']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-2 "['<Alt>F2']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-3 "['<Alt>F3']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['<Alt>F4']"
gsettings set org.gnome.desktop.wm.keybindings show-desktop "['<Ctrl><Alt>M']"
gsettings set org.gnome.desktop.wm.preferences num-workspaces 4
gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Cantarell Bold 9' # Cantarell Bold 11
gsettings set org.gnome.desktop.wm.preferences visual-bell true
gsettings set org.gnome.desktop.wm.preferences visual-bell-type 'frame-flash'
gsettings set org.gnome.nautilus.desktop home-icon-visible false
gsettings set org.gnome.nautilus.desktop network-icon-visible false
gsettings set org.gnome.nautilus.desktop trash-icon-visible false
gsettings set org.gnome.nautilus.preferences always-use-location-entry true
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
gsettings set org.gnome.nautilus.preferences show-image-thumbnails 'local-only'
gsettings set org.gnome.nautilus.preferences show-directory-item-counts 'local-only'
gsettings set org.gnome.settings-daemon.peripherals.keyboard input-sources-switcher 'shift-l-shift-r'
gsettings set org.gnome.settings-daemon.plugins.power button-power 'shutdown' # interactive
gsettings set org.gnome.settings-daemon.plugins.power sleep-display-ac 1800
gsettings set org.gnome.settings-daemon.plugins.power sleep-display-battery 600
gsettings set org.gnome.shell always-show-log-out true # 'Log Out' in the user menu
gsettings set org.gnome.shell.calendar show-weekdate true
gsettings set org.gnome.shell.overrides button-layout ':minimize,maximize,close'
gsettings set org.gnome.shell.overrides dynamic-workspaces false
gconftool-2 --type string --set /apps/gnome-terminal/keybindings/help "F12" # replace F1 to F12
gconftool-2 --type int --set /apps/gnome-terminal/profiles/Default/default_size_columns 96
gconftool-2 --type int --set /apps/gnome-terminal/profiles/Default/default_size_rows 24
gconftool-2 --type bool --set /apps/gnome-terminal/profiles/Default/use_custom_default_size true
# change only Palette entry 5 (Red: 45 Green: 90 Blue: 135)
gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/palette "#000000:#CC0000:#4E9A06:#C4A000:#2D5A87"
gconftool-2 --type bool --set /apps/gnome-terminal/profiles/Default/scrollback_unlimited true
gconftool-2 --type bool --set /apps/nautilus-open-terminal/desktop_opens_home_dir true
gconftool-2 --type bool --set /apps/nautilus-open-terminal/display_mc_item false
--- metacity-theme-3.xml.original 2012-04-16 18:18:42.000000000 +0200
+++ metacity-theme-3.xml 2012-05-02 17:43:37.665927577 +0200
@@ -13,6 +13,7 @@
<constant name="C_border_focused" value="blend/#000000/gtk:bg[NORMAL]/0.7" />
<constant name="C_border_unfocused" value="blend/#000000/gtk:bg[NORMAL]/0.8" />
<constant name="C_border_attached_focused" value="blend/#000000/gtk:bg[NORMAL]/0.7" />
+<constant name="C_titlebar_focused" value="blend/#000000/gtk:bg[NORMAL]/0.8" />
<constant name="C_titlebar_focused_hilight" value="gtk:custom(wm_highlight,gtk:base[NORMAL])" />
<constant name="C_titlebar_unfocused" value="blend/gtk:base[NORMAL]/gtk:bg[NORMAL]/0.4" />
<constant name="C_title_focused" value="gtk:custom(wm_title,gtk:fg[NORMAL])" />
@@ -166,10 +167,7 @@
</draw_ops>
<draw_ops name="titlebar_fill_focused">
- <gradient type="vertical" x="0" y="0" width="width" height="height">
- <color value="gtk:custom(wm_bg_a,blend/gtk:bg[NORMAL]/gtk:base[NORMAL]/0.4)" />
- <color value="gtk:custom(wm_bg_b,gtk:bg[NORMAL])" />
- </gradient>
+ <rectangle color="C_titlebar_focused" x="0" y="0" width="width" height="height" filled="true" />
</draw_ops>
@johanmynhardt
Copy link

:) Thanks for this gist! I nearly gave up on disabling Alt+F1 when I found the gist!

@jglick
Copy link

jglick commented May 23, 2012

@musinsky
Copy link
Author

More info: http://alice.saske.sk/wiki/GNOME (but mixed Slovak + English languages), I hope that help ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment