![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
!"xterm -fg\"green\" -bg \"black\"&"
Just use the "\" and see whether it works Cheers JK |
|
#4
|
|||
|
|||
|
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 |