按下 Ctrl + Alt + t 键盘组合键调出终端,在终端中输入以下命令:
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
按下回车。 Continue reading 移动 Ubuntu16.04 桌面左侧的启动器到屏幕底部
Gedit变身
sudo apt-get install gedit-plugins
启动插件:Draw Spaces
设置hr横线的颜色
给默认的hr改成我们需要的颜色时,需要将它的高度设一个值,使用背景色,并将border设为没有。
如:<hr style=”background-color:black;height:1px;border:none;”>
filesystem check error or failed
filesystem check system disk OK.disable the addtional disk in /etc/fstab using #
login the system run fsck /dev/sda3, fix the problem manually
tpm_tis: A TPM error (6) occurred attempting to read a pcr value
Information about TPM https://wiki.archlinux.org/index.php/TPM
If you not need TPM, just
echo blacklist tpm_tis > /etc/modprobe.d/tpm_tis.conf (need root)
It worked on my computer. The error gone. Continue reading tpm_tis: A TPM error (6) occurred attempting to read a pcr value
wordpress 更改 apache首页
修改apache默认主页要修改两个文件:
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/php.conf
修改这两个文件的 DirectoryIndex 后的文件名。 Continue reading wordpress 更改 apache首页
Fedora is not in the sudoers file
解决方案:
首需要切换到root身份
$su –
(注意有- ,这和su是不同的,在用命令”su”的时候只是切换到root,但没有把root的环境变量传过去,还是当前用户的环境变量,用”su -“命令将环境变量也一起带过去,就象和root登录一样) Continue reading Fedora is not in the sudoers file
samba start error
smbd: relocation error: /lib/libsamba-credentials.so.0: symbol GSS_KRB5_CRED_NO_CI_FLAGS_X, version gssapi_krb5_2_MIT not defined in file libgssapi_krb5.so.2 with link time reference
Package krb5-libs-1.13.2-11.fc23.i686 is already installed
should update krb5-libs-1.13.2 to krb5-libs-1.14.1
so: sudo dnf install krb5-libs-1.14.1-*
other words, security should be set as share
or smbd would not start properly (error exit)
DONE
vesamenu.c32:not a COM32R image
是用官方的liveusb-creator制作的u盘,在安装时报出了vesamenu.c32:not a COM32R image错误,在网上也找了几个说的方法,都不太理想,最后在fedora贴吧里一个楼层的朋友说输入:linux0,报着试试态度输入一下,果真好 了,具体为啥我还真不知道,刚玩fedora,在这里还是要谢谢这位大神,我做个记录。
ubuntu14.04 卸载 gnome, xfce桌面
1,卸载掉gnome-shell主程序
$sudo apt-get remove gnome-shell
2,卸载掉gnome
$sudo apt-get remove gnome
3,卸载不需要的依赖关系
$sudo apt-get autoremove
4,彻底卸载删除gnome的相关配置文件
$sudo apt-get purge gnome
5,清理安装gnome时候留下的缓存程序软件包
$sudo apt-get autoclean
$sudo apt-get clean
6,注销后查看桌面选项中是不是没有了gnome的选项 Continue reading ubuntu14.04 卸载 gnome, xfce桌面