mirror of https://github.com/tiyn/wiki
parent
c88a9d3419
commit
7964ab15b4
@ -1,54 +1,47 @@
|
|||||||
# Calendar
|
# Calendar
|
||||||
To use a terminal calendar the following programs are needed.
|
|
||||||
|
|
||||||
| programm | description |
|
`khal` is a calendar you can use in your terminal.
|
||||||
| ---------- | ----------------------- |
|
To sync calendars you'll need `vdirsyncer` aswell.
|
||||||
| khal | terminal calendar |
|
|
||||||
| vdirsyncer | sync tool for calendars |
|
|
||||||
|
|
||||||
## Installation and configuration
|
## Installation and configuration
|
||||||
To configure vdirsyncer edit a file in ```~/.config/vdirsyncer/config```.
|
|
||||||
|
|
||||||
```
|
- `pacman -S khal vdirsyncer` - Install needed packages
|
||||||
[general]
|
|
||||||
status_path = "~/.cache/vdirsyncer/status"
|
- To configure vdirsyncer edit a file in `~/.config/vdirsyncer/config`.
|
||||||
|
|
||||||
#calendar
|
```
|
||||||
[pair private_calendar]
|
[general]
|
||||||
a = "private_calendar_local"
|
status_path = "~/.cache/vdirsyncer/status"
|
||||||
b = "private_calendar_remote"
|
|
||||||
collections = ["from a", "from b"]
|
#calendar
|
||||||
metadata = ["color"]
|
[pair private_calendar]
|
||||||
|
a = "private_calendar_local"
|
||||||
[storage private_calendar_local]
|
b = "private_calendar_remote"
|
||||||
type = "filesystem"
|
collections = ["from a", "from b"]
|
||||||
path = "~/.local/share/pim/calendars/private_calendar"
|
metadata = ["color"]
|
||||||
fileext = ".ics"
|
|
||||||
|
[storage private_calendar_local]
|
||||||
[storage private_calendar_remote]
|
type = "filesystem"
|
||||||
type = "caldav"
|
path = "~/.local/share/pim/calendars/private_calendar"
|
||||||
url = "https://<url>"
|
fileext = ".ics"
|
||||||
auth = "basic"
|
|
||||||
username = "<username>"
|
[storage private_calendar_remote]
|
||||||
password = "<password>"
|
type = "caldav"
|
||||||
|
url = "https://<url>"
|
||||||
```
|
auth = "basic"
|
||||||
|
username = "<username>"
|
||||||
After that initialize vdirsyncer.
|
password = "<password>"
|
||||||
|
|
||||||
```vdirsyncer discover && vdirsyncer metasync```
|
```
|
||||||
|
|
||||||
And keep regularly syncing your data (crontab).
|
- `vdirsyncer discober && vdirsyncer metasync` - After that initialize vdirsyncer.
|
||||||
The command to sync is the following.
|
- `vdirsyncer sync` - Synchronize your data (put it in a crontab to run periodically)
|
||||||
|
- Edit the `~/.config/khal/config`
|
||||||
```vdirsyncer sync```
|
- Insert the following lines
|
||||||
|
```
|
||||||
Finally add a ```~/.config/khal/config``` and you're ready to go.
|
[calendars]
|
||||||
|
|
||||||
```
|
[[calendars]]
|
||||||
[calendars]
|
path = ~/.local/share/pim/calendars/*/*
|
||||||
|
type = discover
|
||||||
[[calendars]]
|
```
|
||||||
path = ~/.local/share/pim/calendars/*/*
|
|
||||||
type = discover
|
|
||||||
```
|
|
||||||
|
@ -1,53 +1,43 @@
|
|||||||
# Contacts
|
# Contacts
|
||||||
To use a terminal addressbook the following programs are needed.
|
|
||||||
|
|
||||||
| programm | description |
|
`khard` is a adressbook that runs in your terminal.
|
||||||
| ---------- | ----------------------- |
|
To sync the data using CardDAV you'll need `vdirsyncer` aswell.
|
||||||
| khard | terminal addressbook |
|
|
||||||
| vdirsyncer | sync tool for calendars |
|
|
||||||
|
|
||||||
## Installation and configuration
|
## Installation and configuration
|
||||||
To configure vdirsyncer edit a file in ```~/.config/vdirsyncer/config```.
|
|
||||||
|
|
||||||
```
|
- `pacman -S khard vdirsyncer` - Install needed programs
|
||||||
[general]
|
- Edit the `~/.config/vdirsyncer/config`.
|
||||||
status_path = "~/.cache/vdirsyncer/status"
|
- Insert the following lines:
|
||||||
|
```
|
||||||
#contacts
|
[general]
|
||||||
[pair private_contacts]
|
status_path = "~/.cache/vdirsyncer/status"
|
||||||
a = "private_contacts_local"
|
|
||||||
b = "private_contacts_remote"
|
#contacts
|
||||||
collections = ["from a", "from b"]
|
[pair private_contacts]
|
||||||
|
a = "private_contacts_local"
|
||||||
[storage private_contacts_local]
|
b = "private_contacts_remote"
|
||||||
type = "filesystem"
|
collections = ["from a", "from b"]
|
||||||
path = "~/.local/share/pim/contacts"
|
|
||||||
fileext = ".vcf"
|
[storage private_contacts_local]
|
||||||
|
type = "filesystem"
|
||||||
[storage private_contacts_remote]
|
path = "~/.local/share/pim/contacts"
|
||||||
type = "carddav"
|
fileext = ".vcf"
|
||||||
url = "https://<url>"
|
|
||||||
username = "<username>"
|
[storage private_contacts_remote]
|
||||||
password = "<password>"
|
type = "carddav"
|
||||||
auth = "basic"
|
url = "https://<url>"
|
||||||
```
|
username = "<username>"
|
||||||
|
password = "<password>"
|
||||||
After that initialize vdirsyncer.
|
auth = "basic"
|
||||||
|
```
|
||||||
```vdirsyncer discover && vdirsyncer metasync```
|
- `vdirsyncer discover && vdirsyncer metasync` - Initialize vdirsyncer
|
||||||
|
- `vdirsyncer sync` - Synchronize the addressbook (put this into a crontab to update periodically)
|
||||||
And keep regularly syncing your data (crontab).
|
- Add and configure a config for khard
|
||||||
The command to sync is the following.
|
- `mkdir ~/.config/khard` - add a directory for the config
|
||||||
|
- `cp /usr/share/doc/khard/khard.conf.example ~/.config/khard/khard.conf` - Copy the example configuration
|
||||||
```vdirsyncer sync```
|
- Adjust `khard.conf` to your needs
|
||||||
|
|
||||||
Now you just need to add and configure the config and youre done.
|
|
||||||
|
|
||||||
```
|
|
||||||
mkdir ~/.config/khard
|
|
||||||
cp /usr/share/doc/khard/khard.conf.example ~/.config/khard/khard.conf
|
|
||||||
```
|
|
||||||
|
|
||||||
## Mutt
|
## Mutt
|
||||||
|
|
||||||
It is possible to use your khard-addressbook in mutt.
|
It is possible to use your khard-addressbook in mutt.
|
||||||
To see how it works check out the [Mutt](/#arch/mail.md).
|
To see how it works check out the [Mutt](/#arch/mail.md).
|
||||||
|
@ -1,44 +1,41 @@
|
|||||||
# Mutt
|
# Mutt
|
||||||
These are a bunch of programs to be able to use lukesmithxyz's mutt-wizard,
|
|
||||||
which will be able to setup your neomutt acordingly.
|
|
||||||
|
|
||||||
| program | description |
|
Neomutt is a mail program that runs in your terminal.
|
||||||
| ----------- | --------------------- |
|
It can be easily configured using mutt-wizard.
|
||||||
| neomutt | mail program |
|
|
||||||
| isync | syncs mail |
|
|
||||||
| msmtp | sends mail |
|
|
||||||
| pass | encrypts passwords |
|
|
||||||
| mutt-wizard | autoconfigure neomutt |
|
|
||||||
|
|
||||||
The mutt-wizard AUR package is slightly outdated.
|
## Installation
|
||||||
Try to use the [git version](https://github.com/LukeSmithxyz/mutt-wizard) to get the latest mutt-wizard.
|
|
||||||
|
|
||||||
## Installation and configuration
|
- `yay -S neomutt isync msmtp pass` - Install all dependecies
|
||||||
After the basic installation you will be able to:
|
- Install mutt-wizard from [github](https://github.com/LukeSmithxyz/mutt-wizard) (AUR is not up to date)
|
||||||
|
|
||||||
``` mw add ``` to add mailaccounts
|
## Using mutt-wizard
|
||||||
|
|
||||||
``` mw ls ``` to list existing ones
|
After installation you're able to use the following commands, that will guide you through configuration.
|
||||||
|
|
||||||
``` mw pass ``` to revise passwords
|
`mw add` to add mailaccounts
|
||||||
|
|
||||||
``` mw delete ``` to delete accounts
|
`mw ls` to list existing ones
|
||||||
|
|
||||||
``` mw purge ``` to delete all accounts and settings
|
`mw pass` to revise passwords
|
||||||
|
|
||||||
``` mw cron ``` toggle a cronjob to sync mail
|
`mw delete` to delete accounts
|
||||||
|
|
||||||
|
`mw purge` to delete all accounts and settings
|
||||||
|
|
||||||
|
`mw cron` toggle a cronjob to sync mail
|
||||||
|
|
||||||
## Use khard in mutt
|
## Use khard in mutt
|
||||||
To use your khard addressbook in mutt just add the following lines to your ```~/.config/mutt/muttrc```.
|
|
||||||
|
- Edit `~/.config/mutt/muttrc`
|
||||||
```
|
- Append the following lines.
|
||||||
set query_command= "khard email --parsable --search-in-source-files %s"
|
```
|
||||||
bind editor <Tab> complete-query
|
set query_command= "khard email --parsable --search-in-source-files %s"
|
||||||
bind editor ^T complete
|
bind editor <Tab> complete-query
|
||||||
macro index,pager A \
|
bind editor ^T complete
|
||||||
"<pipe message>khard add-email<return>" \
|
macro index,pager A \
|
||||||
"add the sender email address to khard"
|
"<pipe message>khard add-email<return>" \
|
||||||
```
|
"add the sender email address to khard"
|
||||||
|
```
|
||||||
You can just tab-complete the email-addresses.
|
- You should now be able to tab-complete email-addresses in neomutt
|
||||||
You can also add new ones by pressing A.
|
- You can also add new ones by pressing A
|
||||||
|
|
||||||
|
@ -1,7 +1,23 @@
|
|||||||
# Tablecalculation
|
# Tablecalculation
|
||||||
These are useful programs if you want to do table calculations like csv.
|
|
||||||
|
|
||||||
| program | description |
|
`sc-im` is a program to view and edit tables especially in csv-format.
|
||||||
| ---------- | ------------------------------------------------ |
|
|
||||||
| sc-im | program to write and read csv data; sc improved |
|
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
- `yay -S sc-im` - Install sc-im
|
||||||
|
- `sc-im <insert-filename>.csv` - Edit files
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
`sc-im` uses vim keys to move.
|
||||||
|
You can insert text to a cell with `\` and numbers using `=`.
|
||||||
|
You can edit existing entries with `e` for text and `E` for numbers.
|
||||||
|
You can delete (multiple (for example `3`) rows `dr`/`d3r`, yank rows `yr`/`y3r`.
|
||||||
|
You can delete (multiple (for example `3`) columns `dc`/`d3c`, yank rows `yc`/`y3c`.
|
||||||
|
You can insert new rows `ir`/`i3r` or columns `ic`/`i3c`.
|
||||||
|
|
||||||
|
### Special numbers
|
||||||
|
|
||||||
|
There are some functions you can use when in numbers mode.
|
||||||
|
|
||||||
|
- `=@sum(<start-cell>:<end-cell>)` - Summarize all number-entries in the range of given cells
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
# Wine
|
||||||
|
|
||||||
|
Wine is a compatibility layer to run windows programs on linux machines.
|
||||||
|
|
||||||
|
## Installation and Configuration
|
||||||
|
|
||||||
|
- Enable multilib support in pacman
|
||||||
|
- `vim /etc/pacman.conf` - Uncomment the following lines
|
||||||
|
```
|
||||||
|
[multilib]
|
||||||
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
```
|
||||||
|
- `pacman -S wine winetricks` - Install wine and configuration helper
|
||||||
|
- Set the global variable `WINEPREFIX` to your liking, standard is `$HOME/.wine`
|
||||||
|
- `winetricks` - run the installation of basic windows dependencies to the wine directory
|
||||||
|
- Move the program you want to run to `$WINEPREFIX/drive_c/`
|
||||||
|
- `winetricks sandbox` - (Optional) if you don't want wine to set up directories or files into your home directory
|
||||||
|
- `wine $WINEPREFIX/drive_c/<insert program>` - Run the program with wine
|
Loading…
Reference in new issue