Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-03-03 18:40:28

ctac
Member
Registered: 2017-05-08
Posts: 57

GTK+ modules

Hi
1 )
A lot of xfce applications get a command line option --gtk-module=MODULES
mousepad get that, so how this work with it ?
What module can I load ?
If someone can give a simple example ?
2 )
man mousepad give a -q option : Quit a running Mousepad instance
How this work ?
I get :

(mousepad:1372): Mousepad-ERROR **: 19:23:57.822: Option inconnue -q
Trappe pour point d'arrêt et de trace

Nothing about the -q option in :

mousepad --help-all

Offline

#2 2019-03-03 20:10:20

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: GTK+ modules

ctac wrote:

Hi
1 )
A lot of xfce applications get a command line option --gtk-module=MODULES
mousepad get that, so how this work with it ?
What module can I load ?
If someone can give a simple example ?

Gtk Modules (if I understand correctly) are additional pieces of code to enable functionality that can be set as environment variables (loaded for all GTK apps) or as parameters for specific applications. Examples of Gtk Modules are:

To be able to load these modules, you must first install their associated packages into your system.

2 )
man mousepad give a -q option : Quit a running Mousepad instance
How this work ?
I get :

(mousepad:1372): Mousepad-ERROR **: 19:23:57.822: Option inconnue -q
Trappe pour point d'arrêt et de trace

Nothing about the -q option in :

mousepad --help-all

In newer versions of mousepad, this has been fixed. "-q" works to quit running mousepad instances. I can't find an existing bug report or commit that fixed the issue, though. As a workaround, if you need to quit all running mousepad instances, you can use:

pkill mousepad

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 8 queries executed - Memory usage: 524 KiB (Peak: 524.84 KiB) ]