Skip to content

Instantly share code, notes, and snippets.

@THS-on
Last active February 25, 2017 16:18
Show Gist options
  • Save THS-on/782ad953d110ca4a5ea42aed6b5915b1 to your computer and use it in GitHub Desktop.
Save THS-on/782ad953d110ca4a5ea42aed6b5915b1 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Created by THS
# Support for LXDE, Mate, Gnome, Cinnamon and XFCE
# Uses https://github.com/horst3180/arc-theme and https://github.com/dglava/arc-openbox
# Install arc-theme will be replaced in Debian 9
echo "Install Arc Theme"
echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0/ /' | sudo tee /etc/apt/sources.list.d/arc-theme.list
wget http://download.opensuse.org/repositories/home:Horst3180/Debian_8.0/Release.key
sudo apt-key add - < Release.key
rm Release.key
sudo apt-get update
sudo apt-get install arc-theme -qq
# Install Openbox Theme
wget https://github.com/dglava/arc-openbox/archive/master.zip
unzip master.zip
sudo cp -r arc-openbox-master/Arc/openbox-3 /usr/share/themes/Arc/
rm -r arc-openbox-master
rm master.zip
# Gnome Settings
gsettings set org.gnome.desktop.interface gtk-theme "Arc"
gsettings set org.gnome.desktop.wm.preferences theme "Arc"
gsettings set org.gnome.shell enabled-extensions "['[email protected]', '[email protected]', '[email protected]', '[email protected]']"
gsettings set org.gnome.shell.extensions.user-theme name "Arc"
# Mate Settings
gsettings set org.mate.interface gtk-theme "Arc"
gsettings set org.mate.Marco.general theme "Arc"
# Cinnamon
gsettings set org.cinnamon.desktop.interface gtk-theme "Arc"
gsettings set org.cinnamon.theme name "Arc"
gsettings set org.cinnamon.desktop.wm.preferences theme "Arc"
# LXDE Settings
sudo sed -ie 's/Clearlooks/Arc/g' /etc/xdg/lxsession/LXDE/desktop.conf
sudo sed -ie 's/Onyx/Arc/g' /etc/xdg/openbox/LXDE/rc.xml
# XFCE
sudo sed -ie 's/Xfce/Arc/g' /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
sudo wget "https://gist.githubusercontent.com/THS-on/782ad953d110ca4a5ea42aed6b5915b1/raw/f24f7a83656324d30e8f53238df3c01c8d22ceb6/xfwm4.xml" -O /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfwm4" version="1.0">
<property name="general" type="empty">
<property name="activate_action" type="string" value="bring"/>
<property name="borderless_maximize" type="bool" value="true"/>
<property name="box_move" type="bool" value="false"/>
<property name="box_resize" type="bool" value="false"/>
<property name="button_layout" type="string" value="O|SHMC"/>
<property name="button_offset" type="int" value="0"/>
<property name="button_spacing" type="int" value="0"/>
<property name="click_to_focus" type="bool" value="true"/>
<property name="focus_delay" type="int" value="250"/>
<property name="cycle_apps_only" type="bool" value="false"/>
<property name="cycle_draw_frame" type="bool" value="true"/>
<property name="cycle_hidden" type="bool" value="true"/>
<property name="cycle_minimum" type="bool" value="true"/>
<property name="cycle_workspaces" type="bool" value="false"/>
<property name="double_click_time" type="int" value="250"/>
<property name="double_click_distance" type="int" value="5"/>
<property name="double_click_action" type="string" value="maximize"/>
<property name="easy_click" type="string" value="Alt"/>
<property name="focus_hint" type="bool" value="true"/>
<property name="focus_new" type="bool" value="true"/>
<property name="frame_opacity" type="int" value="100"/>
<property name="full_width_title" type="bool" value="true"/>
<property name="inactive_opacity" type="int" value="100"/>
<property name="maximized_offset" type="int" value="0"/>
<property name="move_opacity" type="int" value="100"/>
<property name="placement_ratio" type="int" value="20"/>
<property name="placement_mode" type="string" value="center"/>
<property name="popup_opacity" type="int" value="100"/>
<property name="mousewheel_rollup" type="bool" value="true"/>
<property name="prevent_focus_stealing" type="bool" value="false"/>
<property name="raise_delay" type="int" value="250"/>
<property name="raise_on_click" type="bool" value="true"/>
<property name="raise_on_focus" type="bool" value="false"/>
<property name="raise_with_any_button" type="bool" value="true"/>
<property name="repeat_urgent_blink" type="bool" value="false"/>
<property name="resize_opacity" type="int" value="100"/>
<property name="restore_on_move" type="bool" value="true"/>
<property name="scroll_workspaces" type="bool" value="true"/>
<property name="shadow_delta_height" type="int" value="0"/>
<property name="shadow_delta_width" type="int" value="0"/>
<property name="shadow_delta_x" type="int" value="0"/>
<property name="shadow_delta_y" type="int" value="-3"/>
<property name="shadow_opacity" type="int" value="50"/>
<property name="show_app_icon" type="bool" value="false"/>
<property name="show_dock_shadow" type="bool" value="true"/>
<property name="show_frame_shadow" type="bool" value="false"/>
<property name="show_popup_shadow" type="bool" value="false"/>
<property name="snap_resist" type="bool" value="false"/>
<property name="snap_to_border" type="bool" value="true"/>
<property name="snap_to_windows" type="bool" value="false"/>
<property name="snap_width" type="int" value="10"/>
<property name="theme" type="string" value="Arc"/>
<property name="tile_on_move" type="bool" value="true"/>
<property name="title_alignment" type="string" value="center"/>
<property name="title_font" type="string" value="Sans Bold 9"/>
<property name="title_horizontal_offset" type="int" value="0"/>
<property name="title_shadow_active" type="string" value="false"/>
<property name="title_shadow_inactive" type="string" value="false"/>
<property name="title_vertical_offset_active" type="int" value="0"/>
<property name="title_vertical_offset_inactive" type="int" value="0"/>
<property name="toggle_workspaces" type="bool" value="false"/>
<property name="unredirect_overlays" type="bool" value="true"/>
<property name="urgent_blink" type="bool" value="false"/>
<property name="use_compositing" type="bool" value="false"/>
<property name="workspace_count" type="int" value="4"/>
<property name="wrap_cycle" type="bool" value="true"/>
<property name="wrap_layout" type="bool" value="true"/>
<property name="wrap_resistance" type="int" value="10"/>
<property name="wrap_windows" type="bool" value="true"/>
<property name="wrap_workspaces" type="bool" value="false"/>
<property name="workspace_names" type="array">
<value type="string" value="Arbeitsfläche 1"/>
<value type="string" value="Arbeitsfläche 2"/>
<value type="string" value="Arbeitsfläche 3"/>
<value type="string" value="Arbeitsfläche 4"/>
</property>
</property>
</channel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment