天気:晴時々曇のち雨,血圧:/,体温:℃,体重:kg,歩数:,投稿:now ?
You probably need to fix your modifier mappings. Do a xmodmap -pke > my.xmodmap Use xev to check the scancodes of your control keys, and make sure they're set correctly in that file. e.g. for me: ... keycode 37 = Control_L NoSymbol Control_L NoSymbol Control_L ... keycode 117 = Control_R NoSymbol Control_R NoSymbol Control_R ... At the end of this file, add: clear Control add Control = Control_L Control_R (btw, you can see your modifiers by running 'xmodmap' with no arguments.) Then feed-back the modified mapping file: xmodmap my.xmodmap: なんかの拍子で CTRL や ALT キーが効かなくなるんだけど、xmodmap やったらなおったわ -- nakax 2012-09-22 (土) 16:34:43
Enable hibernate If the hibernate test works, you can continue to use the sudo pm-hibernate command when you want to hibernate. You can also enable the hibernate option in the menus. To do that, use your favorite text editor to create /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla. Add the following to the file and save: Re-enable hibernate by default Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes: とりあえず 設定したら すぐに ログオフメニューに反映された -- nakax 2012-09-22 (土) 13:49:43
これだけだと起動時に復帰してくれないので、initrd.imgの更新。(必要ないかもしれない。) 一部変更ファイル:/etc/initramfs-tools/conf.d/resume RESUME=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ※↑ハイバネートで使われるスワップのUUIDを入れる。: ああ、SWAP の UUID の食い違いか。別パーティションに Debian インストールしたとき、スワップを作りなおしたのを忘れてたわ。結局、
sudo swaplabel /dev/sda2 #確認 cat /etc/initramfs-tools/conf.d/resume sudo swapoff -a ; free -t sudo mkswap -L SWAP -U (uuid) /dev/sda2 sudo vi /etc/fstab # 設定した UUID に変更 sudo swapon -a ; free -t: って感じで作りなおしたら ハイバネートできるようになった。 -- nakax 2012-09-22 (土) 11:11:26
na
コメントはありません。 コメント/Diary/2012-09-22?