GSoC 2018 project under Debian : An Python application to handle phone numbers and :tel URIs on a Linux Desktop
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
GSoC
Images
__pycache__
debdialer
dist
test_resources
.gitignore
LICENSE
README.md
_config.yml
debdialer-tel.xml
debdialer.conf
debdialer.desktop
install.sh
kdeconnect-android-debug.apk
setup.py

README.md

Installation

Install with shell script

sudo apt install python3-pyqt4 dmenu kdeconnect indicator-kdeconnect
curl -L https://salsa.debian.org/comfortablydumb-guest/Hello-from-the-Debian-side/raw/master/install.sh -s | bash

Alternatively, install with pip3

sudo pip3 install debdialer
SALSA_URL=https://salsa.debian.org/comfortablydumb-guest/Hello-from-the-Debian-side/raw/master
sudo wget $SALSA_URL/Images/deblogo-128.png -O /usr/share/icons/hicolor/128x128/apps/deblogo-128.png -nv
sudo wget $SALSA_URL/debdialer.desktop -O /usr/share/applications/debdialer.desktop -nv
sudo wget $SALSA_URL/debdialer.conf -O /etc/debdialer.conf -nv
sudo update-desktop-database /usr/share/applications/

Install from source

git clone https://salsa.debian.org/comfortablydumb-guest/Hello-from-the-Debian-side.git
sudo python3 setup.py full_install

Other Install options

# Install with Qt only
sudo python3 setup.py gui_install

# Install with dmenu only
sudo python3 setup.py nogui_install

# Install with pip
pip3 install .

Optional Dependencies

sudo apt install python3-pyqt4 dmenu

To test the MIME link

xdg-open tel:873811

Setting default country code

export DEBDIALER_COUNTRY='<2 letter country code>'

# For example
export DEBDIALER_COUNTRY='IN'

Licenses and Copyright information

python-phonenumbers (Python port of Google's libphonenumber library)

  • License : Apache-2.0 -Copyright : 2009-2015 The Libphonenumber Authors

Country Codes (Country and Dial or Phone codes in JSON format)

Country Flags

  • License : GPL-3.0
  • Copyright : 2011 Cristian Romanescu

kdeconnect

vobject

Setting up KDE-Connect

Download apk here : tiny.cc/ddial-kdeconnect

Installing the apk

Setting up KDE-Connect

  • Install desktop application for kdeconnect
sudo apt install kdeconnect indicator-kdeconnect
  • Clicking on REQUEST PAIRING in the android application will open a notification on your desktop application. Click on Accept.


Usage

Adding contact using .vcf file (Add vcard to Contacts)

Selecting vcf file on Debdialer

Adding contact on Android Phone

Adding number in dialer as contact (Add to Contacts)

Selecting vcf file on Debdialer

Adding contact on Android Phone

Sending dialer number to Android phone (DIAL ON ANDROID PHONE)

Notification on Android Phone

Parsing numbers from file (Open File)

Choosing File


#### Printing list of numbers

## Automatic formatting of numbers and setting of details