Portál AbcLinuxu, 1. května 2025 09:52

Jak přidat do kdm (KDE Display Manager) dalšího správce oken?

Přidání správce oken do KDM je celkem zapeklitý problém, který se v různých distribucích řídí jinak.

Gentoo:

Na distribuci, kterou používám já (Gentoo) jsem přidání PekWM vyřešil takto, je to nejsystemovější řešení, které znám. Do adresáře /usr/share/xsessions/ jsem přidal soubor pekwm.desktop s obsahem
[Desktop Entry]
Encoding=UTF-8
Name=Pekwm
Comment=This session logs you into Pekwm
Exec=startpekwm
TryExec=startpekwm
Icon=
Type=Application
a do adresáře /usr/bin jsem přidal script startpekwm s obsahem
#!/bin/sh
#
#  startpekwm
#
#  Copyright (C) 2004 Eric Sandall <eric@sandall.us>
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

exec  pekwm
, nezapomeňte mu nastavit práva na spustitelný :-)

Debian/Ubuntu:

Pokud je daný správce oken instalován pomocí apt-get, žádné ruční zásahy nejsou potřeba, nový wm se do seznamu přidá automaticky

Dokument vytvořil: Käyttäjä 11133, 14.12.2005 21:54 | Poslední úprava: unknown_, 15.8.2006 16:12 | Další přispěvatelé: trekker.dk, Käyttäjä 11133 | Historie změn | Zobrazeno: 1106×

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.