xubuntu使用之旅

2014-10-19 by Brant Xiong

写在前面

最近给自己的本子换了新的ssd,也趁此机会重装了系统。本次选的的系统是xubuntu 14.04。

嗯,目前来看,这货比ubuntu快的多,用着很爽~

下面将新系统配置当中遇到的一些问题和技巧做个记录,也方便以后查询~

1.将程序添加到开始菜单

由于需要配置android开发环境,很自然的就装了Eclispe-adt,装完后,没有开始菜单启动项,感觉不太方便。

Google之后,发现将程序添加到开始菜单中其实非常简单。

编辑文件:

sudo vim /usr/share/applications/Eclipse-adt.desktopktop

配置如下:

[Desktop Entry]
Version=1.0
Type=Application
Name=Eclipse-adt
Comment=Eclipse ADT Bundle
Icon=/home/brant/Development/Android/adt-bundle/eclipse/icon.xpm
Exec=/home/brant/Development/Android/adt-bundle/eclipse/eclipse
Path=
Terminal=false
StartupNotify=true
Categories=Development;IDE

2.github ssh提交

参考https://help.github.com/articles/generating-ssh-keys/

git remote set-url origin git@github.com:username/repo.git

3.S权限介绍

引用如下:

'S' = The directory's setgid bit is set, but the execute bit isn't set.

's' = The directory's setgid bit is set, and the execute bit is set.

SetGID = When another user creates a file or directory under such a setgid directory, the new file or directory will have its group set as the group of the directory's owner, instead of the group of the user who creates it.

To remove the setGID bit:

chmod g-s eclipse/
Taken from man chmod:

You can set or clear the bits with symbolic modes like u+s and g-s, and you can set (but not clear) the bits with a numeric mode.

link to a similar question: http://unix.stackexchange.com/questions/27250/uppercase-s-in-permissions-of-a-folder

4.其他技巧

修改eclispe tab-bar字体

修改文件:

/home/brant/Development/Android/adt-bundle/eclipse/plugins/org.eclipse.platform_4.2.2.v201302041200/css

Comments

Follow me on GitHub