Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

torsmo Tips & Tricks

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
223 posts
  • Page 3 of 9
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next
Author
Message
blackdog
n00b
n00b
User avatar
Posts: 64
Joined: Thu Feb 26, 2004 9:13 pm
Location: Wake Forest

  • Quote

Post by blackdog » Fri Feb 18, 2005 1:33 pm

Well, one thing that I've noticed different in our setups is

Code: Select all

Me - /usr/lib/perl5/site_perl/5.8.6/

Code: Select all

You - /usr/lib/perl5/site_perl/5.8.5/
I was also looking through the edit you made on the first page with the required modules and where to get them. What is the location of your Exporter.pm? Mine is in /usr/lib/perl5/5.8.6/ only, so I was wondering if I should cp or mv it over to /usr/lib/perl5/site_perl/5.8.6/.

Thanks!

Edit:
I redid everything, the gmail.pl and gmail_extract.pl. Gave permissions and what-not. I also copied Exporter.pm to both places mentioned above.

Running the cronjob with Webmin and ./gmail.pl give me

Code: Select all

Output from command ~/.xtorsmo/gmail.pl ..

Operation failed, connection to server is not established.
 at /home/ryan/.xtorsmo/gmail.pl line 15
Wrong password, please check your settings.


ryan@bios7 ~/.xtorsmo $ ./gmail.pl  
Wrong password, please check your settings.
Operation failed, connection to server is not established.
 at ./gmail.pl line 15
Which leaves this error message

Code: Select all

ryan@bios7 ~/.xtorsmo $ Could not open file. at /home/ryan/.xtorsmo/gmail_extract.pl line 14.
Thanks for all your help, but it looks like it's just not going to work out for me.
There's no place like /home.
Top
joker
l33t
l33t
User avatar
Posts: 681
Joined: Sat May 03, 2003 8:20 pm
Location: www
Contact:
Contact joker
Website

  • Quote

Post by joker » Fri Feb 18, 2005 2:30 pm

Is there any possibility that torsmo will not be blink after refresh? It's very annoying
http://amarok.org.pl | http://koffice.org.pl | http://kde.org.pl
Top
blackdog
n00b
n00b
User avatar
Posts: 64
Joined: Thu Feb 26, 2004 9:13 pm
Location: Wake Forest

  • Quote

Post by blackdog » Fri Feb 18, 2005 3:00 pm

Start torsmo with

Code: Select all

torsmo -b
There's no place like /home.
Top
WladyX
Guru
Guru
User avatar
Posts: 503
Joined: Thu Nov 25, 2004 4:17 pm
Location: Romania
Contact:
Contact WladyX
Website

  • Quote

Post by WladyX » Fri Feb 18, 2005 3:09 pm

Or edit your torsmorc file and add double_buffer yes.
We are not alone.
Top
AngelM
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 139
Joined: Tue Dec 07, 2004 2:19 pm
Location: Erlangen

  • Quote

Post by AngelM » Fri Feb 18, 2005 4:52 pm

I get an error that this is an unknown opion.
Top
blackdog
n00b
n00b
User avatar
Posts: 64
Joined: Thu Feb 26, 2004 9:13 pm
Location: Wake Forest

  • Quote

Post by blackdog » Sat Feb 19, 2005 6:11 am

ryan@junebug ~ $ torsmo -h
Usage: torsmo [OPTION]...
Torsmo is a system monitor that renders text on desktop or to own transparent
window. Command line options will override configurations defined in config
file.
-V version
-a ALIGNMENT text alignment on screen, {top,bottom}_{left,right}
-c FILE config file to load instead of $HOME/.torsmorc
-d daemonize, fork to background
-f FONT font to use
-h help
-o create own window to draw
-b double buffer (prevents flickering)
-t TEXT text to render, remember single quotes, like -t '$uptime'
-u SECS update interval
-w WIN_ID window id to draw
-x X x position
-y Y y position
There's no place like /home.
Top
AngelM
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 139
Joined: Tue Dec 07, 2004 2:19 pm
Location: Erlangen

  • Quote

Post by AngelM » Sat Feb 19, 2005 10:12 am

I think I have to do an emerge --sync and look for version 0.18.
Top
joker
l33t
l33t
User avatar
Posts: 681
Joined: Sat May 03, 2003 8:20 pm
Location: www
Contact:
Contact joker
Website

  • Quote

Post by joker » Sat Feb 19, 2005 6:21 pm

with double buffer I have update interval set to 0.1 but in real it's 10 sec, is it normal with double buffer?
http://amarok.org.pl | http://koffice.org.pl | http://kde.org.pl
Top
blackdog
n00b
n00b
User avatar
Posts: 64
Joined: Thu Feb 26, 2004 9:13 pm
Location: Wake Forest

  • Quote

Post by blackdog » Sat Feb 19, 2005 11:35 pm

Mine's set to 1 second and I have no problems. 0.1 is a tenth of a second.

Code: Select all

font -artwiz-smoothansi-*-*-*-*-*-*-*-*-*-*-*-*
background yes
update_interval 1
own_window no
draw_shades no
draw_outline no
draw_borders yes
stippled_borders 2
border_margin 5
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment bottom_right
gap_x 10
gap_y 26
no_buffers yes
double_buffer yes
uppercase no
There's no place like /home.
Top
Onip
Advocate
Advocate
User avatar
Posts: 2912
Joined: Thu Sep 02, 2004 10:34 am
Location: Parma (Italy)

  • Quote

Post by Onip » Sun Feb 20, 2005 11:01 pm

I've only today discovered this amazing stuff :D
But I'm wondering a very simple question:
Is there a list of color I can use??? I've googled for hours, but didn't find anything complete

Thanks and Byez
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Top
blackdog
n00b
n00b
User avatar
Posts: 64
Joined: Thu Feb 26, 2004 9:13 pm
Location: Wake Forest

  • Quote

Post by blackdog » Mon Feb 21, 2005 2:30 pm

Is there a list of color I can use??? I've googled for hours, but didn't find anything complete
/usr/lib/X11/rgb.txt has a nice, long list.

You can use any color you want. If you have Gimp, choose your color and enter it's 'HTML notation'.

Code: Select all

${color #000000}

or just

${color black}.
There's no place like /home.
Top
AngelM
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 139
Joined: Tue Dec 07, 2004 2:19 pm
Location: Erlangen

  • Quote

Post by AngelM » Wed Feb 23, 2005 4:34 pm

Hello got a problem to choose another font for torsmo.

Here is my .torsmorc
I can do what I want I have everytime the same font.

Code: Select all


# torsmo configuration
# Arainach's revisions, borrowed from Revisions by grad_guy from Gentoo Forums

# set to yes if you want tormo to be forked in the background
background no

# X font used, you can pick one with program xfontsel
#font 6x10
#font 7x13
#font 8x13
#font -*-clean-medium-r-*-*-12-*-*-*-*-*-*-*
#font -artwiz-kates-medium-*-*-*-14-*-*-*-*-*-*-*
#font -artwiz-kates-medium-*-normal-*-17-120-*-*-*-*-*-*
#font -*-webby caps-*-*-*-*-7-*-*-*-*-*-*-*
#font -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso8859-1
#font -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*
#font -*-bitstream vera sans mono-medium-r-*-*-12-*-*-*-*-*-*-*
font -*-alfreddrake-*-*-*-*-17-*-*-*-*-*-iso10646-*
#font -*-*-*-*-*-*-*-*-*-*-*-*-*-*
# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

# Create own window instead of using desktop (required in nautilus)
own_window no

# Minimum size of text area
minimum_size 80 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline yes

# Draw borders naround text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
#default_color spring green
default_color light blue
default_shade_color black
default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# Subtract file system buffers from used memory?
no_buffers yes

double_buffer yes
# set to yes if you want all text to be in uppercase
uppercase no
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT
${color slate blue}${time %a, }${color }${time %B %e %G}
${color slate blue}${time %Z,    }${color }${time %H:%M:%S}
$hr
${color slate blue}UpTime: ${color }$uptime
$hr
${color slate blue}Net :
     ${color}Up       :${color } ${upspeed eth0} k/s
     ${color}Down     :${color } ${downspeed eth0} k/s ${color}
     ${color}TotalUp  :${color } ${totalup eth0}
     ${color}TotalDown:${color } ${totaldown eth0}
$hr
${color slate blue}CPU :${color } $cpu% at ${exec cat /proc/cpuinfo | grep "cpu MHz" | sed s/'cpu MHz.*: '//}
     $cpubar
${color slate blue}RAM :${color } $memperc% $mem/$memmax
     $membar
${color slate blue}SWAP:${color } $swapperc% $swap/$swapmax
     $swapbar
$hr
${color slate blue}Disk Usage :
     ${color}/          ${fs_used /}/${fs_size /}
${color}${fs_bar /}
     ${color}/boot      ${fs_used /boot}/${fs_size /boot}
${color}${fs_bar /boot}
     ${color}/opt       ${fs_used /opt}/${fs_size /opt}
${color}${fs_bar /opt}
     ${color}/usr       ${fs_used /usr}/${fs_size /usr}
${color}${fs_bar /usr}
     ${color}/var       ${fs_used /var}/${fs_size /var}
${color}${fs_bar /var}
     ${color}/share     ${fs_used /share}/${fs_size /share}
${color}${fs_bar /share}
     ${color}/windoof   ${fs_used /windoof}/${fs_size /windoof}
${color}${fs_bar /windoof}
Any suggestions whats wrong.
Top
Arainach
l33t
l33t
User avatar
Posts: 609
Joined: Thu Jul 08, 2004 2:30 am

  • Quote

Post by Arainach » Wed Feb 23, 2005 5:04 pm

I take it that you've tried commenting out the line

Code: Select all

font -*-alfreddrake-*-*-*-*-17-*-*-*-*-*-iso10646-* 
and uncommenting one of the other font lines and/or adding your own?
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Top
AngelM
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 139
Joined: Tue Dec 07, 2004 2:19 pm
Location: Erlangen

  • Quote

Post by AngelM » Wed Feb 23, 2005 5:30 pm

I tried this already but there was no change.
Top
Arainach
l33t
l33t
User avatar
Posts: 609
Joined: Thu Jul 08, 2004 2:30 am

  • Quote

Post by Arainach » Wed Feb 23, 2005 11:19 pm

Interestingly enough, I'm having the same problem - I can't change my font. Any ideas?
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Top
_mikec_
Guru
Guru
User avatar
Posts: 386
Joined: Sat May 22, 2004 5:23 am

  • Quote

Post by _mikec_ » Fri Feb 25, 2005 7:26 am

anybody's having this problem???
i've downloaded Simple.pm, Gmail.pm and Checker.pm put them into /usr/lib/perl5/5.8.6 modified all perl scripts to start with #!/usr/lib/perl5/5.8.6
when i type $ torsmo in the shell i get this bunch of wrecked codes. should i reboot? run $ torsmo from fluxbox instead of kde?
i had this same error on fluxbox though, but i didn't had .PM files in /usr/lib/perl5/5.8.6 then.. i'll try again right now..
btw i chmod +x all perl scripts, i have this in /etc/crontab

Code: Select all

# for vixie cron
#
# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/files/crontab-3.0.1-r4,v 1.6 2004/07/18 04:40:50 dragonheart Exp $
#
#

# Global variables
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
0  *  * * *	root	rm -f /var/spool/cron/lastrun/cron.hourly
1  3  * * *	root	rm -f /var/spool/cron/lastrun/cron.daily
15 4  * * 6	root	rm -f /var/spool/cron/lastrun/cron.weekly
30 5  1 * *	root	rm -f /var/spool/cron/lastrun/cron.monthly
*/10  *  * * *	root	test -x /usr/sbin/run-crons && /usr/sbin/run-crons 

# my crontab jobs
0,30 * * * *   root     /root/.torsmo/forecast.sh 2>&1 
5,35 * * * *   root     /root/.torsmo/weather.sh 2>&1 
0-59/5 * * * * /root/.torsmo/gmail.pl 2>&1
btw if i want to add a normal user, should i just replace root with the user onto a new line, for each user?

Code: Select all

torsmo: can't load font 'courier-12'
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at /root/.torsmo/forecast.pl line 4.
BEGIN failed--compilation aborted at /root/.torsmo/forecast.pl line 4.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
torsmo: drawing to subwindow of root window (1600142)
torsmo: drawing to double buffer
torsmo: forked to background, pid is 11469
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)
Top
_mikec_
Guru
Guru
User avatar
Posts: 386
Joined: Sat May 22, 2004 5:23 am

  • Quote

Post by _mikec_ » Fri Feb 25, 2005 7:47 am

fluxbox gived me the same outputs,

well after reading the second line.. Can't locate XML/Simple.pm.. i thought about searching for XML/ directories with the word perl in them, i found this one: /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/XML

so i moved Simple.pm, Gmail.pm and Checker.pm to that directory now i am getting this error which i guess will be solved after i've created my forecast.xml file lol:

Code: Select all

torsmo: can't load font 'courier-12'
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
File does not exist: /root/.torsmo/forecast.xml at /root/.torsmo/forecast.pl line 7
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
torsmo: drawing to subwindow of root window (1600142)
torsmo: drawing to double buffer
torsmo: forked to background, pid is 11985
this line always comes up torsmo: can't load font 'courier-12', my font settings are after using xfontsel:

Code: Select all

 # X font when Xft is disabled, you can pick one with program xfontsel 
 #font clean 
 #font 5x7 
 #font 6x10 
 #font 7x13 
 #font 8x13 
 #font 9x15 
 #font *mintsmild.se* 
 #font -*-*-*-*-*-*-34-*-*-*-*-*-*-* 
 #font -artwiz-mints-strong-r-normal-*-9-90-75-75-p-90-iso646.1991-irv 
 #font -artwiz-drift-*-*-*-*-*-*-*-*-*-*-*-* 
 font -artwiz-snap-medium-r-normal--10-100-75-75-p-90-iso646.1991-irv
 
 # Use Xft? 
 use_xft no 
 
 # Xft font when Xft is enabled 
 #xftfont verdana-8
i thought about adding what i am doing maybe somebody else is having the same problem here, i feel so close to get this perfectly running that's why :lol:
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)
Top
_mikec_
Guru
Guru
User avatar
Posts: 386
Joined: Sat May 22, 2004 5:23 am

  • Quote

Post by _mikec_ » Fri Feb 25, 2005 9:40 am

man how did you created your XML file? i followed your other post but can't seem to work this out, i've registered, got my own id/key, everything should work, added cron jobs, chmod +x pl files, added the .PM files to my perl XML directory, i dont know what to do next, :?

Code: Select all

torsmo: can't load font 'courier-12'

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6
/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/XML/Parser.pm line 187

no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/XML/Parser.pm line 187
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
torsmo: drawing to subwindow of root window (1600142)
torsmo: drawing to double buffer
torsmo: forked to background, pid is 23839
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)
Top
tkhobbes
Guru
Guru
User avatar
Posts: 367
Joined: Fri Nov 12, 2004 8:46 am
Location: Switzerland
Contact:
Contact tkhobbes
Website

  • Quote

Post by tkhobbes » Fri Feb 25, 2005 11:14 am

Hi folks
crishchun wrote:Display XMMS info on Torsmo
Here's a screenshot of my Torsmo. Tell me what you guys think! Now all I need is some buttons to control XMMS!
How did you do that with /hda1 and stuff? It did not work here, because the "normal" non-root user I am working with has no rights to do anything with /dev/hdax...

thomas
My systems and some screenshots: http://www.hobbes.ch/techie/
My Gentoo client installation page: http://www.hobbes.ch/techie/gentoo-client/
My Gentoo Server installation: http://www.hobbes.ch/category/server
Top
shivakjo
n00b
n00b
Posts: 40
Joined: Sat Jul 03, 2004 10:46 am
Location: Dresden/Germany

  • Quote

Post by shivakjo » Fri Feb 25, 2005 4:53 pm

crishchun wrote:Display XMMS info on Torsmo
Here's a screenshot of my Torsmo. Tell me what you guys think! Now all I need is some buttons to control XMMS!
How did you do that horizontal lines? stippled_hr gives me an empty line which IMHo doesn't look so good....could you post your config?
Top
crishchun
n00b
n00b
User avatar
Posts: 39
Joined: Tue Jan 25, 2005 1:37 am
Location: /home/USA/NJ

  • Quote

Post by crishchun » Fri Feb 25, 2005 5:35 pm

tkhobbes wrote:How did you do that with /hda1 and stuff? It did not work here, because the "normal" non-root user I am working with has no rights to do anything with /dev/hdax...

thomas
Use your mount points, like this (hint: look at your /etc/fstab file):

Code: Select all

${color #FFB010}MOUNTS
$stippled_hr
 ${color #C1CC7E}root          $color${fs_bar 6 /}
               $color${fs_used /}B of ${fs_size /}B (${fs_used_perc /}%)

 ${color #C1CC7E}boot          $color${fs_bar 6 /boot}
               $color${fs_used /boot}B of ${fs_size /boot}B (${fs_used_perc /boot}%)

 ${color #C1CC7E}windowsXP     $color${fs_bar 6 /mnt/windowsXP}
               $color${fs_used /mnt/windowsXP}B of ${fs_size /mnt/windowsXP}B (${fs_used_perc /mnt/windowsXP}%)

 ${color #C1CC7E}shared        $color${fs_bar 6 /mnt/shared}
               $color${fs_used /mnt/shared}B of ${fs_size /mnt/shared}B (${fs_used_perc /mnt/shared}%)
Dell Inspiron 8200
1.4GHz / Pentium4 / 256MB RAM
Gentoo 2.6.11-rc4-nitro1

Current desktop
Top
crishchun
n00b
n00b
User avatar
Posts: 39
Joined: Tue Jan 25, 2005 1:37 am
Location: /home/USA/NJ

  • Quote

Post by crishchun » Fri Feb 25, 2005 5:38 pm

shivakjo wrote:How did you do that horizontal lines? stippled_hr gives me an empty line which IMHo doesn't look so good....could you post your config?
I have this set in my config file:

Code: Select all

# border width
border_width 1 
Dell Inspiron 8200
1.4GHz / Pentium4 / 256MB RAM
Gentoo 2.6.11-rc4-nitro1

Current desktop
Top
_mikec_
Guru
Guru
User avatar
Posts: 386
Joined: Sat May 22, 2004 5:23 am

  • Quote

Post by _mikec_ » Sat Feb 26, 2005 4:14 am

crishchun, i need your help with the gmail_extract.pl script.

torsmo: can't load font 'bitstream'
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
Could not open file. at /root/.torsmo/gmail_extract.pl line 14.
torsmo: drawing to subwindow of root window (1600142)
torsmo: drawing to double buffer
torsmo: forked to background, pid is 12390
(8 Mars 2005 - 07:52:46)
(18 September 2017 - 11:25:35)
Top
dayul
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Wed Jun 02, 2004 10:16 am
Location: Blackpool, England

  • Quote

Post by dayul » Sat Feb 26, 2005 4:21 pm

this is a simple one but nice, in addition to my normal torsmo running i have a second torsmo that i run with torsmo -c .torsmotodo.

Code: Select all

# torsmo configuration
background no
update_interval 5.0
own_window no
minimum_size 200 50
draw_shades yes
draw_outline yes
draw_borders yes 
stippled_borders 0
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment bottom_left
gap_x 12
gap_y 30
no_buffers yes
uppercase no

TEXT
${color white}TODO:
$hr
${execi 60 cat ~/.todo}
Then i have a file .todo which is a TODO list, and torsmo displays my todo list in a box in the corner of my desktop window in a window. Im sure this could be setup with devtodo too.
Top
TheSoko
n00b
n00b
Posts: 37
Joined: Wed Dec 31, 2003 11:36 pm
Location: Illinois

  • Quote

Post by TheSoko » Mon Feb 28, 2005 5:57 am

I'm having trouble with the powerstatus script...

Code: Select all

john@Kibeth ~ $ ./powerstatus
./powerstatus: line 12: [: too many arguments
(standard_in) 1: parse error
(standard_in) 1: parse error
%
john@Kibeth ~ $ cat /proc/acpi/battery/BAT0/state 
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            unknown
remaining capacity:      2200 mAh
present voltage:         14800 mV
john@Kibeth ~ $ cat /proc/acpi/battery/BAT0/info 
present:                 yes
design capacity:         2200 mAh
last full capacity:      2200 mAh
battery technology:      rechargeable
design voltage:          14800 mV
design capacity warning: 66 mAh
design capacity low:     66 mAh
capacity granularity 1:  10 mAh
capacity granularity 2:  2134 mAh
model number:            Bat 4Cell
serial number:           236
battery type:            Lion
OEM info:
"The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn."
-Alvin Toffler
Top
Post Reply

223 posts
  • Page 3 of 9
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic