Welcome to toto2titi’s documentation!

toto2titi is a rag-bag of simple, desktop, utilities.

paste2file 💾 Paste clipboard content as a file

You just copied an interesting code snippet (or whatever) on the web, and you want to open an editor, paste it, and save it? This small applications lets you choose your filename, and saves the clipboard content into it.

Edition

If an editor option is set in the general option of the configuration file, once the file is saved, it is opened with the editor.

Binaries

The paste2file binary does not take any interesting arguments.

paste2qrcode 🔳 Display clipboard content as a QR code

Display clipboard content as a QR code (or several QR codes), to send it to a smartphone.

Binaries

The paste2qrcode binary does not take any interesting arguments.

paste2sms 📲 Sends the content of your clipboard as a SMS.

paste2sms is a small tool which send the content of your clipboard as a SMS: do you want to share that cool link you just found (on your computer) to your friend? Copy it, and run paste2sms to send it as a SMS.

A list of frequently asked questions is available there.

_images/screencast.gif

Rationale

Example 1

I mainly use my computer to browse; my wife mainly uses her cell phone to browse. When I wanted to share an URL with her, I could:

  • send her an email (too cumbersome for this task);

  • copy the URL in a file, transfer it to my phone by Bluetooth, open it from my phone, copy the link and paste it in a SMS (even more cumbersome).

With paste2sms, I simply copy the link, run paste2sms (which send the content of the clipboard as an SMS to my phone), and transfer this SMS.

Example 2

I suck at typing on a phone. Most of the time, when I want to send a SMS, I write it on my computer (with a real keyboard) using paste2sms, and, on my phone, I then forward it to its actual recipient.

Configuration file

A paste2sms.conf (or toto2titi.conf) configuration file must exists on your computer. An example is:

[general]
provider = freemobile
editor = gedit --wait --standalone {}

[provider:freemobile]
user = 12345678
password = s3cr37
  • Section general:

    • editor: Command line to be executed to edit the content of the SMS before sending it (where {} is replaced by a temporary file name). Can be ommited: in this case, a very simple text editor is used instead.

    • provider: Provider used to send the SMS. See Cell phone providers.

  • Section provider:FOO:

    This section contains the options of cell phone provider FOO. Each provider has its own set of options. See Cell phone providers.

The list of available cell phone providers is available here: Cell phone providers.

Binaries

The paste2sms binary does not take any interesting arguments.

wifi2qrcode 🌐 Display wifi credentials as a QR code.

Scanning this code with your smartphone will automatically connect it to this network.

Rationale

A friend is visiting you, and wants to connect her smartphone to your wifi network. Simply run this application, and her phone should automatically connect to your wifi when scanning this QR code.

Binaries

The wifi2qrcode binary does not take any interesting arguments.

Frequently Asked Versions

paste2sms

How can I send a SMS to someone else?

You cannot. I did not bother implementing this because my cell phone provider provides an API to send free SMS to myself. Then, on my smarthone, I copy-paste SMS to its recipient.

Patches are welcome to fix this.

Can I send images as MMS?

No. My phone provider provides a free API to send SMS, but not MMS, so I did not bother implementing it.

Patches are welcome to fix this.

Common

Where are the configuration files located?

The configuration files may be located in any directory of XDG_CONFIG_DIRS (typically ~/.config/toto2titi.conf). Options can be stored in the configuration file of their own application (paste2sms.conf, paste2file.conf, etc.) or in a common configuration file: toto2titi.conf.

Does it work on Windows or MacOS?

I don’t know. Most of toto2titi should be portable: pull requets are welcome…

Do you really consider the icons beautiful?

Not really. But I suck at drawing… Patches are welcome…

toto2titi 🗔 Common library

Cell phone providers

Here is the list of supported cell phone providers.

Right now, the only supported one is the one I use. Pull requests are welcome!

toto2titi.smsprovider.freemobile

A sendsms command line program is also provided by this package,.

Download and install

See the main project page for instructions, and changelog.

Indices and tables