You are not logged in.

1

Wednesday, March 2nd 2005, 6:55am

X window decorations in KDE

I'm desperately trying to figure out how to create application window
without any borders.

The X server is XFree86 version 11.0
KDE version is 3.1.3-6.2 Red Hat
Kernel version is 2.3.21-4.EL

X client is a AIX machine.

When X server in my computer accepts a request from REMOTE client, my server needs to create a window without borders. I also need to get rid of line containing "menu, minimize, maximize and close"

In motif window manager this was propably done with following line in
.Xdefaults file:
application_name*clientDecoration: none

How to do this trick in Linux running Xfree86 x-server and KDE as window
manager.
Which part I should configure Xfree86 or KDE, or both?
Does this border removal require something from client application?

Hint: kstart --type Dock is not the right answer. Configuration must be done at X server not at X client.

Pasi Niemela

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Wednesday, March 2nd 2005, 1:50pm

As decorations are part of the window manager, you could use a different one than KWin.

But I guess KWin can also be persuaded to display a window without borders if it specifies the proper window manager hints.

Cheers,
_
Qt/KDE Developer
Debian User

3

Wednesday, March 2nd 2005, 6:46pm

The problem is that KDE has been defined to be our desktop environment. We have some custom made SW that takes advance close relation between QT and KDE.

I want to know if there is a similar way to configure KDE appearance as
there is with Motif window manager using xrdb and .Xdefaults file. See
advanced section in www-2.cs.cmu.edu/~help/downloads/
introduction/X_users_guide.pdf

X client is running in AIX machine with some other display manager than
KDE. So using kstart is out of question. And even if you try to start a
remote display with kstart "--type" option dont work. You can easily
test it by launcing a mahjongg game from a REMOTE client: "kstart --type
Dock kmahjongg --display=10.5.4.2:0.0", the result is that borders are
visible.

Pasi Niemela

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Thursday, March 3rd 2005, 9:15pm

Are you sure you need KWin to be the KDE window manager?

Cheers,
_
Qt/KDE Developer
Debian User

5

Saturday, March 5th 2005, 6:32pm

RE: X window decorations in KDE

Quoted

Originally posted by Pasi Niemela
I'm desperately trying to figure out how to create application window
without any borders.

The X server is XFree86 version 11.0
KDE version is 3.1.3-6.2 Red Hat
Kernel version is 2.3.21-4.EL


I think KDE (KWin) got that capability with KDE 3.3 (there's a Window Settings module in the Desktop section). Any chance to upgrade KDE?

6

Thursday, March 10th 2005, 8:29am

Updating KDE to 3.3 might be one solution.

But still I wonder if there is a way to control the outlook of X application from server side in following situation.

X client application in macine A needs user intervention. Unfortunately macine A dont have keyboard or display. So it has to send its user interface to machine B over TCP/IP network. B is a Linux running KDE so it is capable to act as a X server.

In case there are many client machines (A) and only one server (B) it might be clever to configure appearance of user interface only once at server side.

Pasi.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

7

Thursday, March 10th 2005, 2:30pm

Quoted

Originally posted by Pasi Niemela
In case there are many client machines (A) and only one server (B) it might be clever to configure appearance of user interface only once at server side.


You would just have to use a window manager which has this feature, either the one you already have experience with, or a new KWin if it also implements it.

Cheers,
_
Qt/KDE Developer
Debian User