LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-14-2005, 03:19 AM   #1
wuya
Member
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 44

Rep: Reputation: 15
Torsmo help!


I have a bright wallpaper set up. How do I change the Torsmo font colour to something darker? It is set to white by default.
 
Old 05-14-2005, 03:23 AM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Take a look in here:

http://www.linuxquestions.org/questi...74#post1565074

basically, all you've to do is to create/copy the default .torsmorc config file and change these lines:

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black


for your desired color.

Regards!
 
Old 05-15-2005, 02:31 AM   #3
wuya
Member
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks for helping. But I got more problems. Sorry, this is my first time trying to configure torsmo.

The font I have selected doesn't work. How do I set it as 'clean'?

Also, the XY coordinates don't work either.

Code:
# torsmo configuration

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

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
font 9x15
#font *mintsmild.se*
font -schumacher-clean-*-*-*-*-*-*-*-*-*-*-iso8859-*

# Use Xft?
use_xft no

# Xft font when Xft is enabled
xftfont Clean 10

# Xft font when Xft is enabled
xftfont Clean 10

# Text alpha when using Xft
xftalpha 0.8

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 5.0

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

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer no

# Minimum size of text area


# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
#stippled_borders 8

# border margins
border_margin 4
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color black
default_shade_color grey
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 5
gap_y 25

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

TEXT
$nodename - $sysname $kernel on $machine
$stippled_hr
${color black}Uptime$color $uptime
${color black}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6}
${color black}Uptime$color $uptime
${color black}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6}
${color black}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 6}
${color black}CPU Usage:$color $cpu% ${cpubar 6}
${color black}Processes:$color $processes  ${color black}Running:$color $runnin$
$color$stippled_hr
${color black}Networking:
 Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
${color black}File systems:
 $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
$color$stippled_hr
 
Old 05-15-2005, 02:44 AM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 47
You have two fonts uncommented. "#" one of them.

gaps are in pixels so 5 in x-direction may not be noticable on hi-res settings.

KC
 
Old 05-15-2005, 02:46 AM   #5
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Hmmmm, that's a hard one . Does anything at all works since you modified/copied the file?. If not, then torsmo is not reading from that file. It's a hidden file (it has to start with a dot ".") at your "/home/user/" folder, meaning /home/wuya/.torsmorc (this is an example).

I remember changing the xy coordinates by calling as argument, as torsmo -x 300 -y 300 or something. I don't have torsmo installed right now to test it though
 
Old 05-15-2005, 03:16 AM   #6
wuya
Member
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
I commented 1 of the fonts out. But it didn't work. Is there a chain-reaction that I have to comment out? I am extremely newbish at this.

Please help. I like the Clean font a lot. I am already missing it on my torsmo.

I am using 1280 x 960. The resolution is therefore, high, but I will notice the 5px difference since it is in the corner. I am fine where X is, but Y needs to be a bit higher. I might not have to change this though if the Clean font puts it a bit higher. Therefore, I think I will put aside the coordinates for now until I get the font fixed first.

Yes, the .torsmorc is in effect. But the font is not.
 
Old 05-15-2005, 12:00 PM   #7
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
did you build torsmo with the --enable xft option?
if so you need to change the use_xft line to yes.
if not, recompile using the --enable-xft (run ./configure --help to see what options are included by default)
 
Old 05-15-2005, 08:27 PM   #8
wuya
Member
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
did you build torsmo with the --enable xft option?
if so you need to change the use_xft line to yes.
if not, recompile using the --enable-xft (run ./configure --help to see what options are included by default)
I am not sure, in Gentoo, Portage does all the things automatically for me.

Megaman, I see that you are using Gentoo too. Can you please tell me how this is done?
 
Old 05-15-2005, 08:33 PM   #9
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
I'd love to help but... I don't know why the font isn't working . Been trying to google for a while, but nothing came up. Gentoo's portage should have compiled it with xft support I think...

Here are some tips for Torsmo, directly from Gentoo's forum:

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

And another config file that I've found on the net, with a nice config:

http://www.stokebloke.com/gentoo/torsmo.php
 
Old 05-15-2005, 08:40 PM   #10
wuya
Member
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
Did you get Torsmo installed yet on your Gentoo yet? If so, can you see if you can use the Clean font on Torsmo?
 
Old 05-15-2005, 08:45 PM   #11
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
I'm on Slackware 10.1 right now and it works just fine, running Fluxbox too. Can't boot into gentoo, I've managed to ruin it .
 
Old 05-15-2005, 08:46 PM   #12
wuya
Member
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
So Clean font is working fine for you in Torsmo in Slackware?
 
Old 05-15-2005, 08:53 PM   #13
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Yup. No problems with Slackware, as usual . You could perhaps try to edit your make(/etc/make.conf) or USE variable?

http://www.gentoo.org/doc/en/handboo...ok_part2_chap2

to enable xft support?. This is a wild guess, never did it before
 
Old 05-16-2005, 01:18 AM   #14
wuya
Member
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks, I got it to work with Clean now.

By the way, is it possible to set the Uptime to use double digits? As in '05m 02s' instead of '5s 2s'.

The colors configuration uses color names instead of hex. Where can I get the programming color list? Does this programming color list have a technical name?
 
Old 05-16-2005, 08:07 AM   #15
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
Quote:
Originally posted by wuya

The colors configuration uses color names instead of hex. Where can I get the programming color list? Does this programming color list have a technical name?
/usr/X11R6/lib/X11/rgb.txt

BTW - did you end up having to add xft to /etc/make.conf and re-emerging to get it to work?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
new torsmo error :/ reilly Debian 2 04-23-2006 11:41 AM
Torsmo and XMMS anticuchos Linux - Software 1 09-17-2005 04:37 AM
Cannot find Torsmo anticuchos Mandriva 2 09-02-2005 07:31 AM
torsmo tarun_s Linux - Software 0 12-30-2004 08:14 AM
Need help with torsmo littlemidget Debian 0 09-12-2004 02:29 PM


All times are GMT -5. The time now is 05:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration