
Mumble과 Team Fortress 2(TF2)는 둘 다 개별적으로는 잘 작동하지만 독립적으로든 TF2 내에서든 Mumble 오버레이를 사용할 수 없습니다.
Steam의 TF2 속성에 다음 실행 옵션을 넣어 보았지만 어느 것도 작동하지 않았습니다. (참고로 저는 Bumblebee와 64비트 컴퓨터도 사용하고 있습니다.)
mumble-overlay primusrun %command%
mumble-overlay primusrun %command% -nod3d9ex
mumble-overlay primusrun %command% -d3d9ex -32bit
LD_PRELOAD=/usr/lib/mumble/libmumble.so.1.2 primusrun %command%
TF2는 창 모드이므로 Mumble이 TF2에 삽입되지 않은 자체 오버레이를 생성하는 것이 좋을 것입니다.
답변1
이 수정 사항은 복합 관리자 수정에 의존하고 한 번에 하나의 복합 관리자만 가질 수 있으므로 복합 관리자가 없는 시스템을 이미 사용하지 않는 한 이를 수행하기 어렵습니다. LD_PRELOAD를 모든 복합 관리자에 적용하는 것이 가능하다고 생각하지만 복합 관리자는 모든 OS 및 데스크탑 환경에 따라 다릅니다. 또한 OS에서 compton과 수정 사항을 사용하도록 강제할 수도 있지만 이는 OS/데스크톱 환경에만 해당됩니다.
복합 관리자가 있는 경우 다음 섹션을 건너뛰고, 복합 관리자가 없으면 다음 단계를 따르세요.
Install compton
Run the following command in your terminal and you will be all set, note that you must rerun this command every time you login, so I suggest putting this in your .bash_profile or .zprofile (if using ZSH).
LD_PRELOAD=/usr/lib/mumble/libmumble.so compton -CGb --backend glx --paint-on-overlay
The flags -CG disable shadow effects
The flag -b runs it in the background as a daemon
The flag --backend glx runs it using OpenGL
The flag --paint-on-overlay paints on X Composite overlay window instead of on root window. You can add the flag --vsync with an argument to enable vsync.
Run mumble. Because of the nature of the fix, you can start mumble after TF2 and still have the overlay show up. The overlay will appear whenever you are connected to a mumble server.
당신이 대다수의 사람들과 같으며 OS에 복합 관리자가 번들로 포함되어 있는 경우 2개의 합성기를 동시에 실행할 수 없기 때문에 이 작업이 더 복잡해집니다. 이 수정 사항은 다소 보기 흉하며 설정하는 데 약간의 시간이 필요하고 Mumble 오버레이를 사용할 때마다 로그아웃해야 한다는 점에 유의하세요. 다음 단계는 이 가이드에서 다른 말로 표현되고 수정되었습니다.
Install compton and openbox (you can optionally install obconf and obmenu, but they are not necessary)
Create the directory ~/.config/openbox if it does not exist
In that directory create a file called autostart
In that file, place the following (any line starting with a # is a comment and it will not be run)
# Starts compton and is necessary for the overlay to work, look at the above section on compton to decide what flags you want to use
LD_PRELOAD=/usr/lib/mumble/libmumble.so compton -CGb --backend glx --paint-on-overlay &
# Autostarts steam
steam &
# Autostarts mumble (comment out to stop mumble from automatically starting)
mumble &
# You also can place any program in here that you wish to start
# Use a & at the end of the name so that your computer does no wait until
# that program is fully started before it start the next program.
When you wish to play a game, logout of you account, and then select openbox as your desktop environment. This requires a login manager than supports multiple desktop environments. Most do, but it may require you to look around to find out how to switch desktop environments. If you are using startx/.xinitrc, make sure that you use exec openbox-session rather than exec openbox because exec openbox does not automatically load the autostart file.
To return to your normal desktop, logout of your account and then select your normal desktop environment from you login manager.