Merge branch 'master' of github.com:lemniskett/archbox
This commit is contained in:
commit
cc90f8af85
@ -12,8 +12,32 @@ source ~/.bashrc
|
|||||||
Just follow [INSTALL.md](INSTALL.md) but with :
|
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`
|
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`
|
2. Remove `/home` from `SHARED_FOLDER` in `archbox.conf`
|
||||||
|
|
||||||
|
Then add :
|
||||||
|
```sh
|
||||||
|
[[ $DBUS_SESSION_BUS_ADDRESS = "disabled:" ]] && eval "$(dbus-launch)"
|
||||||
|
```
|
||||||
|
to `~/.bashrc` in Archbox
|
||||||
## Miscs
|
## Miscs
|
||||||
### Init Archbox Automatically
|
### Init Archbox Automatically
|
||||||
Add `archbox -m` to `~/.bashrc`.
|
Add `archbox -m` to `~/.bashrc` in host.
|
||||||
### Uniform look with ChromeOS
|
### Uniform look with ChromeOS
|
||||||
Install [`cros-adapta-gtk-theme`](https://aur.archlinux.org/packages/cros-adapta-gtk-theme/) from AUR and set it with `lxappearance` and `dconf-editor`.
|
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
|
||||||
|
### DBus
|
||||||
|
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.
|
||||||
|
|
||||||
|
### 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.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
source /etc/archbox.conf
|
source /etc/archbox.conf &>/dev/null
|
||||||
|
|
||||||
install_desktop(){
|
install_desktop(){
|
||||||
mkdir -p ~/.local/share/applications/archbox
|
mkdir -p ~/.local/share/applications/archbox
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
source /etc/archbox.conf
|
source /etc/archbox.conf &>/dev/null
|
||||||
source /tmp/archbox_env
|
source /tmp/archbox_env &>/dev/null
|
||||||
|
|
||||||
REQ_ENV="DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS "
|
REQ_ENV="DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS "
|
||||||
REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR "
|
REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR "
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
source /etc/archbox.conf
|
source /etc/archbox.conf &>/dev/null
|
||||||
source /tmp/archbox_env
|
source /tmp/archbox_env &>/dev/null
|
||||||
|
|
||||||
REQ_ENV="DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS "
|
REQ_ENV="DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS "
|
||||||
REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR "
|
REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR "
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
source /etc/archbox.conf
|
source /etc/archbox.conf &>/dev/null
|
||||||
source /tmp/archbox_env
|
source /tmp/archbox_env &>/dev/null
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
copyresolv)
|
copyresolv)
|
||||||
|
Loading…
Reference in New Issue
Block a user