Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can not find emacs icon in K-menu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Jackie Lin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2017
Posts: 87

PostPosted: Thu Oct 18, 2018 2:47 am    Post subject: can not find emacs icon in K-menu Reply with quote

hello,there.
I can not find the emacs item in the plasma start menu after I emerged app-editors/emacs.
how to solve it? could anyone help me? thanks!
_________________
peace, focus.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19908
Location: here

PostPosted: Thu Oct 18, 2018 6:06 am    Post subject: Reply with quote

emacs desktop file is located in /usr/share/emacs/<your_version>/etc/emacs.desktop and is not actually found.
One solution is copy this file in ~/.local/share/applications/
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Jackie Lin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2017
Posts: 87

PostPosted: Thu Oct 18, 2018 7:30 am    Post subject: Reply with quote

hi. the emacs.desktop file is in /usr/share/emacs/26.1/etc folder.
but there is no icon until i copied it to .local/share/applications.
Code:

jerry@notebook ~ $ ls /usr/share/emacs/26.1/etc/
AUTHORS          DEVEL.HUMOR        emacs.desktop  forms         grep.txt   MH-E-NEWS   NEWS.21   NXML-NEWS            ps-prin1.ps       spook.lines      WHY-FREE
CALC-NEWS        DISTRIB            emacs.icon     FTP           HELLO      MORE.STUFF  NEWS.22   ORDERS               publicsuffix.txt  srecode          yow.lines
CENSORSHIP       DOC                emacs.service  future-bug    HISTORY    NEWS        NEWS.23   org                  README            TERMS
charsets         e                  enriched.txt   GNU           images     NEWS.1-17   NEWS.24   ORG-NEWS             refcards          THE-GNU-PROJECT
compilation.txt  edt-user.el        ERC-NEWS       gnus          JOKES      NEWS.18     NEWS.25   package-keyring.gpg  rgb.txt           themes
COPYING          emacs.appdata.xml  ETAGS.EBNF     GNUS-NEWS     LINUX-GNU  NEWS.19     NEXTSTEP  PROBLEMS             schema            TODO
DEBUG            emacs-buffer.gdb   ETAGS.README   gnus-tut.txt  MACHINES   NEWS.20     nxml      ps-prin0.ps          ses-example.ses   tutorials


is it normal?
_________________
peace, focus.
Back to top
View user's profile Send private message
Jackie Lin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2017
Posts: 87

PostPosted: Thu Oct 18, 2018 8:02 am    Post subject: Reply with quote

Thanks, fedeliallalinea.
I deteled ./local/share/applications/emacs.desktop. and chmod 755 /usr/share/applications/emacs*. it is fixed.
_________________
peace, focus.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum