An electron-base client for Google Hangouts Chat, since Google didn't see fit to provide one.
bump electron to 29 with better wayland support. Define ELECTRON_OZONE_PLATFORM_HINT=auto
to take advantage of it. Values can be auto
, wayland
, x11
, with auto
being a reasonable default.
Set it in .zshenv
for instance, and logout / login again. Must be in a placed sourced when .desktop applications launchers are used, will certainly be DE dependant.
empty releases for AUR packaging fix only
Add a menu in 'View' to change tray icon theme.
Add support for several iconThemes, to match some 'monochrome' desktop themes. 3 values are supported :
default
: the good old green onescolored
: the new colored google onesmono
: an attempt at monochrome icon theme
Edit ~/.config/google-hangouts-chat-linux.json
and set "iconTheme":"colored"
for instance, then restart.
No GUI setting for now.
Fix systray notification (favicon name changed on google side) see #87
Add a nice pseudo-protocol support : open gchat:// urls in client instead of browser. (requires configutaion in browsers)
See README.md "Open Google Chat URLs from web browser in the app".
- Desktop shortcut name changed to
Google Chat Alt
rpm
build available- build using containers available
Update electron to 27.0.3.
Wayland is best supported now with titlbars and all. Run with --ozone-platform=wayland
and your're done !
Fix #62 : thank you https://github.com/ThatOneCalculator !
Minor electron update (24.8.5)
Fix #69 : download of attachments. (was broken by a side effect of #67 )
repackage, fix vulnerabilities
Prevent several instances of google chat linux to be launched simultaneously. (#67)
- Under X.Org : Starting a new one will restore and focus the existing one.
- Under Wayland : it depends, with Gnome a notification is displayed but no focus given.
Clean MORE links (#66)
Clean links from google decoration before opening them (#66)
Fix open links in external browser (#65)
- Update to electron 24 to support new functions added to google chat (quote reply among them). As a result, tray icon support gets worse. See #63
- Clean some outdated icons.
- #51 : manually set
NO_REDIRECT_URL
to solve login with custom OAuth SSO providers issues. Comma separated list of urls is accepted ! (see issue in github for more details)
- remove
--ozone-platform-hint=auto
from default launcher - add a word in README about wayland
- update to electron 21
- set
--ozone-platform-hint=auto
to for better wayland support when available. (https://releases.electronjs.org/releases/stable?version=21&page=6&limit=2)
- update to electron 20
- Fix #54 (systray in wayland)
Fix #40 : client breaks out to browser when login needed.
Fix language support #42
Add "languages": ["fr","en-US"] in the json to override default OS locale.
Update to electron 15.3.2
- Good Bye Themes !
- they never worked in new UI
- they ceased to work in old UI
- new UI has native dark theme support ...
- ... no more theme support !
- Good bye Old UI support : it was finally completely disabled by Google.
- electron 14
- support native filechooser instead of GTK only.
- make sure you install
xdg-desktop-portal-gtk
orxdg-desktop-portal-kde
or xdg-desktop-portal-wlr ... depending on your DE and distrib. GTK_USE_PORTAL=1
is set at startup by the application. If it fails you may want to set it in your login script (.bashrc, /etc/profile.d/custom.sh ...)- logout / login and open google-chat-linux, whenever needing to use the filechooser it should use your DE default one.
- details here https://tristan.partin.io/blog/2021/04/01/electron-linux-and-your-file-chooser
- make sure you install
- apply node dependencies security fixes
- Fix #36 : google account login page stays inside client instead of opening in default browser
- Improve #37 : click systray when window is visible without focus gives focus. When has focus : hides it.
- Fix again old notifications : too many favicons were selected, the wrong ones got displayed.
- Fix support for new chat UI notifications
- Cleaner notification detection with ipcRenderer, thanks to @ankurk91 (check his fork here https://github.com/ankurk91/google-chat-electron)
- Runs now in sandbox and with contextisolation
Allow to open previous chat url to restore previous behaviour and fix notification in systray + theme support. (see #35)
fix #34 : Additional 'Advanced' option to open urls using xdg-open
rather than shell.openExternal
. Works better for some users.
Better windows support :
- add taskbar menu to Quit
- remove option to hide from taskbar (new windows paradigm tends to do without systray and use taskbar instead)
Upgrade electron version to 12.
With electron 12 : The default values of contextIsolation and worldSafeExecuteJavaScript are now true. #27949 #27502
As a result in this app : contextIsolation is forced to false
in order to have systray integration work as previously.
Upgrade dependencies (vulnerability fix)
Add "windows" packaging configuration : npm run dist
produces a nice installer on windows platform now :-)
Add a secondary "dark theme" accessible in "View" Menu.
Move to electron 11 that brings Apple M1 native support.
Change versioning scheme :
- first number is internal architecture, won't change anytime soon
- second is the electron version.
- third is a 'feature' level
- dash-number is a packaging number : same features, only minor bugfix and packaging changes : no news, only better things
add FAKE libappindicator3.so
and libappindicator3.so1
in /opt/google-chat-linux to fix left click on TRay icon.
In case tere are side effects ... remove the files, and open an issue, I'll see what I can do.
0.5.7-5: add "third party auth" in systray menu, and fix a bug there by the way
0.5.7-4: on Force reload : re-apply theme if needed. Useful when Gogole forces a "REFRESH" action that tends toremove theme.
0.5.7-3: cleanup Menu. Use Menu / Use temporary thirs party auth mode
in case your login doesn't work (see 0.5.7-2)
0.5.7-2: better support for external auth system at login page (starting with 0.5.7-1 but incomplete)
- add option to disable Node Integration (from Menu). It breaks systray but may help with some auth redirection mechanisms (Atlassian Crowd for instance)
- add option to keep all URL's inside electron client (from Menu), to help debugging some situations
- always keep chat.google.com url inside client
Google 'refresh' action stays inside client.
The "Menu" shows up when hitting "Alt" key.
electron 10
customize spellcheck language (Windows + Linux) by editing $HOME/.config/google-hangouts-chat-linux.json
, add "languages": ["fr","en-US"]
in the json for instance to override default OS locale.
Alt-Left / Alt-Right navigation shortcuts are disabled now by default. Reenable them in menu (restart required)
Electron 9, which has reverted to 'old' systray integration. Should help someDE users to have this work.
Notes
- going back to electron 8 or previous is not as simple as changing version in package.json anymore. Look at package.json history to see the changes.
- packages 0.5.0-1 and 0.5.0-2 do not work. Avoid tthem, use 0.5.0-3.
- Secure tray icon change.
- Avoid renderer processes to be restarted on every navigation.
- Add 'About' menu to display version.
- Restart app to 'keep minimized' configuration takes effect.
- by default keep window in windows list when 'closing'. Add a 'view' menu to change back to previous behaviour : hiding on 'close'. This is done for DE that does NOT display systray of eletron 8 : Cinnamon for instance, any DE that doesn't handle well 'appindicator' in electron 8.
- At first run, shows in windows list on close to prevent lost windows on those DE.
- Change color of minimized window icon for those DE.
0.4.2 adds a "Menu" in app, press Alt to reveal it. It's the same as systray menu, for OS's where systray is not (yet?) properly supported
from 0.4.1 : update to electron 8 for better Systray compatibility on linux when appindicator lib is used. see electron/electron#21445. You may have to install some plugnis depending on your DE (xfce4-statusnotifier-plugin for instance)
from 0.4.0 on : systray color works without hidden window, so everything should be ok again!
from 0.3.2 on : systray icon color change IS BACK through the use of a hidden window ... kind of dirty but seems to work.
on version 0.3.0 and 0.3.1 : systray icon color change does not work anymore, I volontarily removed it. Why ? It requires "nodeIntegration: true" in electron, which in turn breaks the "Search" for people (Ctrl K), which is much, much more useful than the icon color change.
As a compensation, there is a custom theme ... :) (activate it from systray menu)