User Tools

Site Tools


linux:acer-install-gentoo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:acer-install-gentoo [2011/05/06 22:35] – h percylinux:acer-install-gentoo [2016/05/05 13:07] (current) – external edit 127.0.0.1
Line 44: Line 44:
 Then reboot,I can start net.wlan0 Then reboot,I can start net.wlan0
  
-How to enable net.wlan0 tips:+==== How to enable net.wlan0 tips ==== 
 1.Config /etc/conf.d/net 1.Config /etc/conf.d/net
 <code> <code>
Line 59: Line 60:
 3.Use rc-update add net.wlan0 3.Use rc-update add net.wlan0
   rc-update add net.wlan0 default   rc-update add net.wlan0 default
 +==== Use ndiswrapper ====
 +I also use indiswrapper to install the driver which is used for Windows.Of course it works ok:
 +
 +Install
 +  ndiswrapper -i oem1.inf
 +  
 +Uninstall (ls /etc/ndiswrapper)
 +  ndiswrapper -i oem1
 +
 +===== Chinese input method Fcitx =====
 +I always use fcitx as my input method.First I have the tips by fcitx,but I can't invoke it,though it has the config icon on the panel.
 +
 +I remember it is related with the locale,because I use the en_US.UTF-8 as the locale.
 +
 +So need to modify the locale:
 +  vim /etc/profile.env
 +Change LC_CTYPE
 +  export LC_CTYPE='zh_CN.UTF-8'
 +
 +Then edit the locale.gen
 +  vim /etc/locale.gen
 +Add these:
 +  en_US ISO-8859-1
 +  en_US.UTF-8 UTF-8
 +  zh_CN.UTF-8 UTF-8
 +  zh_CN.GBK GBK
 +  zh_CN GB2312
 +  zh_CN.GB18030 GB18030
 +
 +
 +The update env
 +   env-update
 +   locale-gen
 +Also need add these to .bashrc
 +  export XMODIFIERS="@im=fcitx"
 +  export GTK_IM_MODULE=xim
 +  export XIM=fcitx
 +  export XIM_PROGRAM=fcitx
 +
 +My locale
 +<code>
 +localhost linux # locale
 +LANG=en_US.UTF-8
 +LC_CTYPE=zh_CN.UTF-8
 +LC_NUMERIC=en_US.UTF-8
 +LC_TIME=en_US.UTF-8
 +LC_COLLATE=en_US.UTF-8
 +LC_MONETARY=en_US.UTF-8
 +LC_MESSAGES=en_US.UTF-8
 +LC_PAPER=en_US.UTF-8
 +LC_NAME=en_US.UTF-8
 +LC_ADDRESS=en_US.UTF-8
 +LC_TELEPHONE=en_US.UTF-8
 +LC_MEASUREMENT=en_US.UTF-8
 +LC_IDENTIFICATION=en_US.UTF-8
 +LC_ALL=
 +localhost linux # locale -a
 +C
 +en_US
 +en_US.iso88591
 +en_US.utf8
 +POSIX
 +zh_CN
 +zh_CN.gb18030
 +zh_CN.gb2312
 +zh_CN.gbk
 +zh_CN.utf8
 +
 +</code>  
 +
 +Edit /etc/gtk-2.0/gtk.immodules,add en
 +  "xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
 +/etc/gtk-2.0/i686-pc-linux-gnu/gtk.immodules,add en
 +  "xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
 +
 +
 +
 +===== rc-update del net.eth0 is useless =====
 +Though I have deled net.eth0 from default,but I still will see the net.eth0 starting and timeout without wirledlines
 +
 +Edit /etc/conf.d/rc
 +  vim /etc/conf.d/rc
 +Change RC_PLUG_SERVICES like this:
 +  RC_PLUG_SERVICES="net.wlan0 !net.*"
 +  
 +  
 +
 +
 +
 +
 +
 +===== Sound alsamixer =====
 +First it doesn't have sound,though I have used Fn+Volumn up to adjust the sound level,but it useless.
 +
 +So need to use alsamixer to adjust it
 +  alsamixer
 +But after reboot laptop,it still no sound,it seems it can't store/restore the pre-settings.
 +
 +So add this to /etc/conf.d/local.start
 +  alsactl restore
 +
 +add this to /etc/conf.d/local.stop
 +  alsactl store
 +
 +
 +
 +   
 +
 +   
 +
 +  
 +  
 +
 +
 +
  
  
  
/var/www/dokuwiki/wiki/data/attic/linux/acer-install-gentoo.1304692538.txt.gz · Last modified: 2016/05/05 13:06 (external edit)