flathub / flathub/org.gnu.emacs

Run flatpaked emacs in the background

Open
#55 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
18
Forks
20
Avg merge
23h 32m
Merged PRs (30d)
1

Description

I think there should be a way to run flatpaked emacs in the background and use `emacsclient` to connect.

On modern distributions, the traditional way is to create a systemd service, enable it for user and run the application on session startup, see . Then just add emacsclient that creates a new frame to autostart, create `emacsclient.desktop` file and open each file in the same frame.

Flatpak now allows to run applications in the backgound and use autostart,
see .

In my opinion, using just one frame with `emacsclient` provides better user experience than using a newly-created frame for each buffer. Since flatpaked emacs is used in desktop environments, I think this way should be available or even take precedence.

As I see it, `org.gnu.emacs.client.desktop` file should definitely be provided by the package. Also there is need to investigate how configure the package to run emacs in the background. The corresponding instruction should be added to `emacs-first-run.txt`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Flatpak background and autostart requirements described in the issue, along with how org.gnu.emacs.client.desktop would be provided. Then inspect emacs-first-run.txt and the package configuration relevant to running Emacs in the background. Done means the client desktop entry and background setup are available, with instructions documented for using emacsclient.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs
Domain
desktop, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.