vercel / vercel/hyper

set debian alternatives for x-terminal-emulator

Open
#2,259 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🎨 Type: Enhancement 🐧 Platform: Linux
Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • I am on the latest Hyper.app version

  • I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: Ubuntu/xenial (affects all debian distributions)

  • Hyper.app version: 1.4.7

  • Link of a Gist with the contents of your .hyper.js: n/a

  • Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): n/a

  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

many terminals update debian alternatives for /etc/alternatives/x-terminal-emulator to point to themselves. Hyper should do this in its debian packaging, per https://debian-administration.org/article/91/Using_the_Debian_alternatives_system

This requires the package to run

update-alternatives --install /etc/alternatives/x-terminal-emulator hyper /opt/Hyper/hyper 100

This would allow users could run:

update-alternatives --set x-terminal-emulator /opt/Hyper/hyper

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating Hyper's Debian packaging entry points and checking how package installation scripts are defined. Add the requested update-alternatives registration for x-terminal-emulator, then verify that installing the Debian package registers Hyper and that the alternative can be selected with the command shown in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
cli, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.