Skip to content

Instantly share code, notes, and snippets.

@dgk
Created March 4, 2020 09:07
Show Gist options
  • Save dgk/60fe4c4bca8b1ce1b611f4f4be6a3f13 to your computer and use it in GitHub Desktop.
Save dgk/60fe4c4bca8b1ce1b611f4f4be6a3f13 to your computer and use it in GitHub Desktop.
# disable window move with alt + left mouse button
# https://askubuntu.com/questions/270032/how-do-i-disable-window-move-with-alt-left-mouse-button-in-xubuntu
xfconf-query -c xfwm4 -p /general/easy_click -s none
# scrollbar size
# https://forum.xfce.org/viewtopic.php?id=12271
cat > ~/.config/gtk-3.0/gtk.css <<EOF
scrollbar.vertical slider {
min-width: 20px;
}
scrollbar.horizontal slider {
min-height: 20px;
}
EOF
cat > ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-panel" version="1.0">
<property name="panels" type="uint" value="1">
<property name="panel-0" type="empty">
<property name="position" type="string" value="p=6;x=0;y=0"/>
<property name="length" type="uint" value="100"/>
<property name="position-locked" type="bool" value="true"/>
<property name="plugin-ids" type="array">
<value type="int" value="1"/>
<value type="int" value="13"/>
<value type="int" value="2"/>
<value type="int" value="3"/>
<value type="int" value="4"/>
<value type="int" value="5"/>
<value type="int" value="6"/>
<value type="int" value="7"/>
<value type="int" value="8"/>
<value type="int" value="9"/>
<value type="int" value="10"/>
<value type="int" value="11"/>
<value type="int" value="14"/>
<value type="int" value="15"/>
<value type="int" value="16"/>
</property>
<property name="background-style" type="uint" value="0"/>
<property name="background-alpha" type="uint" value="80"/>
<property name="size" type="uint" value="29"/>
<property name="length-adjust" type="bool" value="true"/>
<property name="span-monitors" type="bool" value="false"/>
<property name="enter-opacity" type="uint" value="100"/>
<property name="leave-opacity" type="uint" value="100"/>
<property name="mode" type="uint" value="0"/>
<property name="autohide-behavior" type="uint" value="0"/>
</property>
</property>
<property name="plugins" type="empty">
<property name="plugin-1" type="string" value="whiskermenu"/>
<property name="plugin-2" type="string" value="tasklist">
<property name="flat-buttons" type="bool" value="true"/>
</property>
<property name="plugin-3" type="string" value="separator">
<property name="style" type="uint" value="0"/>
<property name="expand" type="bool" value="true"/>
</property>
<property name="plugin-4" type="string" value="systray">
<property name="show-frame" type="bool" value="false"/>
<property name="size-max" type="uint" value="22"/>
<property name="names-visible" type="array">
<value type="string" value="networkmanager applet"/>
<value type="string" value="blueman-applet"/>
</property>
</property>
<property name="plugin-5" type="string" value="notification-plugin"/>
<property name="plugin-6" type="string" value="indicator">
<property name="blacklist" type="array">
<value type="string" value="libappmenu.so"/>
</property>
<property name="known-indicators" type="array">
<value type="string" value="com.canonical.indicator.messages"/>
</property>
</property>
<property name="plugin-7" type="string" value="statusnotifier">
<property name="icon-size" type="uint" value="22"/>
<property name="menu-is-primary" type="bool" value="true"/>
<property name="mode-whitelist" type="bool" value="false"/>
<property name="single-row" type="bool" value="false"/>
<property name="square-icons" type="bool" value="false"/>
<property name="symbolic-icons" type="bool" value="true"/>
<property name="known-items" type="array">
<value type="string" value="Toolbox"/>
<value type="string" value="nm-applet"/>
</property>
</property>
<property name="plugin-8" type="string" value="power-manager-plugin"/>
<property name="plugin-9" type="string" value="pulseaudio">
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
<property name="enable-mpris" type="bool" value="true"/>
<property name="mixer-command" type="string" value="pavucontrol"/>
<property name="mpris-players" type="string" value="parole"/>
<property name="show-notifications" type="bool" value="true"/>
</property>
<property name="plugin-10" type="string" value="separator">
<property name="style" type="uint" value="0"/>
<property name="expand" type="bool" value="false"/>
</property>
<property name="plugin-11" type="string" value="clock">
<property name="digital-format" type="string" value="%d %b, %H:%M"/>
</property>
<property name="plugin-13" type="string" value="launcher">
<property name="items" type="array">
<value type="string" value="15825465131.desktop"/>
<value type="string" value="15825715543.desktop"/>
<value type="string" value="15825715624.desktop"/>
<value type="string" value="15825715695.desktop"/>
<value type="string" value="15833097391.desktop"/>
<value type="string" value="15825471622.desktop"/>
</property>
</property>
<property name="plugin-14" type="string" value="xfce4-notes-plugin"/>
<property name="plugin-15" type="string" value="xkb"/>
<property name="plugin-16" type="string" value="systemload"/>
</property>
<property name="configver" type="int" value="2"/>
</channel>
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment