Skip to main content
  1. Posts/

manjaro安(zhe)装(teng)记

·2 mins
Note: This article is available in Chinese only. 本文暂无英文版本。 View original

噫。。之前x200上装的是win7+fedora25 gnome。。。

虽然感觉gnome对于09年的老电脑来说有点吃力…不过也懒得换..

结果硬盘挂了2333 于是换了块硬盘

以及被人安利了manjaro,一个基于arch的linux发行版

还有就是因为平安夜又没有代码可以写又没有妹子可以陪觉得人生寂寞如雪

官网下好镜像以后,一开始用dd命令做u盘,发现启动不了。

无奈到win下用了poweriso制作,成功。

安装很顺利…基本就是傻瓜操作…

装好以后…装了vim…shadowsocks…chrome…fish…搜狗输入法。。。

添加了archcn的源

发现不能切换输入法。。。

解决办法:

1~/.xprofile 文件中添加如下内容
2export GTK_IM_MODULE=fcitx
3export QT_IM_MODULE=fcitx
4export XMODIFIERS="@im=fcitx"

其他都挺顺利的。。

结果今天用着用着发现renkz2011这账户无法登录了。。。提示密码错误。。。

root账户是可以登录的。。。

于是我跑到root下登录。。。是可以的。。。

于是改了下renkz2011的密码。。。发现依然提示错误。。。

但是呢。。。我在root下做需要renkz2011权限的事情。。。输入密码就是没有问题的。。

我新建了一个账户。。。发现登录也没有问题。。。

奇怪啊。。。回想一下。。。我改了什么。。。

添加了archcn的源。。。

应该没关系。。。

还有就是。。。remove了zsh..?

于是我尝试着重新装回zsh…

再登录。。发现可以了。。。

回想一下。。。我在renkz2011账户下曾经设置默认shell为zsh…

卸载以后好像忘记更改了orz

但是。。。为什么和shell有关呢。。。

Related

atom在linux下安装插件失败的解决方案

·1 min
1gyp info it worked if it ends with ok 2gyp info using node-gyp@2.0.2 3gyp info using node@0.10.40 | linux | x64 4gyp http GET https://atom.io/download/atom-shell/v0.34.0/node-v0.34.0.tar.gz 5gyp WARN install got an error, rolling back install 6gyp ERR! install error 7gyp ERR! stack Error: This is most likely not a problem with node-gyp or the package itself and 8gyp ERR! stack is related to network connectivity. In most cases you are behind a proxy or have bad 9gyp ERR! stack network settings. 10gyp ERR! stack at Request.<anonymous> (/opt/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/install.js:234:21) 11gyp ERR! stack at Request.emit (events.js:95:17) 12gyp ERR! stack at Request.onRequestError (/opt/atom/resources/app/apm/node_modules/npm/node_modules/request/request.js:861:8) 13gyp ERR! stack at ClientRequest.emit (events.js:95:17) 14gyp ERR! stack at Socket.socketErrorListener (http.js:1548:9) 15gyp ERR! stack at Socket.emit (events.js:95:17) 16gyp ERR! stack at net.js:834:16 17gyp ERR! stack at process._tickCallback (node.js:448:13) 18gyp ERR! System Linux 3.16.0-38-generic 19gyp ERR! command "/opt/atom/resources/app/apm/bin/node" "/opt/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "install" "--target=0.34.0" "--dist-url=https://atom.io/download/atom-shell" "--arch=x64" "--ensure" 20gyp ERR! cwd /home/rkz2013/.atom 21gyp ERR! node -v v0.10.40 22gyp ERR! node-gyp -v v2.0.2 23gyp ERR! not ok 解决办法是不用apm install 而是用npm install…之前要安装一个npm