an2linux: Add basic server setup
This commit is contained in:
parent
12beacac19
commit
1310f6ded6
2 changed files with 49 additions and 0 deletions
37
an2linux/.config/an2linux/config
Normal file
37
an2linux/.config/an2linux/config
Normal file
|
@ -0,0 +1,37 @@
|
|||
[tcp]
|
||||
tcp_server = off
|
||||
tcp_port = 46352
|
||||
|
||||
[bluetooth]
|
||||
bluetooth_server = on
|
||||
|
||||
# bluetooth_support_kitkat: enable bluetooth support for android 4.4 kitkat
|
||||
# this setting is important for everyone using bluetooth
|
||||
# you need to set this setting correctly otherwise it will not work
|
||||
# if you are using android 4.4 kitkat this needs to be turned on
|
||||
# because some cipher versions are not supported until after kitkat
|
||||
# if you are using android 5.0+ you need to keep this setting off
|
||||
bluetooth_support_kitkat = off
|
||||
|
||||
[notification]
|
||||
# notification_timeout: display notification for this many seconds
|
||||
# set 0 to never expire
|
||||
# this setting might be completely ignored by your notification server
|
||||
notification_timeout = 5
|
||||
|
||||
# list_size_duplicates: number of latest notifications to keep
|
||||
# integer 0-50, if a notification is in this list it will not be shown
|
||||
# set to 0 to disable
|
||||
list_size_duplicates = 0
|
||||
|
||||
# ignore_duplicates_list_for_titles: notification titles that ignore duplicates list
|
||||
# comma-separated, case-sensitive
|
||||
ignore_duplicates_list_for_titles = AN2Linux, title
|
||||
|
||||
# keywords_to_ignore: do not show notifications that include these keywords in the notification titles
|
||||
# comma-separated, case-sensitive. leading and trailing whitespace will be stripped.
|
||||
keywords_to_ignore =
|
||||
|
||||
# regexes_to_ignore: do not show notifications who's contents or title match the following regexes
|
||||
regexes_to_ignore_in_title =
|
||||
regexes_to_ignore_in_content =
|
12
an2linux/README.md
Normal file
12
an2linux/README.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# an2linux
|
||||
|
||||
[an2linux](https://github.com/rootkiwi/an2linuxserver) - mirror your android notifications on the linux desktop
|
||||
|
||||
This module enables the bluetooth server portion of an2linuxserver, while disabling the wi-fi server.
|
||||
Since these dotfiles are currently primarily running on a laptop, bluetooth is the easiest connection to make.
|
||||
In order for bluetooth to work on archlinux, you will have to follow the set-up on the [archlinux wiki](https://wiki.archlinux.org/index.php/Bluetooth), as well as on the [`an2linux`](https://github.com/rootkiwi/an2linuxserver) github page.
|
||||
|
||||
If the [services](/services) module is also enabled, `an2linux` will automatically start up on boot.
|
||||
This is usually desirable,
|
||||
but for initial pairing you will have to manually shut down the service and run the server manually with `an2linuxserver.py`.
|
||||
The initial pairing needs interactive inputs and can not be done automatically -- once that is done, you can restart the service and everything should work perfectly.
|
Loading…
Reference in a new issue