Skip to content

Qt Quick Controls 2 - Linux Manager Desktop Application

License

Notifications You must be signed in to change notification settings

dimkatsi91/Manager_v2

Repository files navigation

Qt Quick Linux Manager Utility - Application

Title : Linux Manager Application
Author : Dimos Katsimardos
Date : Janvier 06, 2020
IDE : Qt Creator 4.11.0 Open Source Community Edition
Tools : Qt 5.14.0 Open Source Community Edition, QML, C++
Applicable : Every Linux distribution

  • Description: This is a custom Qt Quick Application for Linux Desktop. User has the ability create or remove a new or existing user from its Linux Desktop by providing his/her credentials. Also, the user has the ability to create, rename or remove a group from the system. Last, there is provided an option for a few system related information, like for example: the current real users and groups that exist in the Linux system, the available shells of the target system, the Networking Interfaces, the Routing tableand the Firewall configuration of the system for every possible Firewall Table, like for example Filter, RAW, Security and Mangle.

  • Manager Interface:

Manager


  • Deployment via CQtDeployer :

    1. Build in Qt Creator in 'Release' mode

    2. Clean project

    3. Enter terminal inside release folder where Manager_v2 is located

    4. install CQtDeployer

    5. Run next command to generate a Distribution/ folder for generate Distribution in out folder :

      make deploy
      
    6. Run this Distribution/bin/Manager_v2 executable to launch application


  • Update: December 29, 2020 (tested under Ubuntu 18.04/20.04) Deployment procedure/guide through appimagetool and linuxdeployqt:

Step I:

$ /home/$USER/Downloads/linuxdeployqt*.AppImage /path-to-this-build-Release-version/Manager_v2 -qmake=/path-to-Qt-qmake/qmake [-unsupported-allow-new-glibc]

Step II:

Create a Manager_v2.desktop file, like next one (also use a manager_v2.png (256x256) file to be used as the AppImage's icon):

[Desktop Entry]
Type=Application
Name=Linux Desktop Manager_v2 App
Comment=Qt Quick Controls 2 Linux Desktop Application
Exec=Manager_v2
Icon=manager_v2
Categories=Settings;Development

Step III:

$ /home/$USER/Downloads/appimagetool-x86_64.AppImage /path-to-this-build-Release-version/

  • Example I : Adding a new group in the system :  
    • Provide credentials, long press Submit to activate & press this button

      credentials

    • List users before new user creation

      cat_users_apriori

    • Type new user information and press the button CREATE

      create_new_user

    • List users after new user creation

      cat_users_aposteriori

    • BONUS: Check IPv4 Firewall configuration for Mangle Table

      ip4tables_Mangle