Skip to content

fix: Add tray icon support for Linux (fixes #377)#3775

Open
sersiendotodo-cleo wants to merge 2 commits intoBoostIO:masterfrom
sersiendotodo-cleo:fix/issue-377-tray-icon-linux
Open

fix: Add tray icon support for Linux (fixes #377)#3775
sersiendotodo-cleo wants to merge 2 commits intoBoostIO:masterfrom
sersiendotodo-cleo:fix/issue-377-tray-icon-linux

Conversation

@sersiendotodo-cleo
Copy link

Summary

This PR adds system tray icon support for Linux, which was missing in the original codebase.

Changes

  • Create lib/main-tray.js to handle tray icon functionality
  • Modify lib/main-app.js to initialize tray on Linux
  • Use existing tray-icon.png assets from resources/

Features

  • Show/Hide Boostnote window from tray
  • Context menu with: Show Boostnote, Hide Boostnote, Quit
  • Click to toggle window visibility
  • Double-click to show window

Testing

  • Tested on Ubuntu 16.04+ (Linux)
  • Tray icon appears in system notification area
  • Context menu works correctly
  • Click/double-click events handled properly

Issue

Fixes #377

Bounty

This PR addresses the $25 bounty on IssueHunt.

- Create lib/main-tray.js to handle tray icon functionality
- Modify lib/main-app.js to initialize tray on Linux
- Use existing tray-icon.png assets from resources/
- Add context menu: Show/Hide Boostnote, Quit
- Handle click and double-click events

This implements system tray icon support for Ubuntu/Linux systems,
which was missing in the original codebase.

Issue: BoostIO#377
Bounty: 5 on IssueHunt
@sersiendotodo-cleo
Copy link
Author

👋 Friendly bump on this PR. Ready for review - mergeable state is clean. Let me know if any changes are needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No tray icon on Ubuntu 16.04

1 participant