Emacs: Difference between revisions
imported>Lord-Valen m Punctuation |
imported>Binarycat add bugs section and a guide for fixing a problem i encountered |
||
Line 276: | Line 276: | ||
nix-shell -I nixpkgs=<path_to_nixpkgs_copy> -p "(emacsPackagesFor pkgs.emacs28).emacsWithPackages (epkgs: [ epkgs.<package> ])" | nix-shell -I nixpkgs=<path_to_nixpkgs_copy> -p "(emacsPackagesFor pkgs.emacs28).emacsWithPackages (epkgs: [ epkgs.<package> ])" | ||
=== Bugs === | |||
==== Plasma taskbar grouping ==== | |||
To fix/workaround [[Plasma]] grouping emacs incorrectly (confusing emacs.desktop with emacsclient.desktop), perform the following: | |||
1. open emacs | |||
2. right click title bar | |||
3. More Actions > Configure Special Window Settings | |||
4. click Add Property > Desktop File Name | |||
5. set desktop file name to "/home/<USERNAME>/.nix-profile/share/applications/emacs.desktop" | |||
6. hit OK | |||
7. restart emacs if need | |||
all emacs instances should now be grouped together, allowing you to pin it and reliably switch to it with Super+<number> | |||
[[Category:NixOS]] | [[Category:NixOS]] | ||
[[Category:Incomplete]] | [[Category:Incomplete]] | ||
[[Category:Applications]] | [[Category:Applications]] |