[Feature request] add a start minimized option on linux version
I'd like to have the possibility to start telegram minimized in the tray icon
This feature is not present on linux version. I have corrected the title
Yes ! That would be great in Linux. In fact, autostart is not even necessary
Maybe you can just simply add some option like ./Telegram --no-startup-window in order to load the app only in background (as we already have a app indicator).
Then, we would add ourselves the command into Startup applications
+1. This is currently the major reason why I'm not adding Telegram to autostart.
@EmptyStackExn v7.10 comes with -startintray cmd parameter
I have it on autostart, but the window opening is a little annoying. It's bearable, though.
//Since the mobile version of GitHub does not seem to allow comment editing, I'll add another one.
Many desktop environments have an autostart functionality. I know GNOME has it and you might add a feature to enable it from the tg settings.
Try "-startintray" commandline option in the 0.7.10 version, maybe it will work fine for you. But the window yet is only minimized, not hidden. Maybe I should hide it if the libappindicator could be loaded.
@auchri @telegramdesktop Thank you ! That works great for me. Maybe you should add the option -h in order to list and gather all possible options for new users who would not be aware this feature yet :+1:
Good idea. -h or --help sounds excellent.
Doesn't work for me (Ubuntu 14.10, GNOME 3.12). With -startintray, the main window is still shown, but fails to properly draw its contents and is filled with garbage.
+1 and I have same @lucidfox issue (Ubuntu 14.04, Gnome 3.12)
"Telegram -startintray" works for me in Xubuntu 15.04 . The application gets started and only the indicator is shown, no hidden window.
With my Ubuntu 14.04 (Unity) I've a 'strange' behavior: Telegram starts with the option "-startintray", but I have to click sometimes on the tray icon to see my chats. First time I've to click on 'Open Telegram', after 'Minimize to tray' and then 'Open Telegram' again!
2015-03-03 15:30 GMT+07:00 brunoJeeAo [email protected]:
With my Ubuntu 14.04 (Unity) I've a 'strange' behavior: Telegram starts with the option "-startintray", but I have to click sometimes on the tray icon to see my chats. First time I've to click on 'Open Telegram', after 'Minimize to tray' and then 'Open Telegram' again!
— Reply to this email directly or view it on GitHub https://github.com/telegramdesktop/tdesktop/issues/407#issuecomment-76905488 .
See here: https://github.com/telegramdesktop/tdesktop/issues/512
Option -startintray doesn't work as expected. When Telegram started with this option in Ubuntu 15.04, I can't open Telegram windows at all. No matter how many times I click tray icon and select "Open Telegram", nothing happens. I have to close Telegram and start it again regular way.
PS: I tried https://github.com/telegramdesktop/tdesktop/issues/407#issuecomment-76905488, it works for me too. Indeed, a sequence of "Open Telegram --> Minimize to tray --> Open Telegram" shows the window finally. I hope you can fix this strange behavior.
I get the same as @brunoJeeAo 's comment. That's better than it starting up on the screen though
@telegramdesktop Thanks for the hint.
I wonder why you don't want to add this option in Telegram settings GUI?
Appears to be working in cinnamon.
Just my to cents: The command should be either -t --startintray
also, as somebody mentioned: -h and/or --help should not start the program but show available command line options.
PlusMinus0 the '--startintray' and '-t' options are incorrect, Telegram starts opened however (i.e. same thing if you type '--goofy'.)