Yet another alternative to Xnest: not nested at all!

Posted on December 13, 2006
Filed Under Programming / KDE |

Daniel Molketin wrote about Xephyr, a better application for nesting X-servers (like xnest). I did not yet try Xephyr because it is not in Gentoo’s portage (is it? What name is it?) so I had to look for another easy way of programming KDE 4 apps. And in fact, it is the most simple one: just use a virtual desktop!

So, the simple steps:

  1. Allow other users in your current (kde 3) X session:
    $ xhost +
  2. Become your kde4 user:
    $ su kdedev
    $ cd ~
  3. And that’s all, now start up your apps:
    $ dbus-launch dolphin&

This is only useful when you don’t need a full blown session to be running, so this way a lot of things could still be done!

tip: Getting confused of K4 apps on a K3 session? In that case it could be useful to change the color scheme of your kde4 user.

$ kcmshell colors
And now you just pick a color that does not combine with your current theme :). This is also useful for the root user (e.g. a dark-red theme).

Hopefully this is useful for you guys!

Alternative to Xephyr

Comments

One Response to “Yet another alternative to Xnest: not nested at all!”

  1. Rik on December 20th, 2006 14:28

    I’m sure you’ll explain it to me in the pub ;)

Leave a Reply