0

I regularly use text notes files on my computer. Therefore I created a mynotes.desktop file launcher that uses emacs editor to open those files.

[Desktop Entry]
Type=Application
Name=MyNotes
Comment=Note taking editor
Exec=/usr/bin/env XLIB_SKIP_ARGB_VISUALS=1  /usr/bin/emacs   /home/pink/notes/misc.txt
Icon=mynotes
Terminal=false
Categories=Utility
StartupWMClass=mynotes

I locked the launcher on the dock. On the the dock there is also an emacs launcher for any other kind of emacs editing.

However, when I click on mynotes launcher, the opened emacs session gets pinned under the emacs icon.

As you see I set StartupWMClass=mynotes into mynotes.desktop, but no way. it gets associated with the emacs.

Any idea?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.