From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help Subject: [Emacs, Xorg?] Different icons for servers Date: Thu, 09 Apr 2015 00:50:47 +0200 Message-ID: <87384afd4o.fsf@gmx.us> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428533483 8656 80.91.229.3 (8 Apr 2015 22:51:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2015 22:51:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 09 00:51:15 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YfyoS-0000z8-SW for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Apr 2015 00:51:13 +0200 Original-Received: from localhost ([::1]:55261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfyoS-00045S-87 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2015 18:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfyoH-00045L-4y for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 18:51:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfyoD-0008QI-TX for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 18:51:01 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:45570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfyoD-0008QA-N1 for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 18:50:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YfyoA-0000st-Nj for help-gnu-emacs@gnu.org; Thu, 09 Apr 2015 00:50:54 +0200 Original-Received: from 102.201.133.37.dynamic.jazztel.es ([37.133.201.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Apr 2015 00:50:54 +0200 Original-Received: from rasmus by 102.201.133.37.dynamic.jazztel.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Apr 2015 00:50:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 102.201.133.37.dynamic.jazztel.es Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAmJLR0QA/4ePzL8AAAAJcEhZ cwAAAEgAAABIAEbJaz4AAAFfSURBVEgN7cHBdRtBDETBHxJSQSRIBaEglM6mr96ZpUSJ9NLizc/P VfyLxrxnVLxFmHfEkOINVeCK4GeiZbs99iR/JLvFIQUlK3hl3MCwqDikh2sWhy42B4udXHCxmFOY LRw8CA/gYGtuilM6edCYGa6Ei+8EY66V+U4wxQtyHZIPnZhX0tLMuDhlYe6KJ85sDRJbNOaueGIO aUZsE+KrqOlO7pwc0jhZJocvpgOoST44WARm6RoQi4Do7gQquHGwpHCw1LClEEvUDHfmZCZZSixl qgi2EJ/MSUyxpHBBdAnEjfhgTkbBZgUBhFTiUZiTMCcHDqCbDh612LJDbEopuORkMxMsnbi45O5m EWYTKnPFA2YxaQ4RiDG/1e4EsyiZYYkGm2dpg6xmSYH5NJ7gm7KjQQQnNeZO7aUzCCJlJ4QUfJKD u4EQ5Ztmi+CKwcDA8CM9DkBgfqbYrOC/v94vK5fsMt898OUAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:azjpr3ODO/JE35TE+3iK1jC/xgE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103592 Archived-At: Hi, I would like to start Emacs servers, that are recognized as separate programs and have separate icons. I use Emacs for various purposes such as music, email, note capturing, and "the rest". For some of these I like to run dedicated daemons/servers. E.g. this is how I start EMMS (from emms.desktop): emacsclient -s emms -ca '' --eval "(progn (toggle-frame-maximized) (emms-smart-browse))" -F '((title . "EMMS"))' I would like to communicate to X or my DE (Gnome-Shell) that each Emacs server is a separate program with it's own "class". I think this is would be "changing the x-resource-class for each server" in Emacs lingo. Further, I would like to change the icon associated with a server. I tried to add something like the following to my -F cons list: (icon-type . "/home/rasmus/.local/share/icons/emms.png") But it did not seem to have an effect. I would appreciate help on this. Thanks, Rasmus -- Send from my Emacs