updated 'void-desktop-install.md'

This commit is contained in:
Luc Bijl 2023-04-20 11:01:15 +02:00
parent f5b591a5e5
commit e6a7ed8842

View file

@ -304,6 +304,36 @@ $ cp void-desktop/config-files/bash/.bashrc .bashrc
$ cp void-desktop/config-files/bash/.bash_profile .bash_profile
```
#### User directories
It is generally beneficial to set default user directories. To obtain some consistency in the `home` directory. This may be obtained with the `xdg-user-dirs` package.
It may be installed with.
```
# xbps-install -Sy xdg-user-dirs
```
then run:
```
$ xdg-user-dirs-update
```
This will create a whole suite of default user directories and in `.config` it will create `user-dirs.dirs` and `user-dirs.locale`.
With `.config/user-dirs.dirs` the syntax of of the directories may be set.
```
$ cp void-desktop/config-files/xdg-user-dirs/user-dirs.dirs .config/
```
Then to persist the modifications.
```
$ xdg-user-dirs-update
```
### Linux-lts
It might be desirable to install an LTS kernel for better stability. This can be done by:
@ -764,11 +794,17 @@ A custom bash script may be created in `/usr/local/bin`. That exports all the es
##### Animate
##### Blur
##### Decoration
Will be replace by firedecor in the future
--->
### Display configuration
To configure the displays of the systems it's necessary to either configure them through `.config/wayfire.ini` or use an external application like `kanshi`. To install kanshi and a GUI to configure the displays:
To configure the displays of the systems it's necessary to either configure them through `.config/wayfire.ini` or use an external application like `kanshi`.
To install kanshi:
```
# xbps-install -Sy kanshi
@ -940,6 +976,29 @@ To install SwayNC:
# xbps-install -Sy swaync
```
SwayNC's functionality and looks can be edited through `.config/swaync/config.json` and `.config/swaync/style.css` .....
```
$ cp -r void-desktop/config-files/swaync .config/
```
To use SwayNC make sure it gets started by Wayfire and to be able to toggle it's notification center also bind it in `.config/wayfire.ini`.
```
[autostart]
notifications = swaync
[command]
binding_swaync = <super> KEY_TAB
command_swaync = swaync-client -t -sw
```
Waybar can also be configured to display an icon for when there are unread notifications. In `.config/waybar/config` add:
```
----------------------------------------------------------------
```
#### Mako
For a very minimal notification deamon it's recommended to use Mako. It can be used to display notifications from the session-bus.
@ -956,7 +1015,7 @@ Mako may be configured by editing `.config/mako/config`.
$ cp -r void-desktop/config-files/mako .config/
```
Mako needs to be started by Wayfire.
Mako needs to be started by Wayfire in `.config/wayfire.ini`.
```
[autostart]
@ -1026,7 +1085,7 @@ To be notified when changing the volume `pa-notify` may be used. It needs to be
```
[autostart]
audio_notify = sleep 5; pa-notify -t 2
audio_notify = sleep 1; pa-notify -t 2
```
#### Music control
@ -1040,6 +1099,10 @@ To control music and other media `playerctl` may be used.
The bindings may be set in `.config/wayfire.ini`.
```
[autostart]
audio_player = playerctld daemon
[command]
binding_playpause = KEY_PLAYPAUSE
binding_next = KEY_NEXTSONG
binding_previous = KEY_PREVIOUSSONG
@ -1146,11 +1209,23 @@ Some essential applications and packages.
<!---
## Misc
### Office suit
Libreoffice is an open source office suite similar to Microsoft 365. To install all the libreoffice programs:
```
# xbps-install -y libreoffice
```
Individual programs from libreoffice can also be installed instead of the entire suit. Packages like `libreoffice-writer` will only provide the document editor.
### Printing
### Virt-manager
### Wine
#### Lutris
### Steam
--->