diff options
author | ache <ache@ache.one> | 2019-09-18 04:44:45 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2019-09-18 04:48:34 +0200 |
commit | b2228fefc35ec787c33c0e0131ace8502c1ce5e6 (patch) | |
tree | 75d5d0320fa539dd15f6c1f9158e84a55efc40d5 | |
parent | Fix search empty bug (diff) |
Install instructions
-rw-r--r-- | README.md | 89 |
1 files changed, 89 insertions, 0 deletions
@@ -3,4 +3,93 @@ mesms A ncurses based SMS manager +Powered by [gammu](https://wammu.eu/gammu/). +It's a third party application that manage Gammu folder. +![Record of mesms](https://ache.one/res/mesms.gif) + +## Installation + +First of all, you should have a working gammu setup. +Here is my Gammu setup: + +/etc/gammurc: +~~~ +[gammu] +port = /dev/ttyUSB0 +connection = at +~~~ + +/etc/gammurc: +~~~ +[gammu] +port = /dev/ttyUSB0 +connection = at +~~~ + +/etc/gammu-smsdrc: +~~~ +[gammu] +port = /dev/ttyUSB0 +connection = at +synchronizetime = yes +logfile = /var/spool/sms/log +logformat = textalldate + + +[smsd] +Service = files +RetryTimeout=60 +MaxRetries=2 + +OutboxPath = /directory/youwant/to/sms/outbox/ +InboxPath = /directory/youwant/to/sms/inbox/ +SentSMSPath = /directory/youwant/to/sms/sent/ +ErrorSMSPath = /directory/youwant/to/sms/error/ + +InboxFormat=detail +OutboxFormat=detail +~~~ + +Note that **you must use the format `detail`** and service `file`**. + +Now, you can test the setup using `gammu-smsd-inject` + +~~~sh +$ gammu-smsd-inject TEXT +33NUMBER -text "This is a test !" +~~~ + +A file should be created in the outbox directory. +Soon it will be send and the file will be moved to the Sent directory. + +If so, congratulation ! You have a working gammu setup. +Lets now install mesms to manage your SMS directory. + +### Install mesms + +Quite easy. It's a C software, you need gcc, make and git. + +~~~sh +$ git clone https://git.ache.one/mesms +$ cd mesms +$ make +$ sudo make install +~~~ + +Note: Theire is a AUR package. `yay -S mesms-git` should work too on Arch Linux. + +Now, you have to make a config directory. It should be `~/.mesmsrc`. + +~/.mesmsrc: + +~~~ +SMS_INBOX=/????/sms/inbox/ +SMS_SENTBOX=/????/sms/sent/ +SMS_OUTBOX=/????/sms/outbox/ +MMS_DIR=/tmp +CONTACT_FILENAME=/home/user/.contacts.csv +~~~ + +Now you can execute mesms ! + +Enjoy ! |