Turn off CPU usage & other status?


Forum: X and Fluxbox
Topic: Turn off CPU usage & other status?
started by: dougz

Posted by dougz on May 16 2006,23:17
Newbie warning!  Tried searching.

I prefer an uncluttered desktop.  I've found ways to configure fluxbox to my tastes, except for being able to turn off the cpu, ram, uptime status area.  Ideally, I'd like to be able to toggle this area on & off.  What have I missed?

BTW, this newbie DSLer is very impressed with this distro.  I use Fedora and Ubuntu all the time & they are very nice.  However, I've now run DSL under Qemu (hosted on  Fedora Core 3), booted off of a pen drive, and done a floppy->pen drive chain boot.  Wow!  Running with a "toram" boot option and using a flash drive provides astounding performance on a 900 MHz Duron that most folks would throw out.

Posted by newOldUser on May 17 2006,00:14
I think you're talking about an app called torsmo.

from an xshell type:
ps aux

look down the list on the right and find TORSMO then on the left of that line you'll find a PID number.  Lets say the PID number is 1045

Now on the xshell type:

kill 1045

That should get rid of it right away.

To get rid of it for good you'll have to remove it from the .xinitrc file in the /home/dsl directory.  That's a hidden file (it starts with a dot) so, if you're using emelfm you'll have to have the "H" button depressed to see it.  Edit the xinitrc file, find the line with torsmo in it and put a pound sign (#) as the first character in the line to comment out the line.  Save it and restart and you should be running without torsmo.

Good luck.

Posted by dougz on May 17 2006,00:57
Very clear.  Your post was just what I needed.

Left it in .xinitrc, killed the process (it was gone) and did startx, which brought it back.  Sweet.

Additional config in file .torsmorc, including update_interval.  I think just slowing it down will make me fairly happy.

Thanks a bunch.

Posted by dougz on June 05 2006,18:47
Turns out that there is an even easier way for a regular user to shut it off:

  dsl@box:~$ killall torsmo

And to turn it back on:

  dsl@box:~$ torsmo &

Hit <ENTER> again to get your prompt back.

BTW, killall is a feature of busybox  --  < About busybox >

Posted by kerry on June 05 2006,23:56
You can also create exec. to do the job.
Open beaver and type > exec killall torsmo
then save(i named mine .kill_torsmo, but you can name it what ever you want). Then right click> properties and permissions, check the exec box to make executable. Then just click on it to turn torsmo off, i also have one to turn it on> exec torsmo.
Do you need to know how to create desk top icons? I have my exec. hidden so i usally just do it from the desktop icons i make. If you use rox its even easier to do. I like to mess with my .torsmorc and change the set up and on> off icons just makes it easier and faster no terminal needed. :D

Posted by mikshaw on June 06 2006,03:10
That's kinda interesting to have scripts to control torsmo.  Since you're interested I thought I'd add that you could do both in a single script rather than having separate files.....
Code Sample

#!/bin/bash
case $1 in
on|start) exec torsmo;;
off|stop) killall torsmo;;
restart) killall torsmo && exec torsmo;;
esac

I know it could be done more cleanly than that, but it's one option.

Posted by kerry on June 06 2006,03:38
uhmm, i tried your script, cause that would be really cool to just use one icon, but it's not working. ???
Posted by mikshaw on June 06 2006,04:08
oh...i guess it wouldn't work from an icon unless you added a right-click menu to it.  This script requires a parameter of on/start, off/stop, or restart.

for example, you could have your main icon command be "/path/to/script start", which would start torsmo, and have a right-click menu to stop or restart torsmo.

Then again, you don't even need the script if you want to control trosmo this way.  You could have your icon look something like this:
blah
blah
blah
Command: torsmo
MenuCommand1: Stop Torsmo:killall torsmo
MenuCommand2: Restart Torsmo:killall torsmo ; torsmo

Posted by kerry on June 06 2006,04:41
Darn, im using rox pinboard for my desktop. I haven't i figured out how to add a right click menu to that yet. :p
But yeah for xtdesk that would be a sinch.

Edit: I guess i could always use both(rox pin and xtdesk).  :D
both pic->
< http://img222.imageshack.us/img222/9443/19yq.png >

Actually i've become very minimal lately, right now i only have the firefox launcher on the desktop and everything else is in the wmdrawer hidden on the right center.  ???
My current->
< http://img118.imageshack.us/img118/8836/current3nz.png >

Posted by 300c_pilot on June 06 2006,09:35
Is there a windows version of  torsmo?
Posted by pr0f3550r on June 06 2006,10:50
Quote (300c_pilot @ June 06 2006,05:35)
Is there a windows version of  torsmo?

Yes, start -> run -> taskmgr
Posted by 300c_pilot on June 06 2006,16:06
Quote (pr0f3550r @ June 05 2006,23:50)
Quote (300c_pilot @ June 06 2006,05:35)
Is there a windows version of  torsmo?

Yes, start -> run -> taskmgr

No, one that displays the same way, as the back ground image!
Posted by mikshaw on June 07 2006,03:16
< http://www.coolmon.org/ >
Posted by 300c_pilot on June 07 2006,06:23
mikshaw, your the man thanks. :D
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.