loading torsmo at boot (+ other torsmo questions)

Booting, installing, newbie
Post Reply
Message
Author
Justin
Posts: 19
Joined: Fri 04 Aug 2006, 02:54

loading torsmo at boot (+ other torsmo questions)

#1 Post by Justin »

I'm not clear on how to add a line to rc.local to make torsmo load at boot.
I've tried putting the path to the executable but that doesn't do it, though the same command in a console will open the program.
Last edited by Justin on Sat 02 Sep 2006, 04:32, edited 1 time in total.
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

no, rc.local is for comandlineprograms.

Programs for X go to /root/.xinitrc ,before the line "exec $CURRENTWM".

IMPORTANT:
the line must end with "&" what will run it in background.
If you forget that, JWM will not start.

Something like

/usr/local/bin/torsmo &
exec $CURRENTWM

See here for a small autostart-tool (drag'n'drop):
http://www.murga.org/~puppy/viewtopic.php?t=10675
Mark
Justin
Posts: 19
Joined: Fri 04 Aug 2006, 02:54

#3 Post by Justin »

Thanks for the correction, works fine now.

The screenshots of torsmo show it giving a percentage of battery left, but I only get an estimate of remaining time, which is pretty erratic on my laptop. I only see one variable for battery available for use. wmpower picks up a percentage as well as a time countdown. Is there a way to get this in torsmo?
sml
Posts: 162
Joined: Tue 10 Jan 2006, 02:56

#4 Post by sml »

Editing that file is easy, but how is it going to install the torsmo.pup file on start-up so that it can run the #torsmo command?
Drucker
Posts: 6
Joined: Thu 31 Aug 2006, 13:28
Location: It's Me Again

#5 Post by Drucker »

MU wrote: Programs for X go to /root/.xinitrc ,before the line "exec $CURRENTWM".

IMPORTANT:
the line must end with "&" what will run it in background.
If you forget that, JWM will not start.

Something like

/usr/local/bin/torsmo &
exec $CURRENTWM

Mark
I set up Torsmo to start at boot with /usr/local/bin/torsmo &, and I can see it start just before the deaktop shows up, but have to start it again for it to show up. It's like it's running in the background, behind the wallpaper. How to fixx that?? Running Puppy 2.13 - frugal install - dual boot using Grub.
GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#6 Post by GuestToo »

Torsmo probably is running behind the wallpaper, on the root window ... Rox 2.5, which displays the desktop, tends to take over the background

does Tormo seem to work properly if you start it after the desktop is set by Rox? ... if so, it might work to add a delay before Tormo starts ... something like this:

sleep 5 && torsmo &
exec $CURRENTWM

or:

(sleep 5 ; torsmo) &
exec $CURRENTWM

change the 5 to the number of seconds you want it to wait, until Torsmo starts
Drucker
Posts: 6
Joined: Thu 31 Aug 2006, 13:28
Location: It's Me Again

#7 Post by Drucker »

Here is what I have now,

sleep 3 && /usr/local/bin/torsmo &

That did it. Thanks . . . . .
User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#8 Post by paulh177 »

anyone know why torsmo (default install) might disappear from the desktop for about 5 seconds about every 20 seconds?
(on top of icewm-ultra-xdg, puppy 2.13. started by lciking on the entry in the dotpup menu rther than starting it from .xinitrc)

paul
User avatar
kermitfan22
Posts: 6
Joined: Fri 09 Feb 2007, 15:50
Location: Columbus, Ohio

Mine Dissapears, too

#9 Post by kermitfan22 »

Paul, I feel your pain. I just installed torsmo for the first time on my desktop computer, all excited after using mean puppy and seeing it on my laptop. Mine blinks in and out about every 5-10 seconds. Pretty frustrating.

I'm using a Multi-session DVD of 2.13. Plenty of free memory here, and lots of CPU power, too.
Drucker
Posts: 6
Joined: Thu 31 Aug 2006, 13:28
Location: It's Me Again

#10 Post by Drucker »

Mine is doing that too. Have been running Torsmo on the same laptop since around Puppy version 1.0.8 with no problems.
Using the Dotpup_Downloader, the Dotpup file looks to be empty? I couldn't install it so I I installed it from a pup file I found in these forums. Could this cause problems?
I can remember installing from the Dotpup_Downloader in the past with no problems.
MooDog
Posts: 30
Joined: Sun 13 Aug 2006, 11:35
Location: Red Dot

#11 Post by MooDog »

Between puppy 2.12 and 2.13, ROX was upgraded to version 2.5, which draws its own window above JWM. I think this was the explanation I got.

Torsmo has a double buffer option, which could reduce the flickering.

if you put the parameter 'double_buffer yes' in .torsmorc it might help.

see this thread for more tips on torsmo:

http://forums.gentoo.org/viewtopic-t-29 ... +tips.html

HTH,

Don
User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#12 Post by trapster »

I was having the same irritating blinking issue.

In .torsmorc I changed forked to background to no

and changed create own_window to yes.

It no longer blinks in 214
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
kjs
Posts: 75
Joined: Sat 06 Jan 2007, 17:00
Location: NJ, USA
Contact:

#13 Post by kjs »

torsmo doesn't seem to be maintained any more (last release is stone age). It looks like somebody else continues to maintain and improve it under the name Conky (but the same pleasure to get it running too). See sourceforge....

Juergen
-- in a world without fences and walls who needs Windows and Gates? --
>>> winDOS free since 1998 <<<
User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#14 Post by paulh177 »

just to say I downlaoded the conky source and it compiled "out of the box" without error.

it's also reasonably well documented and the gentoo crew have plenty of tips'n'trick on their forum about it.

paul
Post Reply