[highwind] --- Debian testing安装

仅供存放个人的配置文件,不要在本版发问。
回复
头像
highwind
帖子: 1362
注册时间: 2008-09-05 23:31
系统: LinuxMint17

[highwind] --- Debian testing安装

#1

帖子 highwind » 2014-06-07 12:28

http://linuxpanda.wordpress.com/2014/03 ... -pictures/

deb http://mirrors.liquidweb.com/debian/ testing main non-free contrib
deb-src http://mirrors.liquidweb.com/debian/ testing main non-free contrib
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.deb-multimedia.org/ testing main
deb-src http://www.deb-multimedia.org/ testing main
其实用unstable都不见得不稳定

正在用
xfce4 xfce4-goodies synaptic gdebi gksu xfce4-wiskermenu-plugin
alacarte menuLibre
python3-bs4 axel chromium pepperflashplugin-nonfree
vlc fcitx fcitx-libpinyin ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy
备选
catfish htop bum hardinfo hexchat inkscape pinta pyneighborhood
osmo rednotebook galculator qalculator grsync x-tile deb-multimedia-keyring deadbeef
build-essential linux-headers-`uname -r` dkms
暂弃
lightdm
iceweasel flashplugin-nonfree
dconf-editor
fonts-arphic-ukai fonts-arphic-uming
ibus-rime ibus-qt4 ibus-qtk ibus-qtk3
上次由 highwind 在 2014-08-01 2:13,总共编辑 5 次。
头像
highwind
帖子: 1362
注册时间: 2008-09-05 23:31
系统: LinuxMint17

Re: [highwind] --- Debian testing安装

#2

帖子 highwind » 2014-06-08 3:58

theme/style : xfce, adwaita
icon: Faenza, elementary xfce
上次由 highwind 在 2014-07-22 10:55,总共编辑 1 次。
头像
highwind
帖子: 1362
注册时间: 2008-09-05 23:31
系统: LinuxMint17

Re: [highwind] --- Debian testing安装

#3

帖子 highwind » 2014-07-22 8:52

不用图形登陆器(诸如GDM,KDM,LDM,MDM,slim等)的自动登陆方法
一:自动登陆虚拟控制台(就是一开始那个黑黑的tty)
编辑 /etc/systemd/system/getty.target.wants/getty@tty1.service
注释掉:#ExecStart=-/sbin/agetty --noclear %I
替换成:ExecStart=-/sbin/agetty -a USERNAME --noclear %I

二、自行启动X
在.bash_profile中加入
[bash]if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
startx
fi[/bash]
头像
highwind
帖子: 1362
注册时间: 2008-09-05 23:31
系统: LinuxMint17

Re: [highwind] --- Debian testing安装

#4

帖子 highwind » 2014-07-22 9:46

无密码关机重启

安装sudo
visudo编辑添加
# Cmnd alias specification
Cmnd_Alias HALT = /sbin/shutdown
Cmnd_Alias REBOOT = /sbin/reboot
# User privilege specification
USERNAME ALL=NOPASSWD: HALT, REBOOT

不过xfce自带的xfsm-shutdown还是不能用,而且因为power组之类的东西不存在了,权限问题又复杂了不少,为了保持不用图形启动器,可以在panel上添加两个快捷方式:
关机 sudo shutdown now 和
重启 sudo reboot 就好了,效率不错,基本上一点就关。

顺带自定义下提升文件编辑权限的动作(不用装gksu也可以)
Root Open : sudo thunar %f
Root Edit : sudo mousepad %F
回复