View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#7
Originally Posted by debernardis View Post
Ta-dah! Full screen xfce4 (with abiword, openoffice and all the band) along with hildon-matchbox and those other odd things. Two worlds together! I am verrrrry happy :-)
Don't you find two windows managers to be terribly slow? I do.

But, if you want to go the two-WM route, I suggest looking into the VNC method:

VNC METHOD
  • Install tightvncserver in Debian
  • Install VNC Viewer in OS2008
  • Run the following command in Debian: vncserver -geometry 770x770
  • Use VNC Viewer to view localhost:1
  • When you're done with xfce4, in Debian: vncserver -kill :1

This method has the following advantages:
  • Full Hildon virtual keyboard support
  • Right-click support
  • Large virtual desktop (with a convenient vertical scroll-bar)

However, for anyone interested in getting this to work with Xephyr (come on, you know you do), within Debian you'll need to:

XEPHYR METHOD

Code:
apt-get install xserver-xephyr
apt-get install wmctrl
I assume you already have xfce4 installed, since it comes as default for the current Debian install.

Then, I suggest a little script (/usr/bin/xephce4 ? ) with something like the following:
Code:
#!/bin/sh
#---------------------------------------
#Start the Xephyr server. Don't use host-cursor! There is none!

export DISPLAY=:0
Xephyr :1 -screen 800x480x16 -dpi 96 -ac &

#---------------------------------------
#Make Xephyr full screen and bring it to the front.

wmctrl -r Xephyr -b toggle,fullscreen
wmctrl -a Xephyr

#---------------------------------------
#Make a bunch of important files writable
#by the user. Maybe not needed in all setups.

chown user /home/user/.ICEauthority
chgrp users /home/user/.ICEauthority
chown user /home/user/.cache
chgrp users /home/user/.cache
chown user /home/user/.dbus/session-bus
chgrp users /home/user/.dbus/session-bus

#---------------------------------------
#run xfce4 as user.
su user -c 'export DISPLAY=:1; xfce4-session' &
As always, remember to chmod +x /usr/bin/xephce4. Also, you need to run this as root in Debian, so don't use the "hilda" script. You should just do (from OS2008):

Code:
sudo debian xephce4
You'll need to use wmctrl -a Xephyr or that kciconsbox program to get back to your xfce4 desktop when you "lose" it.

Advantages of this method:
  • Very cool.
  • It seems faster. Anyone want to do time trials?
  • Pressure sensitivity should work Nope.



Originally Posted by debernardis View Post
My present 6gigs has become insufficient for that debianosaurus.
That's a good word for it. I constantly have to free up space by looking through my installed packages and removing stuff that I tried once and haven't used again... I'm still trying to find a good media player.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-06-28 at 06:06. Reason: added headings