How to create a Qtractor color scheme

Support & discussion regarding DAWs and MIDI sequencers.

Moderators: MattKingUSA, khz

Post Reply
User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

How to create a Qtractor color scheme

Post by bluebell »

Hi all,

how can I create Qtractor color schemes based on the default layout?

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
rncbc
Established Member
Posts: 1060
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 256 times
Contact:

Re: How to create a Qtractor color scheme

Post by rncbc »

bluebell wrote:Hi all,

how can I create Qtractor color schemes based on the default layout?
you have two hard-coded color themes available, named "Wonton Soup" and "KXStudio" or else "(default)" for the current DE's. the later might be user-defined if you know your way to `qtconfig` noting that the changes you set to color palette (or color theme) it will apply globally to *all* Qt4 applications thereafter, not just qtractor (built as from ./configure --enable-qt4 ...).

byee
cheers
User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: How to create a Qtractor color scheme

Post by bluebell »

I found http://www.informit.com/articles/article.aspx?p=1405556

1.) create a file with

Code: Select all

qtractorTimeSpinBox {
  color: #000000;
  background-color: #ffffff;
}

qtractorTempoSpinBox {
  color: #000000;
  background-color: #ffffff;
}
2. Start Qtractor with

Code: Select all

qtractor -stylesheet /path/to/this/file
3. Enjoy black text on white background in the two boxes for position and bpm.

EDIT: Unfortunately it has some side effects and enlarges fonts in the mixer strips. WTF?

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
rncbc
Established Member
Posts: 1060
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 256 times
Contact:

Re: How to create a Qtractor color scheme

Post by rncbc »

ho ho ho,

as of Qtractor v0.9.3 you may now create and edit new custom color themes (aka. color palette)
cf. menu View > Options... > Display > Custom > Color theme [...]

cheers && merry X-mas && happy NYE :)
User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: How to create a Qtractor color scheme

Post by bluebell »

Yes, but I can’t find the black background and green foreground for the position- and time-boxes, so I think they're not yet adressable this way.

Or am I just blind?

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
rncbc
Established Member
Posts: 1060
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 256 times
Contact:

Re: How to create a Qtractor color scheme

Post by rncbc »

bluebell wrote:Yes, but I can’t find the black background and green foreground for the position- and time-boxes, so I think they're not yet adressable this way.

Or am I just blind?
no but those are hard-coded fixed; however be advised, that there are some widget styles (notoriously the "Gtk2" one, which is the default on GTk based DEs like Gnome and Xfce) that happen to override the whole of the system color palette/theme no matter which one you select or create--for best results always use the "Fusion" widget style.

cheers
User avatar
milkii
Established Member
Posts: 477
Joined: Tue Jan 05, 2016 9:08 am
Location: Edinburgh
Has thanked: 92 times
Been thanked: 91 times
Contact:

Re: How to create a Qtractor color scheme

Post by milkii »

rncbc - merry season to you, and thank you for your work!

they/them ta / libreav.org / wiki.thingsandstuff.org/Audio and related pages / gh

Post Reply