How to port your Telegram Desktop theme to Android

How to port your Telegram Desktop theme to Android

LKD70

This is a small run through of how to port a tdesktop-theme file to an .attheme file so it can be used on Android.

In this I make use of a project called TDeskDroid by MrYadro, though eventually I may edit this to use a telegram bot or a website.


Video tutorial (use full HD, my recorder is dodgy so it is pretty bad quality)


Download and Install Python 3

  1. Download Python 3.6.0 (NOT 2.7.13)
  2. Run the downloaded file and select: Customise Installation
Second Option in installer

3. Click Next until you reach the Advanced Options dialog; in here select Add Python to environment variables and click Install.

Installation Prompt

4. Check your install worked by opening a Command Prompt (WINkey+r) and typing: cmd Hit enter and a black box should appear, in this, type: python -V (Capital V). If all worked well, this will return: Pyth0n 3.6.0



Set up the TDeskDroid project

  1. Now download THIS project from GitHub and extract it in a folder somewhere...
  2. open the folder and right click on any blank space whilst holding the SHIFT key to show a menu rather like this one:
Right click+SHIFT menu.

3. Click Open Command Window Here to open a new Command Prompt in that directory.

4. From here type the following: pip install -r requirements.txt This will install the required libraries for this to work.

5. Copy and paste your YOUR_THEME.tdesktop-theme file in to the folder.

Example: My folder.

6. In the command window you can now type: python main.py to run the program.

Et voila!

If you followed all the steps correctly, you should see something like this:

Folder display after completing conversion


As you can see there's an attheme folder, in here is your converted theme.

I hope this helped you convert your theme; If so, don't forget to share it with us all in the Telegram Themes Group.

If you found an issue with this guide or come across an error, please contact @LKD70 on telegram. Do not contact me expecting me to convert a theme or set this up for you, thanks.

Happy Theming!



Report Page