Skip to main content
Topic: Plank error. wnck_set_client_type: changing the client type is not supported. (Read 256 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Plank error. wnck_set_client_type: changing the client type is not supported.

 Hello everyone. Please tell me why I am getting this error?

Code: [Select]
[CRITICAL 20:16:47.173510] [AbstractMain:255] Only X11 environments are supported.

Code: [Select]
$ XDG_SESSION_TYPE=x11 plank

[CRITICAL 21:27:23.122921] [Wnck] wnck_set_client_type: changing the client type is not supported.
[WARN 21:27:23.213743] [Preferences:192] '/usr/share/plank/themes/Default/dock.theme' is read-only!

Forgot to tell you that I'm using
Code: [Select]
Lxqt + Kwin + Plank


Code: [Select]
$ echo $XDG_SESSION_TYPE
tty

$ env | grep "XDG_SESSION"
XDG_SESSION_CLASS=user
XDG_SESSION_ID=1
XDG_SESSION_TYPE=tty



Re: Plank error. wnck_set_client_type: changing the client type is not supported.

Reply #1
I've tried making these entries in.xinitrc

Code: [Select]
 $ nano .xinitrc 

XDG_SESSION_TYPE=x11
 exec startlxqt
plank can start but every time the plank reboots it disappears, how do I make it so that plank is always there when I start startx?
 I tried this option
Code: [Select]
XDG_SESSION_TYPE=x11 plank 
exec startlxqt
But after rebooting, I only see plank and black screen. As I understand it, there is a conflict between Wayland and X11 or something like that.

Re: Plank error. wnck_set_client_type: changing the client type is not supported.

Reply #2
Code: [Select]
XDG_SESSION_TYPE=x11 plank &
If you don't background plank exec startlxqt does not get executed (at least until plank exits).
Disclaimer: I have no idea what plank is.

 

Re: Plank error. wnck_set_client_type: changing the client type is not supported.

Reply #3
Code: [Select]
XDG_SESSION_TYPE=x11 plank &
If you don't background plank exec startlxqt does not get executed (at least until plank exits).
Disclaimer: I have no idea what plank is.

Thank you very much, your recommendation worked! Now when I exit the session and re-enter the plank on the spot. I was recommended to use crystal-dock, it is written in C++   https://github.com/dangvd/crystal-dock (GPL-3.0 license), it was great if it was included in the repository. I'll try to install and use it.

 
Artix forum uses a single cookie to remember youOK