tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

[Feature request] add a start minimized option on linux version

Open eliadevito opened this issue 11 years ago • 30 comments

I'd like to have the possibility to start telegram minimized in the tray icon

eliadevito avatar Jan 16 '15 19:01 eliadevito

This feature is not present on linux version. I have corrected the title

eliadevito avatar Jan 16 '15 19:01 eliadevito

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

hai-nguyen-van avatar Jan 22 '15 07:01 hai-nguyen-van

+1. This is currently the major reason why I'm not adding Telegram to autostart.

Maia-Everett avatar Jan 28 '15 12:01 Maia-Everett

@EmptyStackExn v7.10 comes with -startintray cmd parameter

auchri avatar Jan 28 '15 19:01 auchri

I have it on autostart, but the window opening is a little annoying. It's bearable, though.

solarkraft avatar Jan 29 '15 09:01 solarkraft

//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.

solarkraft avatar Jan 29 '15 09:01 solarkraft

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.

ghost avatar Jan 29 '15 12:01 ghost

@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:

hai-nguyen-van avatar Jan 30 '15 09:01 hai-nguyen-van

Good idea. -h or --help sounds excellent.

anavarre avatar Jan 30 '15 09:01 anavarre

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.

Maia-Everett avatar Feb 01 '15 15:02 Maia-Everett

+1 and I have same @lucidfox issue (Ubuntu 14.04, Gnome 3.12)

nplezka avatar Feb 03 '15 12:02 nplezka

"Telegram -startintray" works for me in Xubuntu 15.04 . The application gets started and only the indicator is shown, no hidden window.

dkessel avatar Feb 10 '15 20:02 dkessel

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!

brunoJeeAo avatar Mar 03 '15 08:03 brunoJeeAo

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 .

Altair2015 avatar Mar 03 '15 08:03 Altair2015

See here: https://github.com/telegramdesktop/tdesktop/issues/512

sojusnik avatar Mar 03 '15 18:03 sojusnik

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.

shadowlmd avatar May 09 '15 12:05 shadowlmd

I get the same as @brunoJeeAo 's comment. That's better than it starting up on the screen though

MatthewBooth avatar May 21 '15 17:05 MatthewBooth

@telegramdesktop Thanks for the hint.

I wonder why you don't want to add this option in Telegram settings GUI?

mbnoimi avatar May 28 '15 19:05 mbnoimi

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 avatar Jun 18 '15 07:06 PlusMinus0

PlusMinus0 the '--startintray' and '-t' options are incorrect, Telegram starts opened however (i.e. same thing if you type '--goofy'.)

brunoJeeAo avatar Jun 19 '15 06:06 brunoJeeAo