Skip to content

Conversation

@zudsniper
Copy link
Contributor

This PR adds several improvements and fixes to the Linear Linux wrapper.

Features & Improvements

  • Window Shortcuts: Added support for Ctrl+Shift+N to open a new window.
  • Window State Management:
    • The application now remembers the last window position and size upon exit and restores them on launch.
    • When opening a new window, it duplicates the size of the currently focused window and opens it with a slight offset, improving the multitasking experience.
  • Build Configuration:
    • Added an after-install.sh script to automatically fix chrome-sandbox permissions (root ownership and 4755 mode) for Debian packages. This resolves crash issues on some systems.
    • Removed the rpm target from the build script to avoid build errors when rpmbuild is missing.
    • Added a placeholder author email to satisfy electron-builder requirements for .deb packages.

Testing

  • OS: Tested and verified on Ubuntu 24.10.
  • Functionality: Verified startup, window creation shortcuts, state restoration, and Debian package installation.

- Add Ctrl+Shift+N shortcut to create new windows
- Implement window state persistence (save/restore position and size)
- New windows duplicate the size of the currently focused window with an offset
- Fix Debian package chrome-sandbox permissions via after-install script
- Update build configuration: remove rpm, add author email
Copy link
Owner

@selimaj-dev selimaj-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@selimaj-dev selimaj-dev merged commit be22960 into selimaj-dev:master Nov 28, 2025
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.

2 participants