博客园 首页 新随笔 联系 订阅 管理

2012年12月20日 #

摘要: 安装命令:1.安装到MBR:grub-install /dev/sda2.安装到第二个主分区:grub-install /dev/sda2 --force更新命令:grub-mkconfig -o /boot/grub/grub.cfg配置文件:/etc/default的grub文件和/etc/gurb.d目录下的脚本文件 阅读全文
posted @ 2012-12-20 02:06 ZhanGSKen163 阅读(1886) 评论(0) 推荐(0) 编辑

摘要: 1. 用root运行命令visudo。添加 your_user_name ALL=(ALL) ALL2.可以/etc/sudoers添加普通用户权限,加一行就OK了。NOPASSWD字符串可以另你在使用sudo的时候不用输入密码。#### User privilege specification##root ALL=(ALL) ALL## Uncomment to allow members of group wheel to execute any command# %wheel ALL=(ALL) ALLusername ALL=(ALL) NOPASSWD: ALLFrom: http: 阅读全文
posted @ 2012-12-20 01:37 ZhanGSKen163 阅读(393) 评论(0) 推荐(0) 编辑

摘要: From: https://wiki.archlinux.org/index.php/Yaourt_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29简便的安装最简单安装Yaourt的方式是添加Yaourt源至您的 /etc/pacman.conf:[archlinuxcn]#The Chinese Arch Linux communities packages.SigLevel = Optional TrustAllServer = http://repo.archlinuxcn.org/$arch同步并安装:# pacman -Syu yaourt 阅读全文
posted @ 2012-12-20 01:32 ZhanGSKen163 阅读(7800) 评论(0) 推荐(0) 编辑

摘要: systemctl enable gdm.service参考:https://wiki.archlinux.org/index.php/Display_Manager_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87) 阅读全文
posted @ 2012-12-20 00:52 ZhanGSKen163 阅读(1194) 评论(0) 推荐(0) 编辑

摘要: 在$HOME/.bashrc里添加export GTK_IM_MODULE=ibusexport XMODIFIERS=@im=ibusexport QT_IM_MODULE=ibus不管用,可能是命令ibus-daemon -d -x没用到。编辑用户目录下的文件 .profile(.bashrc文件也可以添加同样的内容,没时间去测试.bashrc,估计可以)没有文件就创建一个,加入以下内容代码:export GTK_IM_MODULE=ibusexport XMODIFIERS=@im=ibusexport QT_IM_MODULE=ibusibus-daemon -d -x #必要的... 阅读全文
posted @ 2012-12-20 00:48 ZhanGSKen163 阅读(1031) 评论(0) 推荐(0) 编辑