Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-11-06 01:06:36

ArON
Member
Registered: 2018-11-06
Posts: 13

[SOLVED]How to create a launcher with a qt environment variable?

Hi,

I need to set QT_SCREEN_SCALE_FACTORS=2 for a qt application (f3-qt).

QT_SCREEN_SCALE_FACTORS=2 f3-qt

runs well from the terminal.

How do I create a launcher with that environment variable?

Thanks!

Last edited by ArON (2018-11-06 17:06:14)

Offline

#2 2018-11-06 02:13:41

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

Re: [SOLVED]How to create a launcher with a qt environment variable?

Hello and welcome.

Try the following as the command:

env QT_SCREEN_SCALE_FACTORS=2 f3-qt

...in the launcher properties.


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

#3 2018-11-06 17:05:29

ArON
Member
Registered: 2018-11-06
Posts: 13

Re: [SOLVED]How to create a launcher with a qt environment variable?

It works. TIL. Thanks!

Offline

Board footer

Powered by FluxBB