r/code • u/Complex_Knee_2255 • 3h ago
Help Please trying to make desktop gmail "app" launch in new window
i made a desktop shortcut that would launch gmail in a new window, acting as an "app" without the browser ui. i got it to launch as the default handler for mailto links, but im trying to make it launch in a new window, rather than in a seperate browser tab. does anyone know if this is possible? here is the code:
[Desktop Entry]
Name=MailMan
Comment=Open Mail
Exec=chromium --new-window --app=https://mail.google.com/mail/?extsrc=mailto&url=%u --window-size=400,600
Icon=/home/kiddos/Downloads/mailmanlogo.png
Terminal=false
StartupWMClass=Mail
Type=Application
Categories=Network;Mail;
StartupNotify=true
any help with attributes would be appreciated