You are here

How to force QjackCtl to open in the same postion and with the same window size

Hello Rui

Is there a trick to force QjackCtl's control / connection / messages windows to open in the same desktop position and size as used in the last session?

Simon

Forums: 
rncbc's picture

Doesn't it do just that? It ought to, at least since, uh, ever? :) Perhaps your WM is doing its own way? Or is it that QjackCtl is crashing on quit?
Seeya

sl's picture

Hi Rui

Judging by the gdb output QjackCtl is working fine and exited normally.

The messages and connections window open up on the previous position of the display - the control window defaults to the top left hand corner with a slightly smaller frame and thus the display texts overlap. I always have to stretch the control window a little to see the texts properly. Also I like to have the synth appss on the left hand side of the desktop (where I look first being a left to right reader) and put Qjackctl control window on the right hand side (I am a right handed mouse user and due the vagaries of the mind which I don't attempt to understand, I tend to park the cursor on the right hand side and thus I like having the transport controls there).

Best regards, Simon

PS: In which (hidden) file are the QjackCtrl settings stored?

bash-4.0$ gdb qjackctl
GNU gdb (GDB) Fedora (7.0.1-46.fc12)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/bin/qjackctl...Reading symbols from /usr/lib/debug/usr/bin/qjackctl.debug...done.
done.
(gdb) run
Starting program: /usr/bin/qjackctl
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffecc05710 (LWP 2454)]
[Thread 0x7fffecc05710 (LWP 2454) exited]
[New Thread 0x7fffecc05710 (LWP 2455)]
[Thread 0x7fffecc05710 (LWP 2455) exited]
Detaching after fork from child process 2456.
[New Thread 0x7fffecb84710 (LWP 2457)]
Detaching after fork from child process 2458.
[New Thread 0x7fffecc05710 (LWP 2462)]
[New Thread 0x7fffec383710 (LWP 2463)]
[Thread 0x7fffec383710 (LWP 2463) exited]
[Thread 0x7fffecc05710 (LWP 2462) exited]
Detaching after fork from child process 2470.
[Thread 0x7fffecb84710 (LWP 2457) exited]

Program exited normally.
Missing separate debuginfos, use: debuginfo-install OpenEXR-libs-1.6.1-8.fc12.x86_64 bzip2-libs-1.0.5-6.fc12.x86_64 dbus-libs-1.2.16-9.fc12.x86_64 expat-2.0.1-8.fc12.x86_64 fontconfig-2.8.0-1.fc12.x86_64 freetype-freeworld-2.3.11-1.fc12.x86_64 gamin-0.1.10-5.fc12.x86_64 glib2-2.22.5-1.fc12.x86_64 ibus-qt-1.3.0-1.fc12.x86_64 ilmbase-1.0.1-6.fc12.x86_64 jasper-libs-1.900.1-14.fc12.x86_64 kdebase-runtime-libs-4.4.3-1.fc12.1.x86_64 kdebase-workspace-libs-4.4.3-1.fc12.1.x86_64 kdelibs-4.4.3-2.fc12.x86_64 keyutils-libs-1.2-6.fc12.x86_64 krb5-libs-1.7.1-9.fc12.x86_64 lcms-libs-1.19-1.fc12.x86_64 libICE-1.0.6-1.fc12.x86_64 libSM-1.1.0-7.fc12.x86_64 libXcursor-1.1.10-1.fc12.x86_64 libXdmcp-1.0.3-1.fc12.x86_64 libXext-1.1-2.fc12.x86_64 libXfixes-4.0.4-1.fc12.x86_64 libXft-2.1.13-4.fc12.x86_64 libXi-1.3-2.fc12.x86_64 libXinerama-1.1-1.fc12.x86_64 libXpm-3.5.8-2.fc12.x86_64 libXrandr-1.3.0-5.fc12.x86_64 libXrender-0.9.5-1.fc12.x86_64 libXtst-1.0.99.2-3.fc12.x86_64 libacl-2.2.49-3.fc12.x86_64 libattr-2.4.44-1.fc12.x86_64 libcap-ng-0.6.2-3.fc12.x86_64 libcom_err-1.41.9-7.fc12.x86_64 libicu-4.2.1-7.fc12.x86_64 libjpeg-6b-46.fc12.x86_64 libmng-1.0.10-4.fc12.x86_64 libpng-1.2.43-1.fc12.x86_64 libselinux-2.0.90-5.fc12.x86_64 libtiff-3.9.2-3.fc12.x86_64 libuuid-2.16.2-9.fc12.x86_64 libxml2-2.7.6-2.fc12.x86_64 openssl-1.0.0-4.fc12.x86_64 portaudio-19-9.fc12.x86_64 qt-4.6.2-17.fc12.x86_64 qt-x11-4.6.2-17.fc12.x86_64 strigi-libs-0.7.2-2.fc12.x86_64 xz-libs-4.999.9-0.2.beta.20091007git.fc12.x86_64 zlib-1.2.3-23.fc12.x86_64
(gdb) q
bash-4.0$

rncbc's picture

In which (hidden) file are the QjackCtrl settings stored?
~/.config/rncbc.org/QjackCtl.conf
it's hidden alright but otherwise mentioned on the homepage (Configuration section). I guess nobody reads that anymore :)

Cheers

sl's picture

Hi Rui

Can I assume that "qjackctlMainForm" is the control window definition in the hidden config file?

If so the qjackctlMainForm\x-value is ignored when QjackCtl is started on my fc12 x86_64. All other values are correctly applied.

Best regards, Simon

[Geometry]
qjackctlMessagesForm\x=645
qjackctlMessagesForm\y=435
qjackctlMessagesForm\width=627
qjackctlMessagesForm\height=200
qjackctlMessagesForm\visible=true
qjackctlConnectionsForm\x=645
qjackctlConnectionsForm\y=127
qjackctlConnectionsForm\width=627
qjackctlConnectionsForm\height=281
qjackctlConnectionsForm\visible=true
qjackctlStatusForm\x=0
qjackctlStatusForm\y=0
qjackctlStatusForm\width=487
qjackctlStatusForm\height=230
qjackctlStatusForm\visible=false
qjackctlPatchbayForm\x=0
qjackctlPatchbayForm\y=0
qjackctlPatchbayForm\width=828
qjackctlPatchbayForm\height=322
qjackctlPatchbayForm\visible=false
qjackctlMainForm\x=645
qjackctlMainForm\y=0
qjackctlMainForm\width=627
qjackctlMainForm\height=100
qjackctlMainForm\visible=true

rncbc's picture

Which WM (window manager) ? Maybe it´s forcing initial window positioning no matter what...

Also take a look on Setup/Misc/Keep child windows on top option for side-effects re. your WM behavior.

Cheers

sl's picture

Hi Rui

Window manager is kwin (KDE 4.4.3), the child windows on top option is disabled.

Best regards, Simon

rncbc's picture

Same here (kwin 4.4.3).

Check out whether System Settings/Window Behavior/Advanced/Placement is out-smarting you ;)

BTW, maybe unrelated to the issue at hand, unset "Hide utility windows for inactive applications" if you think that other QjackCtl/Setup/Misc/"Keep child windows always on top" may help in the process if turned on.

Seeya

sl's picture

Hi Rui

Thank you for your continued patience

In System Settings->Window Behavior->Advanced I have reselected placement to be 'economical' and unchecked Hide utility windows for inactive applications ....

The main QjackCtl window now opens in the last saved position :-)

The QjackCtl window length still defaults to the installed length, whereby on my system the texts overlap. Any ideas?

Best regards, Simon

rncbc's picture

turn off button text labels. by this time, you don't need them anymore =) -> Setup/Misc/Buttons

Add new comment