ΕΕΛ/ΛΑΚ - Λίστες Ταχυδρομείου

Re: Endiaferon project

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Here is a list of commands to run in a terminal in order to install all
needed packages for wiimote and whiteboard in ubuntu 8.10. It creates
two profiles: multimedia and presentation. <br>
Multimedia is the default and has volume up/down/mute, next, previous.
forward,backward, play/pause and<br>
Presentation is for presentations it supports Slide show (F5), Stop
(Esc), white (w) and volume. You can enable this by running :<br>
sudo ln -fs /etc/cwiid/wminput/presentation /etc/cwiid/wminput/default<br>
<br>
[code]<br>
sudo su<br>
wget -O /tmp/whiteboard_0.3.4.2-0ubuntu2automated_i386.deb
<a class="moz-txt-link-freetext" href="http://linux-whiteboard.googlecode.com/files/whiteboard_0.3.4.2-0ubuntu2automated_i386.deb";>http://linux-whiteboard.googlecode.com/files/whiteboard_0.3.4.2-0ubuntu2automated_i386.deb</a><br>
apt-get install wminput wmgui lswm<br>
apt-get install libgtkmm-2.4-1c2a libglademm-2.4-1c2a libcairomm-1.0-1
libglibmm-2.4-1c2a libpangomm-1.4-1<br>
dpkg -i /tmp/whiteboard_0.3.4.2-0ubuntu2automated_i386.deb<br>
rm /tmp/whiteboard_0.3.4.2-0ubuntu2automated_i386.deb<br>
#lswm<br>
grep uinput /etc/modules || echo uinput &gt;&gt; /etc/modules<br>
modprobe uinput<br>
file=/etc/cwiid/wminput/mmedia<br>
echo "Wiimote.A       = BTN_LEFT" &gt; $file<br>
echo "Wiimote.B       = BTN_RIGHT" &gt;&gt; $file<br>
echo "Wiimote.Up      = KEY_PREVIOUSSONG" &gt;&gt; $file<br>
echo "Wiimote.Down    = KEY_NEXTSONG" &gt;&gt; $file<br>
echo "Wiimote.Left    = KEY_BACK " &gt;&gt; $file<br>
echo "Wiimote.Right   = KEY_FORWARD" &gt;&gt; $file<br>
echo "Wiimote.Minus   = KEY_VOLUMEDOWN" &gt;&gt; $file<br>
echo "Wiimote.Plus    = KEY_VOLUMEUP" &gt;&gt; $file<br>
echo "Wiimote.Home    = KEY_MUTE" &gt;&gt; $file<br>
echo "Wiimote.1       = KEY_PROG1" &gt;&gt; $file<br>
echo "Wiimote.2       = KEY_PAUSE" &gt;&gt; $file<br>
echo "Plugin.ir_ptr.X = ABS_X" &gt;&gt; $file<br>
echo "Plugin.ir_ptr.Y = ABS_Y" &gt;&gt; $file<br>
file=/etc/cwiid/wminput/presentation<br>
echo "Wiimote.A       = BTN_LEFT" &gt; $file<br>
echo "Wiimote.B       = BTN_RIGHT" &gt;&gt; $file<br>
echo "Wiimote.Up      = KEY_UP" &gt;&gt; $file<br>
echo "Wiimote.Down    = KEY_DOWN" &gt;&gt; $file<br>
echo "Wiimote.Left    = KEY_LEFT" &gt;&gt; $file<br>
echo "Wiimote.Right   = KEY_RIGHT" &gt;&gt; $file<br>
echo "Wiimote.Minus   = KEY_VOLUMEDOWN" &gt;&gt; $file<br>
echo "Wiimote.Plus    = KEY_VOLUMEUP" &gt;&gt; $file<br>
echo "Wiimote.Home    = KEY_ESC" &gt;&gt; $file<br>
#echo "Wiimote.Home    = KEY_MUTE" &gt;&gt; $file<br>
echo "Wiimote.1       = KEY_F5" &gt;&gt; $file<br>
echo "Wiimote.2       = KEY_COMMA" &gt;&gt; $file<br>
#echo "Wiimote.2       = KEY_DOT" &gt;&gt; $file<br>
echo "Plugin.ir_ptr.X = ABS_X" &gt;&gt; $file<br>
echo "Plugin.ir_ptr.Y = ABS_Y" &gt;&gt; $file<br>
ln -fs /etc/cwiid/wminput/mmedia /etc/cwiid/wminput/default<br>
echo "case \"\$1\" in" &gt; /etc/init.d/wiimote<br>
echo "  start)" &gt;&gt; /etc/init.d/wiimote<br>
echo "        wminput -d &amp;" &gt;&gt; /etc/init.d/wiimote<br>
echo "        ;;" &gt;&gt; /etc/init.d/wiimote<br>
echo "  stop)" &gt;&gt; /etc/init.d/wiimote<br>
echo "    pkill wminput" &gt;&gt; /etc/init.d/wiimote<br>
echo "    ;;" &gt;&gt; /etc/init.d/wiimote<br>
echo "esac" &gt;&gt; /etc/init.d/wiimote<br>
chmod +x /etc/init.d/wiimote<br>
update-rc.d wiimote defaults 99<br>
[/code]<br>
<br>
<br>
Is automated and you dont need to do anything but press 1&amp;2 on
wiimote to start using it. It also enables it after each restart.<br>
<br>
<br>
<br>
<br>
Depending on your favorite player you have to change shortcuts in order
to work with it:<br>
<br>
--Amarok<br>
Amarok -&gt; Settings -&gt; Configure Shortcuts<br>
Play/Pause -&gt; Click Custom -&gt; Click on Button -&gt; Click on
Alternate Shortcut Button -&gt; Press Wii Button 2 (It should Add
"Pause")<br>
Seek Backward -&gt; Click Custom -&gt; Click on Button -&gt; Click on
Alternate Shortcut Button -&gt; Press Wii Left Arrow (It should Add
"XF86Back")<br>
Seek Forward -&gt; Click Custom -&gt; Click on Button -&gt; Click on
Alternate Shortcut Button -&gt; Press Wii Right Arrow (It should Add
"XF86Forward")<br>
<br>
--VLC<br>
--some keys do not work <img
 src="cid:part1.00080809.04080400@gmail.com" alt="" title="Sad"
 class="inlineimg" border="0"><br>
VLC -&gt; Tools -&gt; Preferences -&gt; HotKeys<br>
Next -&gt; Click in Editbox -&gt; Press Wii Down Arrow (It should Add
"Media Next Track") -&gt; Click Set<br>
Previous -&gt; Click in Editbox -&gt; Press Wii Up Arrow (It should Add
"Media Prev Track") -&gt; Click Set<br>
Click Save<br>
</body>
</html>

GIF image

απαντήσεις

αναφορές

πλοήγηση μηνυμάτων