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

Autostart on Linux #422

Open
TheAppService opened this issue Jan 19, 2015 · 15 comments

Comments

@TheAppService
Copy link

commented Jan 19, 2015

Hello,

could you perhaps add the function to let telegram autostart on Linux? And also an Option to start it minimized so it only appears in the bar on top(Ubuntu)?

Thanks

Daniel

@auchri

This comment has been minimized.

Copy link
Member

commented Jan 19, 2015

@auchri

This comment has been minimized.

Copy link
Member

commented Feb 1, 2015

Added with 0.7.10, pls close

@Zranz

This comment has been minimized.

Copy link

commented Feb 1, 2015

I don't think it has been added. There is no option in Settings, and when starting it automatically opens the main window.

Do I need to start it with some option?

@auchri

This comment has been minimized.

Copy link
Member

commented Feb 1, 2015

yes, try -startintray commandline option

@Zranz

This comment has been minimized.

Copy link

commented Feb 1, 2015

It doesn't work properly with the commandline option. Although it indeed starts minimized, there is no way afterwards to open the chat window, and I have to close Telegram and reopen
(without the command line) if I want the program to work normally.

@auchri

This comment has been minimized.

Copy link
Member

commented Feb 1, 2015

You don't have a tray icon?

@Zranz

This comment has been minimized.

Copy link

commented Feb 1, 2015

I do have a tray icon, but clicking in "Open Telegram" on the tray icon does nothing. Only quit works.
This is the log I get when opening from command line with the -startintray option (which by the way, is the same without any parameters too):

libs init..
loading appindicator3 with version 1..
loaded appindicator3 with version 1!
loading gtk-3 with version 0..
loaded gtk-3 with version 0!
loaded gtk funcs!
loaded appindicator funcs!
status icon api loaded
loading unity with version 9..
loaded unity with version 9!
unity count api loaded
FT_New_Face failed with index 0 : 1
FT_New_Face failed with index 0 : 1
FT_New_Face failed with index 0 : 1
FT_New_Face failed with index 0 : 1
FT_New_Face failed with index 0 : 1

@TheAppService

This comment has been minimized.

Copy link
Author

commented Feb 2, 2015

Yes,

what he says is right(I've just tried it). I hope that it get fixed soon.

@TheAppService

This comment has been minimized.

Copy link
Author

commented Feb 19, 2015

Okay fixed (The option with -startintray)

@Zranz

This comment has been minimized.

Copy link

commented Feb 19, 2015

It works with an odd behaviour in version 0.7.17.

So after starting from command line with the -startintray option, tray icon is unresponsive to "Open Telegram". One has to first click on "Minimize to tray", and after that to "Open Telegram" to be able to see the main window.

Thanks for the fix in any case.

@sojusnik

This comment has been minimized.

Copy link

commented Feb 19, 2015

How exactly should the proper command look like to start Telegram in the tray?

As for now, under Telegram 0.7.17 and Ubuntu Gnome 14.10, the following isn't working, because Telegram just opens the normal way:

[your_directory]/Telegram -- %u -startintray

@Zranz

This comment has been minimized.

Copy link

commented Feb 19, 2015

[your_directory]/Telegram -startintray

works for me. As I said, with odd behaviour (1st click open telegram, 2nd click minimize telegram, 3rd click open telegram and it finally opens).

@sojusnik

This comment has been minimized.

Copy link

commented Feb 20, 2015

With

[your_directory]/Telegram -startintray

Telegram starts focused, but the content of the window is completely black, see yourself: https://mega.co.nz/#!CgwlgJgJ!HChH7BhLdw1liUuWUaWFAxECU6uGkRtuuJ6SeT_VV2Q

Is there a way to reopen this issue, since the minimized startup process is still buggy?

@Snuggle

This comment has been minimized.

Copy link

commented Aug 9, 2017

I've demonstrated @Zranz's bug in a reply to here: #3391
Hopefully this helps. c:

@auchri auchri changed the title [Feature Request] Autostart on Linux Autostart on Linux Oct 3, 2017
@telegramdesktop telegramdesktop deleted a comment from dimon2242 Oct 3, 2017
@telegramdesktop telegramdesktop deleted a comment from garridev Oct 3, 2017
@telegramdesktop telegramdesktop deleted a comment from wirthual Oct 3, 2017
@telegramdesktop telegramdesktop deleted a comment from skylevels Oct 3, 2017
@telegramdesktop telegramdesktop deleted a comment from sakralbar Oct 3, 2017
@abixadamj

This comment has been minimized.

Copy link

commented Feb 21, 2018

Strange behaviour on Mint 18.2 64bit
I have Installed 1.2.6 version yesterday. Everything works perfectly. I have checked 'Show tray icon' and Telegram runs OK. I have added Telegram to Autostart in Mint. Today I have started computer, and Telegram opened in normal windows, without system tray icon.
When I go to Preferences, uncheck 'Show tray icon" and then check it again, icon apperad in tray.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.