[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kde command line desktop switching



Ivan Glushkov ha scritto:
Hi,

Does anybody know a shell command that switches to the next desktop in KDE? I am developing a small C++ application which creates a few windows, which would overlap in one desktop, so I was wondering of there is a way to make them appear on two desktops.

You might want to have a look at dcop, too. In its man page you will find exactly the example you need:
$ dcop kwin KWinInterface nextDesktop
Another possibility:
$ dcop kdesktop KDesktopIface switchDesktops <n>
where <n> is an integer that tells how many desktops to skip (can be negative).

Cheers,
Davide

--
A tautology is a thing which is tautological.
--
Time flies like an arrow.  Fruit flies like a banana.



Reply to: