Telegram at Startup?
I've installed the latest Telegram App (v 0.8.32) On my Ubuntu 14.04.
I want Telegram to run minimized at startup in Tray and show me new messages but I can't because In the app settings there isn't any option for that.
Help me How Can i do it....
startup system-tray minimize telegram
add a comment |
I've installed the latest Telegram App (v 0.8.32) On my Ubuntu 14.04.
I want Telegram to run minimized at startup in Tray and show me new messages but I can't because In the app settings there isn't any option for that.
Help me How Can i do it....
startup system-tray minimize telegram
add a comment |
I've installed the latest Telegram App (v 0.8.32) On my Ubuntu 14.04.
I want Telegram to run minimized at startup in Tray and show me new messages but I can't because In the app settings there isn't any option for that.
Help me How Can i do it....
startup system-tray minimize telegram
I've installed the latest Telegram App (v 0.8.32) On my Ubuntu 14.04.
I want Telegram to run minimized at startup in Tray and show me new messages but I can't because In the app settings there isn't any option for that.
Help me How Can i do it....
startup system-tray minimize telegram
startup system-tray minimize telegram
asked Jul 5 '15 at 15:03
SunshineDream AmelSunshineDream Amel
93114
93114
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
You should add a startup item to your startup application list, as mentioned by Mladen B.
The command is:
/opt/telegram/Telegram
Or, if you've installed Telegram via the software center or snap
:
telegram-desktop
To start hidden:
/opt/telegram/Telegram -startintray
There is a -now closed- bug in Telegram using Unity: a sequence of "Open Telegram --> Minimize to tray --> Open Telegram" will show the window.
1
Mentioned bug is pretty annoying!
– Alireza Mirian
Apr 17 '17 at 9:46
add a comment |
You can add it to the list of startup applications, by going to Dash and start typing "startup". The "Startup Applications" icon should show up.
Click on it and when it starts, click on the "Add" button to add your app to the list of applications which will start automatically each time you log in.
Also you can start it minimized by adding -startintray commandline option:
2
Yeah, but how do we find out the "command" name?
– Gregory Opera
Dec 29 '15 at 7:46
Try looking in: ~/.config/autostart
– Mladen B.
Dec 30 '15 at 8:06
add a comment |
Sadly none of them are work from the prevoius solutions.
What I did:
Created a bash script file with (You have to add the proper path of your Telegram executable. Relative path didn't work!):
#!/bin/bash
/home/spyff/.telegram/Telegram &
while true
do
xdotool windowminimize `xdotool search --onlyvisible --classname Telegram`
if [ $? -eq 0 ]
then
break
fi
sleep 0.1
done
Saved somewhere as
TelegramStarter.sh
- Added that script to the Ubuntu's Startup Applications
This start Telegram and if its actually started, minimize it immediately. Tested on Ubuntu 16.04.3 with Telegram 1.1.23.
add a comment |
You could use crontab, and enter this in the terminal:
crontab -e telegram
crontab restart
and it might work fine this way.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f644762%2ftelegram-at-startup%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
You should add a startup item to your startup application list, as mentioned by Mladen B.
The command is:
/opt/telegram/Telegram
Or, if you've installed Telegram via the software center or snap
:
telegram-desktop
To start hidden:
/opt/telegram/Telegram -startintray
There is a -now closed- bug in Telegram using Unity: a sequence of "Open Telegram --> Minimize to tray --> Open Telegram" will show the window.
1
Mentioned bug is pretty annoying!
– Alireza Mirian
Apr 17 '17 at 9:46
add a comment |
You should add a startup item to your startup application list, as mentioned by Mladen B.
The command is:
/opt/telegram/Telegram
Or, if you've installed Telegram via the software center or snap
:
telegram-desktop
To start hidden:
/opt/telegram/Telegram -startintray
There is a -now closed- bug in Telegram using Unity: a sequence of "Open Telegram --> Minimize to tray --> Open Telegram" will show the window.
1
Mentioned bug is pretty annoying!
– Alireza Mirian
Apr 17 '17 at 9:46
add a comment |
You should add a startup item to your startup application list, as mentioned by Mladen B.
The command is:
/opt/telegram/Telegram
Or, if you've installed Telegram via the software center or snap
:
telegram-desktop
To start hidden:
/opt/telegram/Telegram -startintray
There is a -now closed- bug in Telegram using Unity: a sequence of "Open Telegram --> Minimize to tray --> Open Telegram" will show the window.
You should add a startup item to your startup application list, as mentioned by Mladen B.
The command is:
/opt/telegram/Telegram
Or, if you've installed Telegram via the software center or snap
:
telegram-desktop
To start hidden:
/opt/telegram/Telegram -startintray
There is a -now closed- bug in Telegram using Unity: a sequence of "Open Telegram --> Minimize to tray --> Open Telegram" will show the window.
edited Feb 15 at 20:36
Pablo Bianchi
2,97021535
2,97021535
answered Feb 10 '16 at 19:29
Ottó RadicsOttó Radics
33424
33424
1
Mentioned bug is pretty annoying!
– Alireza Mirian
Apr 17 '17 at 9:46
add a comment |
1
Mentioned bug is pretty annoying!
– Alireza Mirian
Apr 17 '17 at 9:46
1
1
Mentioned bug is pretty annoying!
– Alireza Mirian
Apr 17 '17 at 9:46
Mentioned bug is pretty annoying!
– Alireza Mirian
Apr 17 '17 at 9:46
add a comment |
You can add it to the list of startup applications, by going to Dash and start typing "startup". The "Startup Applications" icon should show up.
Click on it and when it starts, click on the "Add" button to add your app to the list of applications which will start automatically each time you log in.
Also you can start it minimized by adding -startintray commandline option:
2
Yeah, but how do we find out the "command" name?
– Gregory Opera
Dec 29 '15 at 7:46
Try looking in: ~/.config/autostart
– Mladen B.
Dec 30 '15 at 8:06
add a comment |
You can add it to the list of startup applications, by going to Dash and start typing "startup". The "Startup Applications" icon should show up.
Click on it and when it starts, click on the "Add" button to add your app to the list of applications which will start automatically each time you log in.
Also you can start it minimized by adding -startintray commandline option:
2
Yeah, but how do we find out the "command" name?
– Gregory Opera
Dec 29 '15 at 7:46
Try looking in: ~/.config/autostart
– Mladen B.
Dec 30 '15 at 8:06
add a comment |
You can add it to the list of startup applications, by going to Dash and start typing "startup". The "Startup Applications" icon should show up.
Click on it and when it starts, click on the "Add" button to add your app to the list of applications which will start automatically each time you log in.
Also you can start it minimized by adding -startintray commandline option:
You can add it to the list of startup applications, by going to Dash and start typing "startup". The "Startup Applications" icon should show up.
Click on it and when it starts, click on the "Add" button to add your app to the list of applications which will start automatically each time you log in.
Also you can start it minimized by adding -startintray commandline option:
edited Jul 7 '16 at 2:50
Omid Khalili
8818
8818
answered Aug 4 '15 at 18:13
Mladen B.Mladen B.
19510
19510
2
Yeah, but how do we find out the "command" name?
– Gregory Opera
Dec 29 '15 at 7:46
Try looking in: ~/.config/autostart
– Mladen B.
Dec 30 '15 at 8:06
add a comment |
2
Yeah, but how do we find out the "command" name?
– Gregory Opera
Dec 29 '15 at 7:46
Try looking in: ~/.config/autostart
– Mladen B.
Dec 30 '15 at 8:06
2
2
Yeah, but how do we find out the "command" name?
– Gregory Opera
Dec 29 '15 at 7:46
Yeah, but how do we find out the "command" name?
– Gregory Opera
Dec 29 '15 at 7:46
Try looking in: ~/.config/autostart
– Mladen B.
Dec 30 '15 at 8:06
Try looking in: ~/.config/autostart
– Mladen B.
Dec 30 '15 at 8:06
add a comment |
Sadly none of them are work from the prevoius solutions.
What I did:
Created a bash script file with (You have to add the proper path of your Telegram executable. Relative path didn't work!):
#!/bin/bash
/home/spyff/.telegram/Telegram &
while true
do
xdotool windowminimize `xdotool search --onlyvisible --classname Telegram`
if [ $? -eq 0 ]
then
break
fi
sleep 0.1
done
Saved somewhere as
TelegramStarter.sh
- Added that script to the Ubuntu's Startup Applications
This start Telegram and if its actually started, minimize it immediately. Tested on Ubuntu 16.04.3 with Telegram 1.1.23.
add a comment |
Sadly none of them are work from the prevoius solutions.
What I did:
Created a bash script file with (You have to add the proper path of your Telegram executable. Relative path didn't work!):
#!/bin/bash
/home/spyff/.telegram/Telegram &
while true
do
xdotool windowminimize `xdotool search --onlyvisible --classname Telegram`
if [ $? -eq 0 ]
then
break
fi
sleep 0.1
done
Saved somewhere as
TelegramStarter.sh
- Added that script to the Ubuntu's Startup Applications
This start Telegram and if its actually started, minimize it immediately. Tested on Ubuntu 16.04.3 with Telegram 1.1.23.
add a comment |
Sadly none of them are work from the prevoius solutions.
What I did:
Created a bash script file with (You have to add the proper path of your Telegram executable. Relative path didn't work!):
#!/bin/bash
/home/spyff/.telegram/Telegram &
while true
do
xdotool windowminimize `xdotool search --onlyvisible --classname Telegram`
if [ $? -eq 0 ]
then
break
fi
sleep 0.1
done
Saved somewhere as
TelegramStarter.sh
- Added that script to the Ubuntu's Startup Applications
This start Telegram and if its actually started, minimize it immediately. Tested on Ubuntu 16.04.3 with Telegram 1.1.23.
Sadly none of them are work from the prevoius solutions.
What I did:
Created a bash script file with (You have to add the proper path of your Telegram executable. Relative path didn't work!):
#!/bin/bash
/home/spyff/.telegram/Telegram &
while true
do
xdotool windowminimize `xdotool search --onlyvisible --classname Telegram`
if [ $? -eq 0 ]
then
break
fi
sleep 0.1
done
Saved somewhere as
TelegramStarter.sh
- Added that script to the Ubuntu's Startup Applications
This start Telegram and if its actually started, minimize it immediately. Tested on Ubuntu 16.04.3 with Telegram 1.1.23.
edited Sep 10 '17 at 9:17
answered Sep 10 '17 at 0:36
SPYFFSPYFF
133
133
add a comment |
add a comment |
You could use crontab, and enter this in the terminal:
crontab -e telegram
crontab restart
and it might work fine this way.
add a comment |
You could use crontab, and enter this in the terminal:
crontab -e telegram
crontab restart
and it might work fine this way.
add a comment |
You could use crontab, and enter this in the terminal:
crontab -e telegram
crontab restart
and it might work fine this way.
You could use crontab, and enter this in the terminal:
crontab -e telegram
crontab restart
and it might work fine this way.
edited Feb 2 '17 at 12:50
alleyoopster
30237
30237
answered Aug 4 '15 at 19:41
MichaelMichael
1,05131423
1,05131423
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f644762%2ftelegram-at-startup%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown