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
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-12-2003
pink_goblin pink_goblin is offline
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
  #2 (permalink)  
Old 12-12-2003
kduffin's Avatar
kduffin kduffin is offline Forum Advisor  
UN1X
  
 

Join Date: Nov 2003
Location: Maryland
Posts: 449
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 (permalink)  
Old 12-12-2003
jayakhanna jayakhanna is offline
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 (permalink)  
Old 12-15-2003
pink_goblin pink_goblin is offline
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?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:52 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0