Poll

Is this solution working for you?

Yes
11 (64.7%)
No
1 (5.9%)
I don't use KO/Pi or I don't want alarm function
3 (17.6%)
I already have a working solution
2 (11.8%)

Total Members Voted: 17

Author Topic: New Ko/pi Alarm Solution  (Read 15067 times)

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
New Ko/pi Alarm Solution
« Reply #15 on: January 10, 2006, 11:22:55 am »
Thanks for this! Alarms are really important to me and I wasn't sure if I could have kept using pdaXrom untill they were. Thanks again for posting this info!
Works great on my C1000.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
New Ko/pi Alarm Solution
« Reply #16 on: January 10, 2006, 12:05:09 pm »
Quote
Unfortunately kdepim seems to be. When I tried it using a non-root user no .kopi* files were created.

I don't think so, I'm using kopi under pdaXrom for a few months now, and my alarms work fine. And I'm running as a non-root user too, There're few things need to be changed for non-root users here and there, but nothing major or showstoppers as far as I can recall.
-albertr

sds

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
New Ko/pi Alarm Solution
« Reply #17 on: January 10, 2006, 02:38:18 pm »
Quote
The whole pdaXrom is root centered at the moment, nothing is refined from this point of view (mainly file/directory ownerships), so I don't bother making a user-friendly solution for this reason.
It's not strictly root dependent, for example this can be easily solved by [...]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110262\"][{POST_SNAPBACK}][/a][/div]

My rant might be a bit offtopic, but I feel the need to say it and later shut up for good.

This attitude of Sashz and Laze impacting other contributors is gradually starting to piss me off.
As far as I can tell the main promise of pdaXrom is to provide palmtop-optimized near-laptop power. The main promise is we can treat the Z. as a normal computer.

This can not be achieved unless normal work under non-root accounts is possible.
Many people here have pointed out their specific reasons why this is important. I'll add two of mines:
* I need to allow remote logins with X forwarding for normal users
* I need to run a variety of daemons/programs under specific accounts

Now I am able to work normally only after a long and painful process of tweaking which makes the "normal" every-3-months upgrade to the newer RC a nightmare. I started checking-in various settings, sudoers etc files and scripts for the upgrade into my development Subversion repository until I realized this is probably insane.

So probably I am staying with RC12 for now. And since I do not upgrade, there is no reason for me to sponsor further development (apart from hardware donations), or participate actively in the forum. I know Laze and Sashz are very well aware of this, because of the numerous related bug reports, feature requests and financial bounty promises made if only, finally, support for normal users is added.

And they have promised many times during the past 1,5 years that this would be eventually done. But they prefer for unknown reasons not to do anything about it for now and to accept the above consequences instead -- which is their legitimate choice of course.
However, not providing a very basic, normal stuff is rarely a good direction.
C3100 pdaXrom

shula

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
New Ko/pi Alarm Solution
« Reply #18 on: January 10, 2006, 03:54:46 pm »
(a cross post)

i wrote a command-line alarm program, that uses the APM scripts etc.
if you need an alarm,
with multiple schedules,
horrible sound,
configurability,
and your XTerm (or even VT-0) is at hand, you shoud try it:

http://shula.is.dreaming.org/zaurus/zaurus-scripts.html

it depends on python,
cron daemon, or other scheduling process running,
and if you want a popup msgbox, you should have gtk  (pdaxrom's default anyway).


it works on my pdaXrom 12  (or is it 10? 8? i dont remember)
with python, /etc/apm/wakeup.d has a link,
and so far so good.

enjoy
C860, pdaxrom rc8,
with Gnumeric as the perfect PIM :-)

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
New Ko/pi Alarm Solution
« Reply #19 on: January 10, 2006, 05:32:06 pm »
Quote
Quote
It should work after that, 'cause the script is looking for ~/.kopi* files, which is not root dependent.
Aren't suspend/wakeup scripts always executed under root?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110282\"][{POST_SNAPBACK}][/a][/div]
You are right, silly me.  I will modify the script to find out which user is running kopi at the moment and look into his homedir...
So the current script isn't so root independent after all.

To sds: Expect root-independent default install in... hmm... X months. Sorry, I don't know when, but it's on my list. I sent PM how you can help, if you want!

To desertrat: If you look at what "at" does, it's really just a simple ~20 line bash script. I just extented that and added some alarm specific stuff. At is just a nice sample file how atd works.

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

Raul

  • Full Member
  • ***
  • Posts: 133
    • View Profile
New Ko/pi Alarm Solution
« Reply #20 on: June 29, 2007, 02:43:23 pm »
Where can I download kopi-apm package? pdaxrom feed isn't working.