Skip to main content

Edit autostart entries on Linux

Project description

jdSimpleAutostart

Edit autostart entries on Linux

jdSimpleAutostart

jdSimpleAutostart allows you to manage the autostart entries of your Desktop according to the Freedesktop Specification. It is made to work on all Desktop Environments, therefore it only supports the Basic Features. Your Desktop Environment may have a Program that supports some custom features of your Desktop.

Install

Flatpak

You can get jdSimpleAutostart from Flathub

AUR

Arch Users can get jdSimpleAutostart from the AUR

pip

You can install jdSimpleAutostart from PyPI using pip:

pip install jdSimpleAutostart

Using this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdSimpleAutostart from the Command Line. Use this only, when nothing else works.

From source

This is only for experienced Users and someone, who wants to package jdSimpleAutostart for a Distro. jdSimpleAutostartshould be installed as a Python package. You can use pip or any other tool that can handle Python packages. YOu need to have lrelease installed to build the Package. After that, you should run install-unix-datafiles.py which wil install things like the Desktop Entry or the Icon in the correct place. It defaults to /usr, but you can change it with the --prefix argument. It also applies the translation to this files. You need gettext installed to run install-unix-datafiles.py.

Here's a example of installing jdSimpleAutostart into /usr/local:

sudo pip install --prefix /usr/local .
sudo ./install-unix-datafiles.py --prefix /usr/local

Translate

You can help translating jdSimpleAutostart on Codeberg Translate

Develop

jdSimpleAutostartis written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both. You can run jdSimpleAutostart.pyto start jdSimpleAutostart from source and test your local changes. It ships with a few scripts in the tools directory that you need to develop.

CompileUI.py

This is the most important script. It will take all .ui files in jdSimpleAutostart/ui and compiles it to a Python class and stores it in jdSimpleAutostart/ui_compiled. Without running this script first, you can't start jdSimpleAutostart. You need to rerun it every time you changed or added a .ui file.

BuildTranslations.py

This script takes all .ts files and compiles it to .qm files. The .ts files are containing the translation source and are being used during the translation process. The .qm contains the compiled translation and are being used by the Program. You need to compile a .ts file to a .qm file to see the translations in the Program.

UpdateTranslations.py

This regenerates the .ts files. You need to run it, when you changed something in the source code. The .ts files are contains the line in the source, where the string to translate appears, so make sure you run it even when you don't changed a translatable string, so the location is correct.

UpdateUnixDataTranslations.py

This regenerates the translation files in deploy/translations. these files contains the translations for the Desktop Entry and the AppStream File. It uses gettext, as it is hard to translate this using Qt. These files just exists to integrate the translation with Weblate, because Weblate can't translate the Desktop Entry and the AppStream file. Make sure you run this when you edited one of these files. You need to have gettext installed to use it.

Credits

Icon Source

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jdsimpleautostart-1.5.tar.gz (167.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jdsimpleautostart-1.5-py3-none-any.whl (169.8 kB view details)

Uploaded Python 3

File details

Details for the file jdsimpleautostart-1.5.tar.gz.

File metadata

  • Download URL: jdsimpleautostart-1.5.tar.gz
  • Upload date:
  • Size: 167.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for jdsimpleautostart-1.5.tar.gz
Algorithm Hash digest
SHA256 0666a34308e6218c9eb55d1647d1f9845afbb34f1f5e06960de1aeb3f6019511
MD5 97989dac371785b272e82e1e58e02fc6
BLAKE2b-256 a9afc568e4f20047d17a5c027c086400437413875e6a0c5d2d4e21ee1f3fe0fb

See more details on using hashes here.

File details

Details for the file jdsimpleautostart-1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for jdsimpleautostart-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3358e1c2eea3d4e02ac71a30c21a2dcd9f6be0c82fce6c6dd4a99f1f845c0d01
MD5 cb8fa4163b12c7dd733862d6898d2325
BLAKE2b-256 9805e2ad7a41f27e14257d308de36d155cdaabefdd761846ae4f5d64421767be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page