Additional Tweaks - ntpeters/genesis GitHub Wiki
Manual tweaks not included in the automated scripts.
##GTK Theme Tweaks Tweaks for theming GTK.
###Per-Application GTK Themes
Execute an application by prepending the command with setting the GTK_THEME
environment variable.
For example, to change the theme only for this instance of gedit
:
GTK_THEME=Adwaita gedit
This will only reset the GTK_THEME
in for this instance, not globally. As such, this approach can
be taken to set different themes for applications that may not play well with your default theme.
Source: Running GTK+ Applications | Different Themes Per App
###Fix GTK2 Dark Theme
Copy the gtk-2.0
folder from the desired theme to your current theme folder:
mv /usr/local/share/themes/$CUR_THEME/gtk-2.0 /usr/local/share/themes/$CUR_THEME/gtk-2.0_backup
cp -r /usr/local/share/themes/$SEL_THEME/gtk-2.0 /usr/local/share/themes/$CUR_THEME
Where CUR_THEME
is the current theme in use, and SEL_THEME
is your selected theme to use for GTK2.
###GTK2 Dark Themes
##Gnome Tweaks Tweaks for the Gnome Shell
###Disable Gnome Animations
Open dconf
(Desktop Configuration Editor).
Set the following key to false: `org.gnome.desktop.interface enable-animations
###Show Application on All Workspaces
- Install the Auto move windows shell extension
- Open
dconf
editor and navigate to schema:org.gnome.shell.extensions.auto-move-windows
- Add to the key
application-list
:<path-to-app-desktopfile>:0
(where "path-to-app-desktopfile" is the path to the menu entry.desktop
file for the desired application)
OR
wmctrl -r <app-window> -t -1
##Fix Lid Close Suspend
In /etc/systemd/logind.conf
uncomment/add the following line:
HandleLidSwitch=suspend
##Fix Nvidia Graphics Corruption On Wake
Alt+F2 => r => Return
OR
gnome-shell --display=:0 --replace
###Automate
Add script to directory:
/etc/systemd/system-sleep/
Script Contents:
[ “$1” = “post” ] && gnome-shell --display=:0 –replace
Issues: Currently causes gnome-shell
to crash. Unsure of the cause.
##Fix Launcher Shortcuts (IntelliJ/Android Studio)
- Install Oracle JDK
- Set environment variables (also set in
.bashrc
, regardless of default shell):
export JRE_HOME=/usr/java/latest/jre
export JDK_HOME=/usr/java/latest
export JAVA_HOME=/usr/java/latest
export PATH=$JAVA_HOME/bin:$PATH
export PATH=<intellij-path>/bin:$PATH
export PATH=<android-studio-path>/bin:$PATH
- Run IntelliJ/Android Studio => Configure => Create Desktop Entry (current user)
- Open the desktop entry file:
~/.local/share/applications/jetbrains-idea.desktop
~/.local/share/applications/jetbrains-android-studio.desktop
- Prepend
bash -i
to theExec
line - Make the desktop entry executable:
chmod +x jetbrains-idea.desktop
chmod +x jetbrains-android-studio.desktop
- (Optional) On the
Icon
line, replace the page withidea
orandroidstudio
to use the current themes icon instead.
##Google Chrome Tweaks Various performance and experience tweaks for Google Chrome
###Flags
Open chrome://flags
in Chrome, and modify the following settings:
Enable fast tab/window close = Enabled
Smooth Scrolling = Enabled
Overlay Scrollbars = Enabled
Enable SPDY/4 = Enabled
Enable Encrypted Media Extensions = Enabled
Enable Download Resumption = Enabled
Enable the stale-while-revalidate cache directive = Enabled
LCD text antialiasing = Enabled
Maximum tiles for interest area = 512
Enable TCP Fast Open = Enabled
Enable the new avatar menu = Enabled
Enable Google profile name and icon = Enabled
Enable out of process PDF = Enabled
Enable tab audio muting UI control = Enabled
Enable Plugin Power Save = Enabled
###Extensions This is a list of only extensions that help improve Chrome performance:
Adblock Plus - Blocks unnecessary adds on websites.
FlashControl - Blocks all Flash content on a webpage. Elements can be re-activated upon click.
The Great Suspender - Suspends unused tabs in the background to free resources.
###Launcher Parameters Parameters to pass to Chrome when launched:
--process-per-site - Combines multiple loaded pages from the same website under a single thread.
###Omnibox Redirects to Google
- Settings => Manage Search Engines
- Add new search engine with definition:
https://www.google.com/search?q=%s
###Unable to Update Chrome (No PGP Key Installed)
sudo rpm --import https://dl-ssl.google.com/linux/linux_signing_key.pub
-
Install:
pulseaudio-module-bluetooth
-
Update/create
/etc/bluetooth/audio.conf
:
[General]
Enable=Source,Sink,Headset,Gateway,Control,Media
Disable=Socket
HFP=fals
[A2DP]
SBCSources=1
MPEG12Sources=0
-
Pair bluetooth device with computer.
-
Ensure the Avahi Daemon is running:
systemctl start avahi-daemon
-
Restart bluetooth service to reconnect to Avahi:
systemctl restart bluetooth
-
Reconnect bluetooth device to computer.
-
Find bluetooth device (note the device index for the next step):
pactl list cards short
-
Enable A2DP profile:
pactl set-card-profile <device_index> a2dp_sink
-
Select bluetooth device as sound output device.