Mumble의 오버레이가 작동하도록하려면 어떻게해야합니까? Team Fortress 2 (TF2)는 모두 개인적으로

Mumble과 Team Fortress 2 (TF2)는 모두 개인적으로 잘 작동하지만 독립적으로 또는 TF2 내에서 Mumble-Overlay 작업을 수행 할 수는 없습니다.

Steam의 TF2 속성에 다음 시작 옵션을 넣으려고했지만 아무것도 작동하지 않았습니다. (NB는 또한 꿀벌과 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는 윈도우 모드이므로 TF2에 주입되지 않은 자체 오버레이를 생성하는 데 만족합니다.



답변

이 수정 사항은 복합 관리자 수정에 의존하기 때문에 한 번에 하나의 복합 관리자 만 가질 수 있으므로 복합 관리자가없는 시스템을 사용하지 않으면 수행하기가 어렵습니다. 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.


답변