月別アーカイブ: 2015年10月

Japanese environment setting jessie

1. Japanese input is realized through: uim anthy

2.  Japanese in the program ( e.g. BM ) is partly English (probably in the gtk+ library).

3.  Reconfigure locales:

#dpkg-reconfigure locales;

Select  “ja_JP.UTF-8;

root@debian-yu:/home/kiyoshi# locale
LANG=ja_JP.UTF-8
LANGUAGE=
LC_CTYPE=”ja_JP.UTF-8″
LC_NUMERIC=”ja_JP.UTF-8″
LC_TIME=”ja_JP.UTF-8″
LC_COLLATE=”ja_JP.UTF-8″
LC_MONETARY=”ja_JP.UTF-8″
LC_MESSAGES=”ja_JP.UTF-8″
LC_PAPER=”ja_JP.UTF-8″
LC_NAME=”ja_JP.UTF-8″
LC_ADDRESS=”ja_JP.UTF-8″
LC_TELEPHONE=”ja_JP.UTF-8″
LC_MEASUREMENT=”ja_JP.UTF-8″
LC_IDENTIFICATION=”ja_JP.UTF-8”
LC_ALL=
4. Even the program already compiled in “en_US.UTF-8”  ( e.g. BM ) exhibited Japanese label correctly, but all the system run in Japanese.

xfce menu customization

mkdir ${XDG_CONFIG_HOME:-~/.config}/menus/

cp $prefix/etc/xdg/menus/xfce-applications.menu ${XDG_CONFIG_HOME:-~/.config}/menus

Did not proceed successfully.

But more easily:

some textfile > right click > open with other editor > select whichever you like > check always use this as default:

This was perfectly enough to set default editor.

Backup debian-noriko using SystemRescueCD

1. Boot SystemRescueCD (4.6.0)

keymap 22;  connect HDD for bkup;

startx;   may not be necessary, but convenient for utilizing other applications paralelly.

mkdir /mnt/target;

mount /dev/sdb5 /mnt/target;

( ls /mnt/target; shows the contents of backupHDD, or use emelFM2)

mkdir /mnt/target/t;   for accommodating  image files.

#partimage; run partimge: or via program manager.

Following GUI, make and save partition image

e.g. /mnt/target/t/sda1

( This has to be repeated for all partitions except extended and swap partition):

# Back up entire MBR:
dd if=/dev/sda of=/mnt/target/t/sda-MBR-backup bs=512 count=1

Partition Table Backup

sfdisk -d /dev/sda > /mnt/target/t/sda-part-table.sf

Rename dir t : debian-noriko-151024

 

Debian jessie on Endeavor for DOT

At Synaptic package manager:

install pkg-config;

install libusb-dev; libgtk2.0-dev;

If you are trapped in dependency problems, broken packages etc, stay calm in Synaptic manager: Edit->Fix broken packages; Mark all upgrades;apply:  You better not get into command line business.

make BM;

link error: ‘cos@@GLIBC_2.2.5’

LDFLAGS +=  -lm

adding -lm  to LDFLAGS is needed.

There remains some compiling warnings because of deprecated gtk command, but runs O.K.

(missed!) is observed very rare on this machine which is reasonable because this has most powerfule cpu ever.