The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-12-2003
Registered User
 

Join Date: Dec 2003
Posts: 2
modifieing the .fwmrc

i have a prob with the .fwmrc - file.

i wanted to add an entry to the 'applications'-menu. so i modified the menu in the .twmrc . i added a function to the menu, that opened an xterm.

it looks like this:

!"xterm&"

but that's not all i want. i also want to modifie the bg and the fg - colors. The code for that would be

!"xterm -fg "green" -bg "black"&"

the prob is, that i used " before the end of the command. so the whole menu doesn't work anymore.

now i want to know, how i can modifie the color AND have a working menu
Forum Sponsor
  #2  
Old 12-12-2003
kduffin's Avatar
UN1X
 

Join Date: Nov 2003
Location: Virginia
Posts: 441
for the -fg <color> I don't think you have to qualify the color with ". If it does need to be wrapped, try using a single '

!"xterm -fg green -bg black &" or
!"xterm -fg 'green' -bg 'black'&"

Cheers,

Keith
  #3  
Old 12-12-2003
Registered User
 

Join Date: Dec 2003
Location: India
Posts: 50
!"xterm -fg\"green\" -bg \"black\"&"

Just use the "\" and see whether it works

Cheers
JK
  #4  
Old 12-15-2003
Registered User
 

Join Date: Dec 2003
Posts: 2
now the menu works, but the result is not what i wanted.

i've written
"xterm" !"xterm -font 6x10& -fg \"green\" -bg \"black\" "

but the xterm that appears when i use that function has a normal white background and black text...

so what shall i do?
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0