ascii image


0010101000011111101001101010000010011000
1110101110110101011011111010010010001011
0001011100011101111001010011010010111110
0000010111101001100000110011101100001000
0011000000111010001111111000100110000001
1010110110000000000001011001000110001010
0101100010101100000100000010100100010101
0001011001011101100011000101110111101110
0110010100110100111101110100110011111101
0010111100110011010010110010101111011011
0100000000001001001011000010110100101001
1101000111100000110111011100110111000010
1111110001111111101101001010000111101100
0010110000100000111011000000101100010110
0101111000011100111010000000011111101111
0010010011110010011101001000110101000101
0000000001000100001111111100111010001111

Tuesday 30 June 2015

Ubuntu 14.04 - window buttons to the right


Read this.

https://askubuntu.com/a/451330

sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install gnome-session-flashback

log out, and select gnome flashback as the Desktop

now run this

gsettings set org.gnome.desktop.wm.preferences button-layout 'menu:minimize,maximize,close' 

a bit more saner :)

Changing Ubuntu 14.04 scroll bar colors


Install  gnome-tweak-tool, this will sort out Firefox etc.

$ sudo apt-get install gnome-tweak-tool

Next fix GTK 3.0

Make sure you pick the right theme :)  current as of June 2015

$ sudo gedit /usr/share/themes/Ambiance/gtk-3.0/gtk-widgets.css


Add the stepper buttons

/* search for the stepper and change the size */

-GtkRange-stepper-size: 20;   /* was 13 */

/* enable the stepper */

/*************
 * scrollbar *
 *************/
.scrollbar,
.scrollbar.vertical {
    -GtkScrollbar-has-backward-stepper: 1;   /* 1 = enable */
    -GtkScrollbar-has-forward-stepper: 1;
    -GtkRange-slider-width: 20;   /* change width, was 13 */




/* change the colors */

/* VERTICAL */

.scrollbar.slider,
.scrollbar.slider:hover,
.scrollbar.button,
.scrollbar.slider.vertical,
.scrollbar.slider.vertical:hover,
.scrollbar.button.vertical {
    border-width: 1px;
    border-style: solid;
    border-color: shade (@bg_color, 0.86);
    background-image: -gtk-gradient (linear, left top, right top,
                                     from (shade (#00BFFF, 1.08)),   /* was @button_bg_color */
                                     color-stop (0.5, #00BFFF),      /* was @button_bg_color */
                                     to (shade (#00BFFF, 0.94)));    /* was @button_bg_color */



/* HORIZONTAL */

.scrollbar.slider.horizontal,
.scrollbar.slider.horizontal:hover,
.scrollbar.button.horizontal {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (#00BFFF, 1.08)),    /* was @button_bg_color */
                                     color-stop (0.5, #00BFFF),       /* was @button_bg_color */
                                     to (shade (#00BFFF, 0.94)));     /* was @button_bg_color */