You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, February 16th 2005, 3:09am

Can I get the desktop name in a Konsole shell

I'd like to be able to assign Konsole windows to a desktop and retrieve which desktop it's on.

I intend to use this function to put the name of the desk top in the title bar of the Konsole Window.

Thanks,
Norm

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Thursday, February 17th 2005, 4:53pm

Source code

1
dcop kwin KWinInterface currentDesktop

This returns the number of the currently active desktop

Cheers,
_
Qt/KDE Developer
Debian User

3

Sunday, February 20th 2005, 10:56pm

Thanks...

Is there then a way to get the actual assigned desktop name?

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Monday, February 21st 2005, 1:33pm

Hmm, I am afraid I don't know any.

Actually the naming is very likely only some property of the pager.

Cheers,
_
Qt/KDE Developer
Debian User

5

Monday, February 21st 2005, 8:07pm

Thanks anyway for the info about being able to find the desktop Index.

I'll keep searching for any way to get the desktop name out.

Cheers,
Norm