首页 > 代码库 > Ubuntu 常用配置

Ubuntu 常用配置

2.goldendict



# enable youdao onlie dictory.
http://www.cppblog.com/Onway/archive/2012/10/22/193668.html

3.gsettings



gsettings set org.compiz.scale:/org/compiz/profiles/unity/plugins/scale/ initiate-edge "TopRight"
gsettings set org.gnome.desktop.interface menus-have-icons true
gsettings set org.gnome.desktop.interface buttons-have-icons true

4.disabled IPv6



$ sudo vim /etc/sysctl.conf
————————————————————————————————————————————
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
————————————————————————————————————————————
$ sudo sysctl -p

5.Cisco VPN



? CLI界面
——————————————————————————————————————————————————
$ sudo /usr/share/vpnc/pcf2vpnc zzz.pcf /etc/vpnc/default.conf
# 转换 pcf 文件为 /etc/vpcn/default.conf
$ sudo chmod 644 /etc/vpnc/default.conf
$ sudo vpnc
# 连接VPN
$ sudo vpnc-disconnect
——————————————————————————————————————————————————
? 图形界面:
安装 network-manager-vpnc-gnome,直接导入 pcf 文件即可;
并选择“Use this connection only for resources on its network”,仅在使用vpn时才走vpn线路;

10.更改登陆壁纸



http://askubuntu.com/questions/455849/unity-greeter-does-not-display-custom-wallpaper

11.chrome RSS

http://www.inoreader.com/?add_feed=%s

12.Vino-Server

killall vino-server
export DISPLAY=:0.0
gsettings set org.gnome.Vino notify-on-connect true
gsettings set org.gnome.Vino alternative-port "uint16 5900"
gsettings set org.gnome.Vino disable-background false
gsettings set org.gnome.Vino use-alternative-port false
gsettings set org.gnome.Vino icon-visibility ‘client‘
gsettings set org.gnome.Vino use-upnp true
gsettings set org.gnome.Vino view-only false
gsettings set org.gnome.Vino enabled true
gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino disable-xdamage false
gsettings set org.gnome.Vino authentication-methods "[‘vnc‘]"
gsettings set org.gnome.Vino network-interface ‘‘
gsettings set org.gnome.Vino require-encryption false
gsettings set org.gnome.Vino mailto ‘‘
gsettings set org.gnome.Vino lock-screen-on-disconnect false
gsettings set org.gnome.Vino vnc-password ‘‘
/usr/lib/vino/vino-server &> /dev/null &

13.键盘背光灯

echo 0 | sudo tee ‘/sys/class/leds/dell::kbd_backlight/brightness‘
echo 1 | sudo tee ‘/sys/class/leds/dell::kbd_backlight/brightness‘
echo 2 | sudo tee ‘/sys/class/leds/dell::kbd_backlight/brightness‘

 

Ubuntu 常用配置