Having compiled Squeezeplay-7.5 with your help I thought I would try to
use it in conjunction with VNC again to make my old N770 a 'Controller'
again.
These are the steps I took so far:
1) Install tightvncserver on my (Ubuntu) box:
'sudo apt-get install tightvncserver'
2) Start it up once to get needed configuration files created:
'vncserver'
3) Set a password for VNC to get minimal security: 'vncpasswd'
4) Install openbox, which is needed to get a nice fullscreen decor-less
SP
window: 'sudo apt-get install openbox'
5) Make vncserver run openbox at startup by adjusting
'~/.vnc/xstartup'.
This is mine:
Code:
--------------------
#!/bin/sh
unset SESSION_MANAGER
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry
80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
openbox-session &
--------------------
6) If not already present create a file
'~/.config/openbox/autostart.sh' to start Squeezeplay (don't forget to
make it executable). Mine looks like this:
Code:
--------------------
/home/squeeze/squeezeplay/build/linux/bin/squeezeplay.sh &
--------------------
If I had installed Squeezeplay to /opt/ like jhong it would look like
this:
Code:
--------------------
/opt/squeezeplay/bin/squeezeplay.sh &
--------------------
7) Make Sqeezeplay appear fullscreen and without window decorations.
Create a file '~/.config/openbox/rc.xml' with these contents:
Code:
--------------------
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc">
<applications>
<application name="jive">
<decor>no</decor>
<fullscreen>yes</fullscreen>
</application>
</applications>
</openbox_config>
--------------------
8) Make vncserver start at startup with the right resolution for the
N770. Adjust '/etc/rc.local' like this (substitute YOUR_LOGIN with your
username):
Code:
--------------------
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sudo -b -H -u YOUR_LOGIN /usr/bin/vncserver :11 -geometry 800x480
exit 0
--------------------
Hopefully I didn't miss any of the steps I took. ;)
The biggest part is still missing, namely adjusting the Squeezeplay
skin (WQVA Little Font) to the screen size and resolution of the N770.
So far I only made it's window be 800x480 in resolution. :)
signorRossi.
--
signor_rossi
------------------------------------------------------------------------
signor_rossi's Profile: http://forums.slimdevices.com/member.php?userid=11941
View this thread: http://forums.slimdevices.com/showthread.php?t=70556
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix