Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimize to tray ubuntu 16.04 LTS #43

Open
yuliym opened this issue Oct 18, 2016 · 2 comments
Open

Minimize to tray ubuntu 16.04 LTS #43

yuliym opened this issue Oct 18, 2016 · 2 comments

Comments

@yuliym
Copy link

yuliym commented Oct 18, 2016

I have added icq to autolaunch, but how I can make minimize to tray on boot?
for example:
Telegram: Telegram -startintray
Viber: viber StartMinimized

Thanks.

@2561024
Copy link

2561024 commented Apr 19, 2017

поддерживаю! без этого пользоваться не возможно!

@Alex-from-the-90s
Copy link

I think, I found a solution to autostart ICQ in tray. I writing a script (minimized_ICQ.sh) that closes ICQ after 5 second delay, and this cronjob launches it as well as needed:
@reboot sleep 120 && export DISPLAY=:0 && sh "/path/to/minimized_ICQ.sh" >/dev/null 2>&1
Script contents:
#!/bin/bash
/path/to/ICQ/icq & sleep 5s && wmctrl -c "ICQ"
To execute the script, you need only wmctrl to be installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants