Ubuntu1310

sketch > ubuntu1310

the following package has been installed on ubuntu 13.10:

Enable time on top bar:

$ killall unity-panel-service

Speed indicator on top bar

sudo apt-get install dconf-editor

sudo apt-get install indicator-multiload

apps->indicators->multiload->general
indicator-expression-index 0
indicator-expressions ['↓ $(speed(net.down)),↑ $(speed(net.up))']

Keyboard indicator on top bar

To show the keyboard indicator:
text-entry, add languages (+ sign), hungarian, english

Weather indicator on top bar

sudo apt-get install my-weather-indicator
/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator

Remove Ubuntu SPAM

Prior 14.04:

sudo apt-get purge unity-lens-shopping

From 14.04 (also 14.10):

sudo apt-get purge unity-webapps-common

Enable workspace

Settings -> Appearance -> Behavior -> Enable workspaces

dconf-editor
org->compiz->profiles->unity->plugins->core

http://askubuntu.com/questions/260510/how-do-i-turn-on-workspaces-why-do-i-only-have-one-workspace

Different wallpaper for each workspace

$ ccsm
# Enable wallpaper
# In wallpaper add images for each background. Enable image plugin when asked.

Desktop icons will disappear sadly (no solution for this, apart of having the same background)
From here: http://ubuntuhandbook.org/index.php/2014/04/ubuntu-14-04-set-different-wallpaper-for-each-workspace/

Powerbutton to suspend instead of power off

(from here:

$ sudo vi /etc/systemd/logind.conf 
HandlePowerKey=suspend

Suspend instead of shutdown for power button (from here):

dconf-editor
org->gnome->settings-daemon->plugins->power
button-power: suspend
critical-battery-action: suspend
percentage-action: 10
percentage-critical: 15
percentage-low: 20

apps->indicator-session
(no need to touch)

Ubuntu oneconf kills battery life.
Impossible to remove, because it also removes software-center

sudo chmod a-x /usr/share/oneconf/oneconf-service
sudo chmod a-x /usr/share/oneconf/oneconf-query
sudo chmod a-x /usr/share/oneconf/oneconf-update

Freecad:

sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
sudo apt-get update
sudo apt-get install freecad freecad-doc
sudo apt-get install python-pyside
sudo apt-get install python3-pyside

sudo apt-get install indicator-cpufreq

To add openscad:

sudo add-apt-repository ppa:chrysn/openscad
sudo apt-get update
sudo apt-get install openscad

To fix weak wifi:

sudo rmmod iwlwifi
sudo rmmod iwlvdm
sudo vi /etc/modprobe.d/iwlwifi.conf 
# /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system.  When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

options iwlwifi 11n_disable=1

To add enlightenment terminology:

drawer to unity launcher:

sudo add-apt-repository ppa:ian-berke/ppa-drawers

Touchpad:

# to disable taps (only enable for click)
synclient TapButton1=0
synclient TapButton2=0
synclient TapButton3=0

# enable leftclick, rightclick, middle click
# ClickPad=0 required for ClickFinger2 to work
synclient ClickPad=0
synclient ClickFinger1=1
synclient ClickFinger2=3
synclient ClickFinger3=2

# to palm detection (test on VT console with evtest)
# MinZ is PRESSURE, width is TOOL_WIDTH
synclient PalmMinZ=50
synclient PalmMinWidth=5
synclient PalmDetect=1

$ cat /etc/X11/xorg.conf 
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
# ###############
#
# Hope it is the right config snippet. 
# From here: http://fedoraproject.org/wiki/Input_device_configuration
# Distro default dir: /usr/share/X11/xorg.conf.d
# Custom config snippets may be provided by programs, distros: /etc/X11/xorg.conf./d
# Users encouraged to put their mods into /etc/X11/xorg.conf single file.

Section "InputClass"
        Identifier "Samsung clickpad"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "0"
        Option "TapButton2" "0"
        Option "TapButton3" "0"

        # enable leftclick, rightclick, middle click
        # Clickpad=0 required for ClickFinger2 to work
        Option "ClickPad" "0"
        Option "ClickFinger1" "1"
        Option "ClickFinger2" "3"
        Option "ClickFinger3" "2"

        # to palm detection (test on VT console with evtest)
        # MinZ is PRESSURE, width is TOOL_WIDTH
        Option "PalmMinZ" "50"
        Option "PalmMinWidth" "5"
        Option "PalmDetect" "1"

        # Disable Edge scrolling, when we already have 
        # two finger scrolling
        Option "VertEdgeScroll" "0"

        # options to test: SoftButtonAreas, AreaBottomEdge
EndSection

in /var/log/Xorg.0.log

[  7998.680] (II) synaptics: ETPS/2 Elantech Touchpad: found clickpad property
[  7998.680] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 0 - 3260 (res 32)
[  7998.680] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 0 - 2282 (res 32)
[  7998.680] (--) synaptics: ETPS/2 Elantech Touchpad: pressure range 0 - 255
[  7998.680] (--) synaptics: ETPS/2 Elantech Touchpad: finger width range 0 - 15
[  7998.680] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left double triple
[  7998.680] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
[  7998.680] (**) Option "ClickPad" "0"
...

Stop gnome-settings-daemon touching the synclient settings:

  1. Run dconf-editor
  2. Edit /org/gnome/settings-daemon/plugins/mouse/ (or /org/cinnamon/settings-daemon/plugins/mouse/ for cinnamon)
  3. Uncheck the active setting

(from here)

Touchpad will be separated into this subpage,
I think I now have an overview of the currect state of software mess under linux.

Stop HUD displaying at Alt_L key

(from here):
system settings -> keyboard -> shortcuts -> launchers
(I can only disable it, unable to set new key kombo)

Nautilus open in terminal

sudo apt-get install nautilus-open-terminal

sublime 3 text editor

my weather indicator:

sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install my-weather-indicator

sudo add-apt-repository ppa:jconti/recent-notifications
sudo apt-get update
sudo apt-get install indicator-notifications

sudo apt-get install diodon diodon-plugins

sudo add-apt-repository ppa:tsbarnes/indicator-keylock
sudo apt-get update
sudo apt-get install indicator-keylock

sudo add-apt-repository ppa:noobslab/indicators
sudo apt-get update
sudo apt-get install indicator-brightness

ipython

sudo apt-get install ipython

Youtube without flash:

sudo apt-get install x264
sudo apt-get install gstreamer0.10-ffmpeg

Alt-tab

>sudo apt-get install compizconfig-settings-manager
>sudo apt-get install compiz-plugins
>
>Open compizconfig-settings-manager with alt-F2, type ccsm.
>
>Scroll down to "Ubuntu Unity Plugin". Choose the tab "Switcher". Disable the alt-tab and shift-alt-tab key bindings. ("Key to start the switcher" and "Key to switch to the previous window in the Switcher".
>Click the "Back" button.

>Scroll down to the "Window management" section. Here you can select another switcher.
I enable the "Static Application Switcher", resolve any potential conflicts by setting the setting for "Static Application Switcher".
Now you can tweak the switcher by clicking on it. I have changed alt-tab and shift-alt-tab to "Next window (All windows)" and "Prev window (All windows)".

Experiment to find the settings that work best for you. It you want to go back to the poriginal settings, simply disable the Static Application Switcher and enable the key bindings in "Ubuntu Unity Plugin" >again.
>
>Hope someone find this helpful.

forras

Firefox

layout.css.devPixelsPerPx -1.0 -> +1.40
(es mindent nagyit a guiban)

Upgrade to ubuntu 14.10 (october 9)

sudo apt-get update
sudo apt-get dist-upgrade
sudo update-manager -d

Xorg.conf update, system-wide 143dpi

cd /etc/X11
sudo mkdir xorg.conf.d
sudo mv xorg.conf xorg.conf.d; cd xorg.conf.d
cat xorg.conf
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
# ###############
#
# Hope it is the right config snippet. 
# From here: http://fedoraproject.org/wiki/Input_device_configuration
# Distro default dir: /usr/share/X11/xorg.conf.d
# Custom config snippets may be provided by programs, distros: /etc/X11/xorg.conf./d
# Users encouraged to put their mods into /etc/X11/xorg.conf single file.

Section "InputClass"
        Identifier "Samsung clickpad"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "0"
        Option "TapButton2" "0"
        Option "TapButton3" "0"

        # enable leftclick, rightclick, middle click
        # Clickpad=0 required for ClickFinger2 to work
        Option "ClickPad" "0"
        Option "ClickFinger1" "1"
        Option "ClickFinger2" "3"
        Option "ClickFinger3" "2"

        # to palm detection (test on VT console with evtest)
        # MinZ is PRESSURE, width is TOOL_WIDTH
        Option "PalmMinZ" "50"
        Option "PalmMinWidth" "5"
        Option "PalmDetect" "1"

        # options to test: SoftButtonAreas, AreaBottomEdge
EndSection

# xdpyinfo | grep -B2 resolution
# https://wiki.archlinux.org/index.php/xorg#Display_size_and_DPI
Section "Monitor"
    Identifier             "<default monitor>"
    DisplaySize             345 195    # In millimeters
EndSection

Installed atom.io 0.136

https://github.com/atom/atom/releases/tag/v0.136.0

Installed chromium

sudo apt-get install chromium-browser
chromium-browser --enable_hidpi=1
chromium-browser --force-device-scale-factor=1.4

Webgl is disabled in chromium, workaround

cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
LIBGL_DRI3_DISABLE=1

Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757435

Touchpad gestures

http://askubuntu.com/questions/57586/how-can-i-disable-arbitrary-default-multitouch-gestures-in-unity

https://code.google.com/p/touchegg/

http://askubuntu.com/questions/57586/how-can-i-disable-arbitrary-default-multitouch-gestures-in-unity/205045#205045

https://code.google.com/p/touchegg/issues/detail?id=247

Ubuntu launcher to the right side

It is broken on purpose.
See here: https://bugs.launchpad.net/unity/+bug/668415?comments=all

It is a real shame, and after reading the whole bug, all the comments,
I can't simply find the words how brainfucked the person in charge is.

Fix Critical battery level

dconf-editor
org -> gnome -> settings-daemon -> plugins -> power
percentage-action 8
percentage-critical 10
percentage-low 18
use-time-for-policy FALSE

http://askubuntu.com/questions/92794/how-to-change-critically-low-battery-value

Fix backlight issue

$ vi /etc/default/grub
in line 11:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video.use_native_backlight=0"

sudo echo "10" > /sys/class/acpi_video0/brightness

Bugreport added:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1380824
Upstream bug:
https://bugzilla.kernel.org/show_bug.cgi?id=84561

http://forum.notebookreview.com/samsung/762595-samsung-series-7-np700z5c-s03ca-my-last-hope.html
Other non-working variations

# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video.use_native_backlight=1"
# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux acpi_backlight=vendor"
# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video.use_bios_initial_backlight=0"
# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=Linux"
# $ update-grub

Software only resolution:

xrandr --output LVDS-0 --brightness 0.5

Disable META (Windows) key to show the Dash

ccsm -> Ubuntu Unity plugin -> Launcher -> 
Key to show the Dash, Launcher and Help overlay
<Super> -> <Super>+<Alt>

http://askubuntu.com/questions/122209/how-do-i-modify-or-disable-the-huds-use-of-the-alt-key

BIOS update

WinPE:
http://www.sevenforums.com/backup-restore/229409-macrium-winpe-iso-download.html

Samsung thread:
http://forum.notebookreview.com/samsung/696197-samsung-laptops-roll-back-bios-updates.html

Bios downloader (shell script):
https://github.com/YKonovalov/bios-downloader

$ wine ITEM_20140512_21365_WIN_P05ADH.exe
# DON'T hit on OK, but open this folder:
/home/USERNAME/.wine/drive_c/users/USERNAME/Temp
# HIT on OK
# and copy the content from the above dir:
107K AFUEMMC.exe
 52K AFUEMMC.exe.gz
296K AFUWIN.exe
119K AFUWIN.exe.gz
362K afuwinx64.exe
139K afuwinx64.exe.gz
 15K amifldrv32.sys
7,8K amifldrv32.sys.gz
 16K amifldrv64.sys
8,8K amifldrv64.sys.gz
9,0K ChangePwrPolicy.exe
4,2K ChangePwrPolicy.exe.gz
8,0K ChangePwrPolicyXp.exe
3,6K ChangePwrPolicyXp.exe.gz
1,6K DebugAppLog.txt
751K msvcr100.dll
402K msvcr100.dll.gz
4,0M P05ADH.CAP
2,5M P05ADH.CAP.gz
 16K SBIOSIO32.sys
8,3K SBIOSIO32.sys.gz
 18K SBIOSIO64.sys
8,8K SBIOSIO64.sys.gz

# delete the gziped files, we don't need them
$ rm *.gz
$ ls -lh
107K AFUEMMC.exe
296K AFUWIN.exe
362K afuwinx64.exe
 15K amifldrv32.sys
 16K amifldrv64.sys
9,0K ChangePwrPolicy.exe
8,0K ChangePwrPolicyXp.exe
1,6K DebugAppLog.txt
751K msvcr100.dll
4,0M P05ADH.CAP
 16K SBIOSIO32.sys
 18K SBIOSIO64.sys

http://forum.notebookreview.com/samsung/696197-samsung-laptops-roll-back-bios-updates-24.html#post9801197
http://forum.notebookreview.com/samsung/762595-samsung-series-7-np700z5c-s03ca-my-last-hope.html
http://windowsmatters.com/2014/01/03/updated-win8pe-includes-x86-x64-versions/
http://forum.notebookreview.com/samsung/762238-how-unbrick-samsung-laptop-after-win-8-1-upgrade.html#post9785966
http://forum.notebookreview.com/samsung/762595-samsung-series-7-np700z5c-s03ca-my-last-hope.html#7
http://forum.notebookreview.com/samsung/696197-samsung-laptops-roll-back-bios-updates-24.html
http://www.sevenforums.com/backup-restore/229409-macrium-winpe-iso-download.html

Upgrade from 12.04 -> 14.04

First option is go HERE choose your country etc. and mark your version of Ubuntu as 14.04.
http://repogen.simplylinux.ch/

# Then paste generated list into (backup first!) 
gedit /etc/apt/sources.list 
sudo apt-get update; sudo apt-get upgrade -y 
do-release-upgrade
sudo apt-get update
sudo apt-get dist-upgrade

# It's highly possible that you also have to repair grub after that. 
# And to do that you will need bootable CD or USB

Prevent new window open behind others

$ ccsm
ettings Manager > General > General Options > Focus and Raise Behaviour > Focus Prevention Level > OFF

http://askubuntu.com/questions/165908/unity-nautilus-folder-opens-in-background

Selected tab in terminal should be more prominent color

cat ~/.config/gtk-3.0/gtk.css 
TerminalWindow .notebook tab {
    background-color: #8a5675;
}

TerminalWindow .notebook tab:active {
    background-color: #f2f1f0;
}

http://askubuntu.com/questions/40332/how-to-make-selected-tab-in-terminal-more-prominent

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-NoDerivs 3.0 License