User Tools

Site Tools


debian

Debian

Installation

Asus Zenbook setup (Debian 9.0)

iwlwifi
  1. Get microcode from Intel. iwlwifi-7265D-26.ucode seems to work.
  2. copy to /lib/firmware
  3. install firmware-iwlwifi package from non-free
touchpad
  1. Switch back to synaptics driver: Debian wiki
intel backlight

Install xbacklight

edit /etc/X11/xorg.conf.d/10-backlight.conf

Section "Device"
  Identifier "Card0"
  Driver "intel"
  Option "Backlight" "intel_backlight"
EndSection

Set keyboard shortcuts to “xbacklight -inc 5” for Shift+f6 and “xbacklight -dec 5” for Shift+f5

Configuration

Install package openjdk-8-jre

update-alternatives --config java

Software

  • vim
  • gdebi
  • chrome
  • gvfs-fuse
  • gvfs-backends
  • inkscape
  • apt-xapian-index
  • fonts-horai-umefont
  • ibus-anthy
  • flashplugin-nonfree
  • audacity
  • transmission

Audio

alsamixer
alsactl store

Sudo

apt-get install sudo
usermod -a -G sudo kououken  

Touchpad

  1. Uncheck “Disable touchpad while typing”
  2. Run a new command under autostart:
    • syndaemon -i .5 -K -t -R -d

Legacy Japanese ZIP File Extraction

To add Shift-JIS locale:

<file txt /etc/locale-gen> … ja_JP.SJIS SHIFT-JIS …

sudo locale-gen

To extract and convert zip contents, first place the file in its own directory, then run:

LANG=ja_JP
7z x somefile.zip

Or, to extract multiple files:

find . -name "*.zip" -type f| xarge -I {} 7z {}

To convert the extracted contents:

convmv -r --notest -f shift-jis -t utf8 *

Convert text file contents:

iconv -f shift-jis -t utf-8 somefile.txt > somefile-utf8.txt

EXIF photo sorting

exiftool -r -d ~/output_dir/%Y/%m/%d/%%f.%%e "-filename<filemodifydate" ~/input_dir/

Shockwave Flash SWF Mime Type

/usr/share/mime/packages/freedesktop.org.xml

Replace:

<mime-type type="application/vnd.adobe.flash.movie">

With:

<mime-type type="application/x-shockwave-flash">

Run:

sudo update-mime-database /usr/share/mime

IWLWIFI Bug

The root cause is described in this blog post It seems that there are some bugs in the Intel iwlwifi driver for 802.11N protocol for the kernel/firmware versions 3.13.0-45-generic/22.24.8.0. The temporary solution it is to disable 802.11N which is an work-around until the issue will be fixed. That means that I will not use the full capacity of the 7265 controller, which will be limited to 54MBs.

sudo sh -c 'echo "options iwlwifi 11n_disable=1" >> /etc/modprobe.d/iwlwifi.conf'

Software

vim config

syntax on
filetype plugin indent on
set tabstop=4
set shiftwidth=4
set expandtab
set background=dark
debian.txt · Last modified: 2022/04/03 15:01 by kououken