Re: PATH Issue

2007-10-01 Thread Simon Pickering

 More newbie problems!
 I am trying to get ruby running on my 770.  I downloaded the tar  file and
 installed it in /var/lib/install/usr.  I created a .profile that  
 added that
 directory to the PATH.  After rebooting the 770, it does not seem  to be
 working properly.  Here is my .profile:

 This may not be directly related, but you are making life hard for  
 yourself installing things where they shouldn't be. It looks like  
 you've been reading the (very very) old packaging instructions.  
 Things are no-longer installed under /var/lib/install. Instead they  
 are installed in the usual location /usr/bin and so on. This makes  
 life easier when building things and also means the end user can  
 update the binaries that come pre-installed.

 It's still not working for me.  I logged in as root (sudo gainroot)
 and did this:
 cd /usr
 tar zxvf /media/mmc1/ruby-1.8.4.nok770d.tar.gz

 I then rebooted the computer.

I just grabbed the archive to take a look. My apologies, you were 
following the instructions in the archive to install it under 
/var/lib/install/. This is the way programs were installed on the very 
first version of the 2006 OS. You may therefore find that it won't work 
when installed under /usr as is the current method.

I would try it as is though before re-installing it. Check that the 
files it installed under /usr/bin (ruby is one of them) have execute 
permissions. This may be the cause of your current problem.

If ruby is unwilling to run from /usr (as it expects certain hard-coded 
paths for example), install it to /var/lib/install as you had it before 
and symlink the binaries in /var/lib/install/bin to /usr/bin.

I think finding a more up to date version of ruby would be the best bet 
though. Or asking the people at Rubyforge, where I think your version 
came from, to remove the --prefix=/var/lib/install/usr they used with 
configure.


Simon
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: PATH Issue

2007-10-01 Thread Frantisek Dufka
Mike Mellor wrote:
 
  ruby
 sh: ruby: not found
 
 What am I doing wrong?
 

Maybe you are trying IT2005 binary on 2006 or 2007 system? This won't 
work, recompiling is needed.

Frantisek.
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: PATH Issue

2007-10-01 Thread Frantisek Dufka
Frantisek Dufka wrote:
 Maybe you are trying IT2005 binary on 2006 or 2007 system? This won't 
 work, recompiling is needed.

You can verify this is the case via poor man's ldd i.e. running dynamic 
linker like this

Nokia-770-36:~# /lib/ld-2.3.6.so --list /bin/ls
 libcrypt.so.1 = /lib/libcrypt.so.1 (0x41628000)
 libc.so.6 = /lib/libc.so.6 (0x41028000)
 /lib/ld-linux.so.3 = /lib/ld-2.3.6.so (0x2a00)
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: gpe-calendar sounds!!!

2007-10-01 Thread Gary Baribault

Well folks, things did not quite go off as planned... I have the latest
OS immage, 2007, version 4.2007.26.8, and other than the base library
(Nokia catalog) I also have GPE Stable .. when I install gpe-contacts
and gpe-calendar, I get messages saying that installation failed. The
software IS installed, and mostly working, but contacts fails to import
basic vcards that are imported by the built in contact manager and the
calendar freezes, fails (aborts) and does not reliably have an audible
alarm.

I don't normaly sign EMails with my certs, because I find that
obnoxious, but I would like everyone to understand that I'm not a rank
amateur! I know SuSE and Red hat real well and have been in the industry
for 32 yeard ( Yep, I'm old!)


Gary Baribault
CISSP, RHCE, CCNP, MCSE
Consultant en sécurité informatique / Computer security consultant
Gary Baribault inc.ourriel: [EMAIL PROTECTED]
GPG Key: 0xEF3EBD1C
GPG Fingerprint: 5B1F 899B 4A7C A586 8388 6AFD 796B E68D EF3E 8D1C






Ryan Pavlik wrote:
 Use a newer version - 2.8 and newer have sounds.  (You do have to leave
 GPE Calendar running.)
 
 Make sure you're using the cobb.uk.net version -
 http://linuxtogo.org/~florian/maemo/ - follow the instructions at
 http://cleardefinition.com/page/Sync_Evolution_and_GPE_on_N800/
 
 Ryan
 Lars Persson Fink wrote:
 Gary,

 There is a bug #39 for this over at gpe.linuxtogo.org. I have no idea
 what the current status is.

 Regards,
 Lars Persson Fink

 On Thu, 27 Sep 2007 19:04:29 -0400
 Gary Baribault [EMAIL PROTECTED] wrote:

  
 Hey guys, I have been at Linux since 1998, but have worked RedHat and
 SuSE, this is my first shot at Debian.

 I have an IPaq, and laptop, and MP3 (Creative), but I would love to
 replace all that with the N800. I bought one three weeks ago and just
 love it.

 I'm quite hopefull that the ca-100 will soon be available in Canada.

 I would love if the GPE-Calendar would scream(make a sound) when an
 alarm was due .. is that possible? This is the last thing keeping the
 other devices in my laptop bag!!

 Thanks

 Gary B

 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users
 
 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users

   
 
 

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


powerlaunch - power key shortcuts

2007-10-01 Thread Austin Che

I'm releasing an initial test version of powerlaunch:
https://garage.maemo.org/projects/powerlaunch/

It's trying to go for a different type of launcher and system
interface. Some of the reasons that motivated me to work on this
came from issues I've had with the default UI:

- I want a way to be able to play and control music playing while
  the device is in my pocket.

- Launching programs quickly is not as easy as it could
  be. Finding the right button on the screen to push is difficult
  to do quickly and I'd rather use hardware keys with feedback.

- In bright light, it's difficult to see the screen well enough to
  turn up the brightness of the screen so I can see. Other devices
  have had buttons I could hold to at least temporarily turn on a
  backlight.

- I've realized I don't use any of the functions of systemui at
  all. I map the long powerkey to softpoweroff and that's the only
  thing I need to turn on/off the device. So the short power
  button press is completely wasted for me.

What powerlaunch does:

It replaces systemui. It actually pretends to be systemui so that
it can interact with the rest of the system properly. It
intercepts the powerkey press that normally brings up the system
menu and gives the user the option to display whatever they want
instead. 

All of the hardware keys (including power and home) can be bound
to do what the user wants (such as launch programs, lock the
device, reboot, whatever). It is extremely customizable via the
config file. The interface is also designed to be configurable
using glade.

There's an unlimited hierarchy/nesting of modes. For example, you
could map some arbitrary combination of keys like
left,right,up,right,right to launch your favorite program. Or you
could implement a device lock that requires entering the right
combination of keys to unlock.

It's probably easiest to just install it to see what it can
do. For example, I use it to go into pocket music mode by pressing
power,select. This immediately blanks the screen, locks the
screen, but leaves the keys unlocked. In this mode, I can
start/stop, change songs, and change volume using the hardware
keys (uses mpc to control mpd). Whenever I hit the cancel button,
it locks the keys also and is then in full softpoweroff mode. All
of this functionality is specified in the config file.

Installation:

I would recommend making sure you can log in via ssh to kill the
program if necessary, as it is possible to edit the config file in
such a way to make it impossible to close the program. And edit
/etc/mce/mce.ini to enable softpoweroff with the long power press
as softpoweroff will normally close powerlaunch (unless you have
told it otherwise).

- Install the deb package from 
  https://garage.maemo.org/projects/powerlaunch/ 
- Stop systemui as root with sudo /etc/init.d/osso-systemui stop
- Look at and edit /etc/powerlaunch/powerlaunch.conf (or you
  won't have any ideas of what keys to press). Most of the
  documentation that currently exists is inside the config file as
  comments. 
- Start powerlaunch as a regular user
- If you want to start it and run it in the background, try 
dsmetool -o /usr/bin/powerlaunch

If you decide you don't need systemui like me, you can remove the
two init links /etc/rc2.d/*osso-systemui* (nothing bad seems to
happen).

You can edit the interface by using glade to edit
/etc/powerlaunch/powerlaunch.glade and specifying the particular
layout you want in the config file. This is probably the least
developed part of the program, but the eventual idea is to have
templates in the glade file and ways to fill in the template from
the config file (e.g. setting images of buttons to correspond to
the programs that keys launch as mnemonic aids). The example setup
has a not so pretty test interface that should show how buttons
can be handled in the config file.

Comments and ideas welcome.
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: powerlaunch - power key shortcuts

2007-10-01 Thread Kemal Hadimli
Exciting stuff! A locked screen with unlocked keys is one of the
things I've always wanted for music playback. Of course if wouldn't be
the same batt usage as the softpoweroff mode (as softpoweroff also
disables keyboard interrupts) but it would be acceptable and i'll
leave it to Nokians to discuss anyway.

Awesome job, I'll try right now. (having a second OS on the mmc makes
you fearless)

I'll play with powerlaunch.conf in a bit, but asking just for the sake
of more discussion in the list: would it work with overlapping
profiles? ie. one power key press toggles softpoweroff, but one
powerkeypress immediately followed by (ie. in 1500 msecs) another
action does something else?

Also, if it also detected Nokia 770 cover on/off events it'd make
IT2007HE users (as well as regular IT2006 folks) really happy. In my
770 days I always wanted to use the volume buttons with the cover on.



On 10/2/07, Austin Che [EMAIL PROTECTED] wrote:

 I'm releasing an initial test version of powerlaunch:
 https://garage.maemo.org/projects/powerlaunch/

-- 
Kemal
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users