-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix displayed name for GNOME Terminal and Black Box
libmacchina uses /proc/<pid>/comm, which is limited to 15 chars and it's not guaranteed to hold a user friendly name. For example GNOME Terminal is actually /usr/libexec/gnome-terminal-server and its `comm` is `gnome-terminal-`. Add a replacement function that returns user friendly names and that can be expanded with more.
- Loading branch information
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters