linux 2.6, hit ~, lose control


(poopinaboot) #1

posted this at enemy-territory.com, hoping maybe someone here can shine some light on this issue:

I’m running Ubuntu Hoary and 2.55 and 2.56 run flawlessly. While playing in 2.6, when I hit ~ in-game, I lose control over the et window. It only hapens after playing for a while. I can then scroll around my screen (my desktop is 1024x768 while my et is 800x600, so i can scroll the screen and see the parts that et doesn’t cover up. I can’t return the focus to et, i’m left having to kill et and start over. This is debilitating and happens often, out of habit i press it to communicate globally. I’m not sure why this happens, anyone have an idea?


(Nail) #2

unless you have it mapped otherwise, “t” is default key for global, smaller window too


(Sick Boy) #3

Do you background apps that respond to the ~ key?


(fretn) #4

gaim is taking over the focus ?


(poopinaboot) #5

i checked it out to see if any of my apps reponded to ~ or if i had any keyboard shortcuts set up, but none use it.

I don’t run gaim, typically, and no window pops up.

I know t brings up global-chat window, but i’m used to console for that and other things.

I just don’t see why it does that but it doesn’t do it under 2.56 and 2.55, which i have installed on this machine as well. So bizarre. And I haven’t seen anyone else with this problem either…even more bizarre.

Thanks for all your replies, though. I’m still looking for the answer. :banghead:


(Rain) #6

ET in linux sometimes gets confused about the value of r_fullscreen, which will cause ET to lose focus when you bring down the console.

If you launch ET from a terminal, you may get lucky and have focus fall back to the terminal where you launched ET. In this case, blindly typing “r_fullscreen 1;vid_restart” will usually fix things. If you don’t, the easiest thing to do is probably to search through the 5 jillion etconfig.cfg files in your ~/.etwolf/ directory and make sure r_fullscreen is set to 1 in all of them.


(Azarael) #7

You should be able to run
grep -e ‘r_fullscreen’ -rn <et directory>
to find all the ones you have to change.


(=PoW= Kernel 2.6.5) #8

Muffin is correct about what the problem is.

The reason this happens is a difference between the startup config and the last config while running a mod.

When you start et, it uses your default config (in ~/.etwolf/etmain/profiles/yourname/.
When you join a mod server such as ETPro, ETPub or Shrub - It saves any changes you make to the mod’s profile folder.

If you originally set up ET to play fullscreen but later changed it to a window while playing a mod, next time you start ET it will be back in full screen and then when you start playing the mod it will still be fullscreen but will think it’s in a window.

Does that make sense?

Your solution is as Muffin stated - fix all your config files - OR -

Once you start playing the mod you want press ALT+ENTER.
This will toggle the screen mode and get the mod and start up config’s back in sync.

Press ALT+ENTER again if you want to go back to the screen mode you were in previously.

I still do same thing as you and lose control of ET after pressing ~ because I forgot to do the ALT+ENTER trick.