Usage¶
Gabbia is not intended to run alone without an application, it will always require an application to be launched together with Gabbia.
When the application exits, Gabbia also quits.
Command line¶
To start Gabbia with an application, use
gabbia <APPLICATION>
For example, to launch Supertuxkart, use
gabbia supertuxkart
If you want to provide additional parameters, use --
gabbia -- firefox https://gabbia.org/
See man page and gabbia.Config for a list of options.
Python lib¶
In order to be able to use Gabbia in other projects, it offers the
gabbia.run() function, which expects an optional configuration in
addition to the application to be started.
Note
Please note that the code is blocking. It is the caller’s responsibility
to use multiprocessing or other technologies.
import gabbia
gabbia.run('alacritty')
See gabbia.Config for details
import gabbia
from gabbia import Config
gabbia.run('alacritty', config=Config(keyboard_layout='de'))