modifieing the .fwmrc


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers modifieing the .fwmrc
# 1  
Old 12-12-2003
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 Smilie
# 2  
Old 12-12-2003
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
!"xterm -fg\"green\" -bg \"black\"&"

Just use the "\" and see whether it works

Cheers
JK
# 4  
Old 12-15-2003
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?
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question