View previous topic :: View next topic |
Author |
Message |
pussi l33t
Joined: 08 May 2004 Posts: 727 Location: Finland
|
Posted: Tue Jan 04, 2005 2:01 pm Post subject: |
|
|
sniper.mdr wrote: | the picture:
http://img141.exs.cx/img141/6516/tursmo.jpg
I want the torsmo window a little bit bigger, cause i cant see the ram bar, but i dont want the torsmo window going to my dock (where the icons are)
So i just want to knopw to define the torsmo window size |
You can also change the width of the bar in torsmo 0.18:
Code: | ${membar <height>,<width>} |
|
|
Back to top |
|
|
groovec n00b
Joined: 29 Jun 2004 Posts: 28
|
Posted: Wed Jan 05, 2005 9:24 am Post subject: |
|
|
does somebody have root-tail and torsmo with double_buffer running?
when torsmo runs with double buffering the root-tail display disappears short after start.
without double buffering both run fine, but the flicker realy bothers me. |
|
Back to top |
|
|
xlyz Veteran
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Wed Jan 05, 2005 11:01 am Post subject: |
|
|
double buffering is broken (see also the previous posts where icons disappears)
may be one of the patchers reading this thread will fix it |
|
Back to top |
|
|
kip n00b
Joined: 01 Sep 2002 Posts: 71 Location: germany
|
Posted: Thu Jan 06, 2005 11:54 pm Post subject: |
|
|
Paranoid wrote: | Anybody find a solution/work around for the 2.6.10 kernel issues (temp & fan returning only first poll value)? I've done a little troubleshooting here but not really getting anywhere. It's not a lm-sensors problem as running sensors gives the correct info. I've checked the i2c files is sys and they are indeed updated with the changing correct info. Running strace on torsmo reveals it's reading the file but always returning the info from the first poll. This is a little beyond me... |
any official solution for this? I would prefer a patch instead ob the workaround with the script ... |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Sat Jan 08, 2005 8:12 pm Post subject: |
|
|
kip wrote: | any official solution for this? I would prefer a patch instead ob the workaround with the script ... |
Hipo knows this issue and I think he's working on it! He already knows _what_ produces this error so we have just to wait and say "thank you!" to him eheh...
In the meantime use this workaround (I use my own script, similar to the other posted here).. and stay tuned for a new release
CYA _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
Paranoid Apprentice
Joined: 07 Jan 2004 Posts: 290 Location: Portland, ME
|
Posted: Sat Jan 08, 2005 10:27 pm Post subject: |
|
|
Excuse my lateness but thanks for posting Jack_Mort, as mentioned above I was trying to avoid the script solution. For now I'll just stick to running 2.6.9. _________________ A paranoid is someone who knows a little of what's going on.
William S. Burroughs |
|
Back to top |
|
|
killfire l33t
Joined: 04 Oct 2003 Posts: 618
|
Posted: Tue Jan 11, 2005 3:08 am Post subject: |
|
|
xlyz wrote: | double buffering is broken (see also the previous posts where icons disappears)
may be one of the patchers reading this thread will fix it |
a patch was written, its on the list of patches on my faq, and its in the (updated) ebuild.
look for it on the faq:
http://www.sover.net/~ljohnstn/torsmo_faq.txt
im really busy so i cant update the wiki page, it takes too much time, so if you want the updated one you have to go to my official text version.
killfire _________________ my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com |
|
Back to top |
|
|
lamekain Guru
Joined: 25 Nov 2003 Posts: 331 Location: Helsinki, Finland
|
Posted: Sat Jan 15, 2005 9:51 am Post subject: |
|
|
First off, thank you for the excelent patches people
And then the possibly stupid question: why don't all ttf-fonts function with torsmo? For example from corefonts I can only get basic arial and webdings to work. _________________ "Only when the last tree has died, the last river been poisoned,
and the last fish been caught, will we realize we cannot eat money"
-Global Terrorism.org |
|
Back to top |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Sat Jan 15, 2005 8:45 pm Post subject: |
|
|
Well I just switched from the torsmo-cvs version from earlier in the thread to the 0.18 in portage, and I love having double buffering (thanks!) despite the bugs (since I don't use root-tail or desktop icons, it's fine with me) but I can't seem to get xft fonts to work at all with 0.18. Anyone else having this problem? |
|
Back to top |
|
|
pussi l33t
Joined: 08 May 2004 Posts: 727 Location: Finland
|
Posted: Sat Jan 15, 2005 9:07 pm Post subject: |
|
|
madbiker wrote: | I can't seem to get xft fonts to work at all with 0.18. Anyone else having this problem? | Add this to your .torsmorc and comment out the old "font" line: Code: | use_xft yes
xftfont bitstream vera sans-7
#font -*-bitstream vera sans-medium-r-*-*-11-*-*-*-*-*-*-*
| Works with both 0.18 and cvs version on my computer. |
|
Back to top |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Sat Jan 15, 2005 9:13 pm Post subject: |
|
|
My .torsmorc with the comments stripped and my setup line at the end removed for clarity. When I run torsmo-cvs with this, it says it doesn't recognize the options 'use_xft' and 'double_buffer' (which makes sense) and then I get a nice torsmo display.
Code: | use_xft yes
double_buffer yes
xftalpha 0.8
background no
xftfont urw gothic l-13
mail_spool $MAIL
update_interval 5.0
own_window no
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color black
default_shade_color black
default_outline_color black
alignment bottom_left
gap_x 12
gap_y 12
no_buffers yes
uppercase no |
When I run torsmo (the 0.18 version) I get:
Code: | torsmo: Xft not enabled
torsmo: drawing to root window
torsmo: drawing to double buffer |
If I change use_xft to 'no', then I don't get the line about xft not being enabled. XFT *is* enabled, as it works with torsmo cvs. I just tried a sudo /etc/init.d/xfs start to make sure, and the service has already been started (as expected).
Bug? |
|
Back to top |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Sat Jan 15, 2005 9:16 pm Post subject: |
|
|
I'd also like to make a 'feature' request that dynamically changing numbers (such as proc usage) are padded with a blank space when they're a single digit.
I use torsmo with two long lines across the bottom of my screen, and everything gets moved back and forth as the proc usage jumps from 8% to 12%. It gets annoying. |
|
Back to top |
|
|
killfire l33t
Joined: 04 Oct 2003 Posts: 618
|
Posted: Sun Jan 16, 2005 5:44 am Post subject: |
|
|
madbiker wrote: | I'd also like to make a 'feature' request that dynamically changing numbers (such as proc usage) are padded with a blank space when they're a single digit.
I use torsmo with two long lines across the bottom of my screen, and everything gets moved back and forth as the proc usage jumps from 8% to 12%. It gets annoying. |
do you know any C?
maybe take a look at it, i started looking at this (and worked out a minor patch) without any C knowlege, so if you know a little you might be able to crack something up...
you would probably want to correct a lot of things though... like with cpu usage, etc, anything that can vary rapidly, so mayb eit isnt a good idea
ok, im really tired, i have to go to sleep before i make any more worthless comments _________________ my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com |
|
Back to top |
|
|
curious_bob l33t
Joined: 05 Dec 2003 Posts: 636 Location: San Francisco, CA
|
Posted: Sun Jan 16, 2005 5:59 am Post subject: |
|
|
How do you go about writing patches? Something like extra spaces in front of certain numbers seems fairly easy to do. _________________ Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!
The Black Vault The Largest Online Military and Government Research Center |
|
Back to top |
|
|
Imago Apprentice
Joined: 25 Nov 2004 Posts: 157 Location: Germany
|
Posted: Sun Jan 16, 2005 6:04 pm Post subject: |
|
|
madbiker wrote: | My .torsmorc with the comments stripped and my setup line at the end removed for clarity. When I run torsmo-cvs with this, it says it doesn't recognize the options 'use_xft' and 'double_buffer' (which makes sense) and then I get a nice torsmo display.
[...]
When I run torsmo (the 0.18 version) I get:
Code: | torsmo: Xft not enabled
torsmo: drawing to root window
torsmo: drawing to double buffer |
If I change use_xft to 'no', then I don't get the line about xft not being enabled. XFT *is* enabled, as it works with torsmo cvs.
|
i just stumbled over the same issue today. See Bug #78239
I submitted a fixed ebuild which hopefully solves the problem.
madbiker wrote: |
just tried a sudo /etc/init.d/xfs start to make sure, and the service has already been started (as expected).
|
xfs has nothing todo with xft afaik. The first is a font server and the latter a font renderer
CU
Imago |
|
Back to top |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Sun Jan 16, 2005 8:02 pm Post subject: |
|
|
[Imago] wrote: | xfs has nothing todo with xft afaik. The first is a font server and the latter a font renderer
CU
Imago |
D'oh! My ability to discern different letters appears to be lacking :p. Thanks for the ebuild. I get the following:
Code: | * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/local/portage/app-admin/torsmo/files/torsmo-0.18.xwin.patch
* ( torsmo-0.18.xwin.patch )
|
I assume the patch is somewhere in this thread so I should be able to find it and dump it where needed, but thought you might want to know any bugs in your ebuild.
[edit] It's in my /usr/portage/app-admin/torsmo/files directory, so I just copied it over to my /usr/local/portage/app-admin/torsmo/files dir and I'm good to go. Thanks . |
|
Back to top |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Mon Jan 17, 2005 1:05 am Post subject: |
|
|
So now the only problems I have are the lack of padding in numbers and that now the CPU usage % sometimes spikes to about 102% under high load . It used to sit at 99% under full load, but now it can apparently go over the top a bit. No biggie, but I thought it might be easy to fix.
I'm going to take a look at adding the padding to the numbers, but no promises because this will be my first attempt at patching anything. Anyone with some experience please take a look since you should be able to do this 10X faster than me. |
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
Posted: Tue Jan 18, 2005 6:24 am Post subject: |
|
|
Separate question (unrelated to 0.18, DB, etc.): how do you get Torsmo to stop jumping? It's not flickering, it's just that when the CPU usage goes from 0% to 10%, the bottom line gets longer, so the top line also gets longer to accomodate the bottom one. Easy fix is...? _________________ no software patents in europe! | adopt an unanswered post. |
|
Back to top |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Tue Jan 18, 2005 6:56 am Post subject: |
|
|
robet wrote: | Separate question (unrelated to 0.18, DB, etc.): how do you get Torsmo to stop jumping? It's not flickering, it's just that when the CPU usage goes from 0% to 10%, the bottom line gets longer, so the top line also gets longer to accomodate the bottom one. Easy fix is...? |
This is what I'm asking about. The 0% needs padding of two spaces added in front, and any two digit number needs one padded space in front, so if it hits 100%, the line is still the same length. Should be easy, but I think it might still be beyond me . |
|
Back to top |
|
|
cpdsaorg Guru
Joined: 16 Oct 2003 Posts: 359
|
Posted: Tue Jan 18, 2005 1:54 pm Post subject: |
|
|
robet wrote: | Separate question (unrelated to 0.18, DB, etc.): how do you get Torsmo to stop jumping? It's not flickering, it's just that when the CPU usage goes from 0% to 10%, the bottom line gets longer, so the top line also gets longer to accomodate the bottom one. Easy fix is...? |
use the minimum_size setting in the .torsmorc file found in your home directoy. set the horizontal just high enough to keep it from resizing itself when the numbers get bigger. _________________ PentiumM 2.0 GHz, MSI 915GM Speedster-FA4, Seagate ST3500641AS SATA 400GB |
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
Posted: Tue Jan 18, 2005 2:12 pm Post subject: |
|
|
I don't have a minimum size setting documented? How do I use it? My .torsmorc: Code: | TEXT
${color rgb:ce/df/e7}$nodename - $sysname | $kernel | $machine
${color rgb:ce/df/e7}CPU $cpu % | $memperc % RAM | $fs_free_perc % free fs | $running_processes proc |
_________________ no software patents in europe! | adopt an unanswered post. |
|
Back to top |
|
|
killfire l33t
Joined: 04 Oct 2003 Posts: 618
|
Posted: Tue Jan 18, 2005 5:02 pm Post subject: |
|
|
robet wrote: | I don't have a minimum size setting documented? How do I use it? My .torsmorc: Code: | TEXT
${color rgb:ce/df/e7}$nodename - $sysname | $kernel | $machine
${color rgb:ce/df/e7}CPU $cpu % | $memperc % RAM | $fs_free_perc % free fs | $running_processes proc |
|
its farther up in the .torsmorc... look at the sample...
its something like "minimum size 10 10" (thats my values, modify for your taste.)
killfire _________________ my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com |
|
Back to top |
|
|
killfire l33t
Joined: 04 Oct 2003 Posts: 618
|
Posted: Tue Jan 18, 2005 5:04 pm Post subject: |
|
|
curious_bob wrote: | How do you go about writing patches? Something like extra spaces in front of certain numbers seems fairly easy to do. |
cp the file you are going to fix.
then edit it... save it.. so youre left with a torsmo.c and a torsmo_new.c (or soemthign like that, just make sure the original has the original name)
then you do a Code: | diff -u oldfile.c newfile.c > some.patch |
then the person would just (in the dir that has the file oldfile.c) do a "patch < some.patch" (*not to sure about the applying, havent done this stuff in monthes.. but the making the patch im pretty sure about*)
anyway, that should give you a start
killfire _________________ my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com |
|
Back to top |
|
|
curious_bob l33t
Joined: 05 Dec 2003 Posts: 636 Location: San Francisco, CA
|
Posted: Tue Jan 18, 2005 5:21 pm Post subject: |
|
|
Where is the source located? _________________ Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!
The Black Vault The Largest Online Military and Government Research Center |
|
Back to top |
|
|
|