Giter Club home page Giter Club logo

dsbexec's Introduction

DSBExec - a graphical Qt tool to execute programs

About

DSBExec is a graphical Qt tool to execute programs. It supports auto completion, a command history, and allows running programs as root using DSBSu.

Main window

installation

Dependencies

Getting the Source Code

% git clone https://github.com/mrclksr/DSBExec.git

Building and Installation

$ cd DSBExec
$ cmake -S . -B build
$ cmake --build build

Then as root run

# cmake --install build

Development

Contributing Translations

Available Translations

  • French

  • German

Instructions

Let’s say you want to add French translations, you can proceed as follows:

  1. Create a fork of this repo, and clone it:

    % git clone url-of-your-fork
  2. Install devel/qt6-tools

  3. cd to your-forked-dsbexec-dir

  4. Add locale/dsbexec_fr.ts to the TS_FILES list in CMakeLists.txt.

  5. In order to create the dsbexec_fr.ts file, run

% cd your-fork
% cmake -S . -B build
% cmake --build build -t dsbexec_lupdate
  1. Run linguist6 locale/dsbexec_fr.ts

  2. Add the file to the repo: git add locale/dsbexec_fr.ts

  3. Commit: git commit -am 'Add French translations.'

  4. Send a pull request.

Configuring the Look and Behavior of Qt6 Applications

If you are not using a desktop environment that takes care of your Qt application’s look and behavior, you can use qt6ct together with the Kvantum theme engine.

qt6ct and the Kvantum theme engine

qt6ct

qt6ct is a tool that allows you to configure themes, fonts, and icons of Qt6 applications. It can be installed via pkg

# pkg install qt6ct

or via the FreeBSD ports:

# cd /usr/ports/misc/qt6ct
# make install

In order to make Qt6 applications use qt6ct, add the line export QT_QPA_PLATFORMTHEME=qt6ct to one of the following files, depending on how you start your X session:

Table 1. Session Files
X Session Start Method File

SliM, startx, xinit

~/.xinitrc

GDM, LightDM, LXDM, SDDM

~/.xprofile

WDM, XDM

~/.xsession

Alternatively, you can add the line to your window manager’s startup script, or, if you are using a Bourne shell compatible login shell, to your ~/.profile.

After loggin out and in again, proceed with the next section.

Kvantum

Kvantum is a SVG-based theme engine for Qt, KDE and LXQt. Install it via pkg:

# pkg install Kvantum-qt6

or via the FreeBSD ports:

# cd /usr/ports/x11-themes/Kvantum
# make install distclean

Start qt6ct and choose kvantum under AppeareanceStyle, and press Ok.

💡

You can use Kvantum directly without qt6ct by setting QT_STYLE_OVERRIDE=kvantum. Note, however, that the Kvantum Manager lacks the ability to change fonts and the icon theme.

Now you can start kvantummanager to set, install and configure themes.

💡

You can download Kvantum themes from KDE Store. Unpack them, and use the Kvantum Manager to install new themes.

dsbexec's People

Contributors

mrclksr avatar probonopd avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

dsbexec's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.