Ubuntu无法开机启动Fcitx
Search your computer -> Startup Applications -> Add
Name: Fcitx
Command: fcitx-autostart
Comment: 启动输入法
Ubuntu启动器无法打开Eclipse
前提:sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse
添加 /usr/share/applications/eclipse.desktop
[Desktop Entry]
Name=Eclipse
Comment=Developer Tool.
Exec=eclipse # 此处若无eclipse软链,可直接写/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Type=Application
Categories=Development;
但是之后发现系统默认配置了eclipse的快捷方式,点击依旧打不开,这时我们需要进入/usr/share/applications
文件夹拖拽我们新添加的eclipse.desktop
到启动器即可。(可能在你启动后发现新添加的启动器图标又被替换为默认图标了,启动失败,这时建议将eclipse.desktop
放到桌面或/home/user下的任意目录后再拖拽锁定。)
Ubuntu启动器图标显示?号
今天卸载了eclipse, 再安装新版本的使用,并在/usr/share/applications
下创建新的.desktop
,启动发现启动器里eclipse图标显示?号。
先检查了 /usr/share/applications
,没有发现问题,再检查 /home/username
文件夹,ctrl+h
显示隐藏文件夹,进入.local/share
文件夹,发现里面也有个applications
文件夹,并存在一个eclipse.desktop
, 删除后eclipse启动器图标显示正常。
Ubuntu配置使用ZSH
安装ZSH
sudo apt-get install zsh
安装oh-my-zsh
自动安装:
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
手动安装:
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
切换默认bash
chsh -s /bin/zsh