archbox/CROS_INSTALL.md

44 lines
1.6 KiB
Markdown
Raw Normal View History

2021-05-10 06:29:53 +00:00
# Installation (ChromeOS)
## Prerequisites
- Enabled developer mode
## Installing dependencies
We'll install needed dependencies with chromebrew, head over to [chromebrew installation guide](https://github.com/skycocker/chromebrew#installation) and do :
```sh
crew install sommelier wget
crew install llvm # OPTIONAL: needed for AMD GPUs
source ~/.bashrc
```
## Installing Archbox
2021-05-10 06:30:50 +00:00
Just follow [INSTALL.md](INSTALL.md) but with :
1. Now that `/usr/local` is owned by you, it's better to set `INSTALL_PATH` to somewhere in `/usr/local` in `archbox.conf`, for example `/usr/local/archbox`
2. Remove `/home` from `SHARED_FOLDER` in `archbox.conf`
2021-05-10 07:19:52 +00:00
Then add :
```sh
[[ $DBUS_SESSION_BUS_ADDRESS = "disabled:" ]] && eval "$(dbus-launch)"
```
to `~/.bashrc` in Archbox
2021-05-10 06:29:53 +00:00
## Miscs
### Init Archbox Automatically
2021-05-10 07:19:52 +00:00
Add `archbox -m` to `~/.bashrc` in host.
2021-05-10 06:29:53 +00:00
### Uniform look with ChromeOS
2021-05-10 07:19:52 +00:00
Install [`cros-adapta-gtk-theme`](https://aur.archlinux.org/packages/cros-adapta-gtk-theme/), `ttf-roboto`, and `papirus-icon-theme` and use it with :
```sh
gsettings set org.gnome.desktop.interface gtk-theme "cros-adapta"
gsettings set org.gnome.desktop.interface icon-theme "Papirus"
gsettings set org.gnome.desktop.interface font-name "Roboto 10"
```
For GTK2 apps, use `lxappearance` and for QT5 apps, use `qt5ct`
## Issues
2021-05-10 07:49:36 +00:00
### DBus
2021-05-10 07:19:52 +00:00
Things that depends on `dbus` may broke if you execute it directly, e.g. :
```
archbox dconf-editor
```
You'll need to enter the shell to use it.
2021-05-10 07:49:36 +00:00
### Audio
Audio doesn't seem to work at the moment, It's possible to start pulseaudio in chroot, but I didn't dive enough yet.