Configure Debian testing

From Ability
Jump to: navigation, search

A short list of tricks needed to fix some boring issues

Skype

Download tar.gz or deb from official website Add i386 arch if you are running a amd64 system

# sudo dpkg --add-architecture i386
# sudo apt-get update
# sudo apt-get install -f

Install package

Skype has some issues with latest pulseaudio, create a script inside /usr/bin

# cat /usr/bin/askype

#!/bin/sh

PULSE_LATENCY_MSEC=30 skype

Change the launcher cmdline in skype gnome3 launcher /usr/share/applications/skype.desktop

<< Exec=skype %U
>> Exec=askype %U

Dual Display

If you are going to use one display above the other, set the primary as the top one in order to have the possibility to move windows around.

# xrandr 
Screen 0: minimum 320 x 200, current 1920 x 2280, maximum 8192 x 8192
eDP1 connected 1920x1080+0+1200 (normal left inverted right x axis y axis) 291mm x 164mm
   1920x1080      59.9*+   59.9     40.0  
   1680x1050      60.0     59.9  
   1600x1024      60.2  
   1400x1050      60.0  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0     50.0     59.9  
   1920x1080i     60.1     50.0     60.0  
   1600x1200      60.0  
   1680x1050      59.9  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1280x720       60.0     50.0     59.9  
   1024x768       60.0  
   1440x480i      60.1     60.1  
   800x600        60.3  
   720x576        50.0  
   720x480        60.0     59.9  
   640x480        60.0     59.9  
DP1 disconnected (normal left inverted right x axis y axis)

Set the top monitor as the primary (in this case was HDMI1)

# xrandr --output HDMI1 --primary

Hp printer

Download latest driver from http://hplipopensource.com/hplip-web/downloads.html and install following website instructions


GRUB 2

Grub 2.00 has issues with RAID configurations and it won't allow anymore the boot of the system. Force the system to prevent future upgrade of the package. Last working version is 1.99-27+deb7u2

# sudo apt-mark hold grub-common
# sudo apt-mark hold grub2-common
# sudo apt-mark hold grub-pc
# sudo apt-mark hold grub-pc-bin

Show available versions of a specific package

# sudo apt-cache madison package_name