Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu 配置 Mac 桌面主题 #70

Open
amenzai opened this issue Sep 25, 2018 · 1 comment
Open

ubuntu 配置 Mac 桌面主题 #70

amenzai opened this issue Sep 25, 2018 · 1 comment

Comments

@amenzai
Copy link
Owner

amenzai commented Sep 25, 2018

ubuntu 18.0.4 安装 MAC桌面主题:

1. gnome tweak tool 安装

sudo apt-get install gnome-tweak-tool

2. gnome shell 安装

sudo apt-get update
sudo apt-get install gnome-tweak-tool
sudo apt-get install gnome-shell-extensions
sudo apt-get install chrome-gnome-shell

安装使用主题必备的扩展user themes ,地址:https://extensions.gnome.org/extension/19/user-themes/

3. 配置

在Tweaks-Extensions(扩展)中打开“User themes”按钮

4. 安装主题

https://www.opendesktop.org/s/Gnome/p/1013714/中下载"Sierra-light.tar.xz"和"MacOSX-icon-theme.tar.xz",前者是shell,后者是主题的图标。

解压后,前者放在"/usr/share/themes/"文件夹下,后者放在"/usr/share/icons/"文件夹下,在Tweak-Apperance(外观)中对shell和图标进行修改。

https://www.gnome-look.org/p/1241688/中下载"McOS-HS--2-themes.tar.xz",解压后放在"/usr/share/themes/"文件夹下,在Tweak-Apperance(外观)中对主题进行修改。

5. 安装dock

在软件商店下载并安装Dash to Dock,在Tweaks-Extensions(扩展)对Dash to dock进行修改(注意,不要打开按钮)。

6. 效果图
2018-09-25 10-50-05

ubuntu 配置全解析


搜狗输入法不能输入中文解决(linux下常见软件崩溃问题解决方案)
先关闭fcitx:

killall fcitx
killall sogou-qinpanel

然后删除搜狗配置文件,ubuntu下搜狗的配置文件在 ~/.config下的3个文件夹里:
SogouPY、SogouPY.users、sogou-qimpanel
删除这3个文件夹,然后重启搜狗:

fcitx

使用 Oh-My-Zsh 配置完主题后,在用户目录下的 .zshrc文件中加入之前安装 nvm

# add this
export NVM_DIR="/home/amenzai/.nvm"
source $NVM_DIR/nvm.sh
@amenzai
Copy link
Owner Author

amenzai commented Dec 5, 2018

一些痛点:

watch error

当前问题主要是因为gulp的watch需要监听很多文件的改动,但是fedora、ubuntu系统的文件句柄其实是有限制的,因此可以使用以下命令:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant