ubuntu小技巧

ubuntu自带拼音的bug(只能用双拼的问题)解决方法

在网上看到的,键入以下命令即可

ibus-daemon -drx

ubuntu中如何禁用或启用叠加滚动条

禁用

打开终端并执行以下命令

gsettings set com.canonical.desktop.interface scrollbar-mode normal

(12.04 :gsettings set org.gnome.desktop.interface ubuntu-overlay-scrollbars false)

更改后会立即生效。


启用

gsettings reset com.canonical.desktop.interface scrollbar-mode

Ubuntu设置默认Terminal为Terminator
 
1、首先,安装Terminator:  sudo apt-get install terminator
 
2、其次,安装dconf-tools : sudo apt-get install dconf-tools
 
3、最后,使用这两个命令:
 
$ gsettings set org.gnome.desktop.default-applications.terminal exec   /usr/bin/terminator
 
$ gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"
 

ubuntu14.04 调节屏幕亮度  

操作如下:(仅限英特尔平台)

1、打开终端,输入Sudo安装命令:

sudo gedit /usr/share/X11/xorg.conf.d/20-intel.conf

2、下载后将打开一个参数文件,输入账户密码,获取root授权

3、在该文本中输入如下设置参数,重新保存该参数文件,重启当前系统。

Section "Device"

Identifier "card0"

Driver "intel"

Option "Backlight" "intel_backlight"

BusID "PCI:0:2:0"

EndSection

ubuntu需要输入密钥环解锁密码的解决办法

打开应用程序-附件-密码和加密密钥(或在终端中输入 seahorse),切换到密码选项卡,会看到一个密码密钥环(我的密钥环是login),右键更改密码,然后什么都不要填,直接提交,这样就去掉默认密钥环的密码了。

cairo-dock设置自启动后右上角的shutdown键编程注销解决方法

ubuntu14.04LTS32位下修改/usr/lib/i386-linux-gnu/cairo-dock/cairo-dock-launcher-API-daemon文件

在33行插入from time import sleep

在241行插入sleep(5)