How-To Start Discord Minimized

Discussion in 'Computer Tutorials' started by Erfg1, Apr 24, 2017.

  1. Erfg1
    OP

    Erfg1 Advanced Member

    Newcomer
    51
    27
    Jan 3, 2016
    United States
    Because of the way that Discord was built, the only time you can minimize it is when the actual chat form opens. The beginning update splash page is not part of the main form, so we need to wait for the main chat form. Also you can't give the chat form the command to minimize as it doesn't use the standard winform code. So we give it the taskkill command which Discord intercepts and minimizes to system tray instead of closing.

    1) Right click on the Discord system tray icon and uncheck the start when windows starts option.

    2) Make a .bat file with the following content:

    Code:
    @Echo off
    start /wait %LOCALAPPDATA%\Discord\Update.exe --processStart Discord.exe
    
    @For /f "Delims=:" %%A in ('tasklist /v /fi "WINDOWTITLE eq Discord"') do @if %%A==INFO echo Prog not running
    
    timeout 10
    
    taskkill /IM discord.exe
    3) Put the .bat file in your "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup" folder.

    Now Discord will minimize after 10 seconds after it starts up. You can shrink the time by altering the "timeout" function.

    If you want an already made batch file visit https://newagesoldier.com/how-to-minimize-discord-on-startup/
     
    Last edited by Erfg1, Apr 24, 2017
    Tumoche and spkuja like this.


  2. ElijahZAwesome

    ElijahZAwesome GBATemp's official... uh... uhhhhhhhhhhhh

    Member
    674
    306
    Jul 12, 2016
    United States
    Narnia
    Good tut, but how does this help anything?
     
  3. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    10,032
    5,078
    May 27, 2016
    United States
    New York
    Obviously SOMEONE wanted this or maybe someone wouldn't have come up with a way to do so. :P

    But i just use discord in my chrome web browser, it allow live notifications via windows popup on bottom left of screen, which is nice, no need to install any apps. :)
     
    ElijahZAwesome likes this.
  4. ElijahZAwesome

    ElijahZAwesome GBATemp's official... uh... uhhhhhhhhhhhh

    Member
    674
    306
    Jul 12, 2016
    United States
    Narnia
    I got a GBAtemp chrome extension which gives me real time notifications and I love it :)
     
  5. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    10,032
    5,078
    May 27, 2016
    United States
    New York
  6. ElijahZAwesome

    ElijahZAwesome GBATemp's official... uh... uhhhhhhhhhhhh

    Member
    674
    306
    Jul 12, 2016
    United States
    Narnia
  7. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    10,032
    5,078
    May 27, 2016
    United States
    New York
    Cause it never worked for me, so i uninstalled it. I put it in, and it just does nothing, so i removed it. No notifications or anything. But is not the proper thread to discuss that, so i'll leave it alone.:unsure:
     
  8. ElijahZAwesome

    ElijahZAwesome GBATemp's official... uh... uhhhhhhhhhhhh

    Member
    674
    306
    Jul 12, 2016
    United States
    Narnia
    Yeah, not the place or time, but I had to put in some settings and it worked, I can try to see what it is and pm you if you want
     
  9. spkuja

    spkuja GBAtemp Regular

    Member
    245
    74
    May 7, 2007

    Thanks for this! It really bugs me that discord starts as a full window.
     
  10. VinLark

    VinLark This machine kills bourgeois sentimentality.

    Member
    4,125
    4,910
    Jun 11, 2016
    Trinidad and Tobago
    Psychosystem Denomination
    Nice, wonder if there is something like this for loonix
     
  11. Vieela

    Vieela GBATemp's official violin™

    Member
    197
    68
    Jan 18, 2017
    Brazil
    Location: Location: Location:
    Thanks for the tutorial!
     
  12. hobbledehoy899

    hobbledehoy899 Conniption Master

    Member
    2,713
    4,481
    Nov 13, 2015
    United States
    Kernel Version: Linux 4.13.9-1-zen
    The Linux version of Discord is merely a browser that was "optimized" for the Discord site, you can't even properly fullscreen it.
     
  13. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,705
    4,790
    Aug 18, 2015
    United Kingdom
    UK
    So is the Windows version.
     
  14. hobbledehoy899

    hobbledehoy899 Conniption Master

    Member
    2,713
    4,481
    Nov 13, 2015
    United States
    Kernel Version: Linux 4.13.9-1-zen
    Doesn't that have custom window theming though?
     
  15. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,705
    4,790
    Aug 18, 2015
    United Kingdom
    UK
    It does.

    — Posts automatically merged - Please don't double post! —

    The Discord client uses Electron, which uses Chromium.
     
  16. hobbledehoy899

    hobbledehoy899 Conniption Master

    Member
    2,713
    4,481
    Nov 13, 2015
    United States
    Kernel Version: Linux 4.13.9-1-zen
    Discord looks like shit.png
    Yeah... the Linux version doesn't.
     
    Last edited by hobbledehoy899, May 13, 2017
  17. Erfg1
    OP

    Erfg1 Advanced Member

    Newcomer
    51
    27
    Jan 3, 2016
    United States
    @hobbledehoy899 Try this for Linux (make a .sh file with +x permissions)

    Code:
    #!/bin/sh 
    until wmctrl -F -c "Discord"; do sleep 2; done & 
    exec /usr/share/discord-canary/DiscordCanary
    
     
  18. hobbledehoy899

    hobbledehoy899 Conniption Master

    Member
    2,713
    4,481
    Nov 13, 2015
    United States
    Kernel Version: Linux 4.13.9-1-zen
    The hell is that supposed to do? All I get is "./dis.sh: 3: exec: /usr/share/discord-canary/DiscordCanary: not found"
     
  19. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,107
    5,178
    Mar 17, 2010
    Norway
    Alola
    As far as I can tell it does the same thing as the batch file.
    Canary is the beta build. I suppose you would just replace it with the path to your discord binary.
     
    hobbledehoy899 likes this.
  20. Erfg1
    OP

    Erfg1 Advanced Member

    Newcomer
    51
    27
    Jan 3, 2016
    United States
    You'll have to replace the path with whatever your Discord path is.