Skype для Linux не запускается в фоновом режиме

Начиная с версии 8.62.0.85 (выпущена в июле 2020 г.) Skype для Linux не поддерживает настройку «Запускать Skype в фоновом режиме» в меню «Сервис» -> «Настройки» -> «Общие». Окно Skype всегда появляется после запуска независимо от настроек.

Снимок экрана окна настроек Skype можно найти на этом форуме Манджаро для справки.

1
задан 21 July 2020 в 02:41

1 ответ

First make sure that the setting "Upon closing, keep Skype running" is active under Tools -> Settings -> General, otherwise this solution will not work.

Then open /usr/bin/skypeforlinux and add the following lines at the end:

# Launch Skype in the background
sleep 10
wmctrl -F -c Skype

wmctrl interacts with an X Window manager. wmctrl -c closes a window gracefully. wmctrl -F matches the exact, case sensitive window title.

A short wait is needed until the Skype window appears, hence the sleep command. 10 seconds worked for me, other/slower computers may need a longer wait. This is a bit flimsy and there are probably more elegant ways to wait for a window to open but it does the job as a workaround.

The setting "Launch Skype in background" under Tools -> Settings -> General will have no effect. Skype will always start in the background independent of the setting.

1
ответ дан 30 July 2020 в 22:04

Другие вопросы по тегам:

Похожие вопросы: