web-dev-qa-db-fra.com

Comment installer Lubuntu Desktop Environment et UNIQUEMENT l'environnement de bureau?

J'ai un ordinateur plus lent avec lequel j'aimerais utiliser l'environnement de bureau Lubuntu. Cependant, je ne souhaite installer aucun logiciel non lié à l'environnement de bureau. Je parle de programmes comme Abiword et Lubuntu Software Center. Comment installer l'environnement de bureau et l'environnement de bureau UNIQUEMENT?

De plus, si quelqu'un peut me diriger dans la bonne direction pour la recherche, lorsque j'utilise plusieurs environnements de bureau, je remarque que certains éléments d'un environnement de bureau (barres de défilement, jeux de couleurs, thèmes de programme, par exemple) sont présents, quel que soit l'environnement de bureau auquel je me connecte. . Y at-il un correctif pour cela?

18
Josh

Vous pouvez aussi utiliser

Sudo apt-get install --no-install-recommends lubuntu-desktop 

Ce qui installera le bureau Lubuntu sans toutes les applications recommandées, bien que les choses qui dépendent de ces applications ne fonctionneront pas.

Je pense qu'une meilleure façon de le faire serait d'installer tout lubuntu-desktop avec:

Sudo apt-get install lubuntu-desktop  

puis utilisez le Centre logiciel Lubuntu pour supprimer les applications que vous n'allez pas utiliser. Vous pouvez ensuite supprimer lubuntu-software-center avec:

Sudo apt-get remove lubuntu-software-center

La seule différence entre cette approche et celle de Ringtail est d'installer lxdevous donnera le bureau LXDE générique, tandis que l'installation de lubuntu-desktop vous donnera davantage de LXDE spécifique à Ubuntu, avec des fonds d'écran personnalisés, par exemple.

23
Seth

J'ai récemment installé Lubuntu à partir du dernier disque alternatif http://cdimage.ubuntu.com/precise/daily/current/ en tant qu'installation minimale en l'installant sur la ligne de commande.

Puis j'ai installé lubuntu-core

Sudo apt-get install lubuntu-core

Il n'y avait alors aucun logiciel supplémentaire à installer. A l’origine, j’essayais avec --no-install-recommend mais cela le laissait trop nu et apparemment avec des dépendances manquantes. Après cela, j'ai installé lxappearance et obconf pour me permettre de changer facilement de thème.

Sudo apt-get install lxappearance obconf

J'ai installé Firefox sans aucun logiciel recommandé car les addons sont pour Gnome.

Sudo apt-get install firefox --no-install-recommends

J'ai eu quelques erreurs dans mon fichier xsession-errors qui ont été effacées après l'installation du ci-dessous

Sudo apt-get install gtk2-engines-pixbuf

Le gestionnaire de réseau doit être configuré après l'installation de lubuntu-core à partir d'une installation minimale https://help.ubuntu.com/community/Lubuntu/Documentation/MinimalInstall#Unmanaged_Wired_Network The nm- system-settings.conf s'appelle maintenant NetworkManager.conf comme écrit ci-dessous

Modifier les paramètres de Network Manager Démarrez une session LXTerminal, puis lancez:

Sudo nano /etc/NetworkManager/NetworkManager.conf

Dans la section [ifupdown], recherchez la ligne managed = false et remplacez-la par managed = true. Sauvegarder et quitter. Revenez à LXTerminal et publiez:

Sudo service network-manager restart

Après quelques instants, vous devriez voir le message "Connexion établie" au-dessus de l'icône de la barre de tâches de l'applet Network Manager.

7
JosephWheatley

Un peu comme demander un cornet de glace à la vanille mais je ne veux pas le cornet

Cela étant dit. Lubuntu-Desktop introduira de nombreuses dépendances.

Pour une liste de Applications

Comment arriver Lubunt

Comment Installer Lubuntu


Si elle était moi, je voudrais simplement ouvrir un terminal et

Sudo apt-get install lxde

Ce qui vous donne la distribution légère sans les extras.

Voir wiki LXDE

faire l'installation Minimal Ubuntu + LXDE

6
Ringtail

TL; DR: l'invocation d'installation minimale correcte est la suivante:

Sudo apt-get install lxde xorg lxdm --no-install-recommends


En passant par ceci, Sudo apt-get install --no-install-recommends lubuntu-desktop fait PAS.

The following NEW packages will be installed:
  abiword abiword-common acl adwaita-icon-theme adwaita-icon-theme-full alsa-base alsa-utils alsamixergui anacron app-install-data apport apport-gtk aptdaemon aptdaemon-data aspell aspell-en audacious audacious-plugins audacious-plugins-data blueman bluez bluez-obexd
  dbus-x11 dconf-gsettings-backend dconf-service desktop-file-utils dmz-cursor-theme dnsmasq-base esound-common evince evince-common evolution-data-server-common fcitx fcitx-bin fcitx-config-common fcitx-config-gtk2 fcitx-data fcitx-frontend-gtk2 fcitx-module-dbus
  fcitx-module-x11 fcitx-modules fcitx-ui-classic ffmpegthumbnailer file-roller firefox fonts-freefont-ttf fonts-nanum fonts-noto-cjk foomatic-db-compressed-ppds galculator gconf-service gconf-service-backend gconf2 gconf2-common gcr gdebi gdebi-core genisoimage
  ghostscript ghostscript-x giblib1 gir1.2-appindicator3-0.1 gir1.2-atk-1.0 gir1.2-dbusmenu-glib-0.4 gir1.2-dee-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-gnomekeyring-1.0 gir1.2-gtk-3.0 gir1.2-gudev-1.0 gir1.2-javascriptcoregtk-4.0 gir1.2-notify-0.7
  gir1.2-packagekitglib-1.0 gir1.2-pango-1.0 gir1.2-soup-2.4 gir1.2-udisks-2.0 gir1.2-unity-5.0 gir1.2-vte-2.91 gir1.2-webkit2-4.0 gir1.2-wnck-3.0 gksu glib-networking glib-networking-common glib-networking-services gnome-disk-utility gnome-icon-theme
  gnome-icon-theme-symbolic gnome-keyring gnome-mplayer gnome-system-tools gnumeric gnumeric-common gnupg-agent gnupg2 gpicview gsettings-desktop-schemas gsettings-ubuntu-schemas gsfonts gstreamer1.0-Nice gstreamer1.0-plugins-base gstreamer1.0-plugins-good gtk2-engines
  gtk2-engines-murrine gtk2-engines-pixbuf gtk3-engines-unico gucharmap guvcview gvfs gvfs-backends gvfs-common gvfs-daemons gvfs-Fuse gvfs-libs hardinfo hicolor-icon-theme humanity-icon-theme im-config indicator-application indicator-application-gtk2 indicator-sound
  indicator-sound-gtk2 inputattach language-selector-gnome leafpad liba52-0.7.4 libaa1 libabiword-3.0 libappindicator1 libappindicator3-1 libasound2 libasound2-data libasound2-plugins libaspell15 libass5 libassuan0 libasyncns0 libatasmart4 libatk-bridge2.0-0
  libatk1.0-0 libatk1.0-data libatkmm-1.6-1v5 libatspi2.0-0 libaudcore3 libaudgui3 libaudio2 libaudiofile1 libaudtag2 libavahi-glib1 libavc1394-0 libavcodec-ffmpeg56 libavformat-ffmpeg56 libavutil-ffmpeg54 libbinio1v5 libbluetooth3 libbluray1 libbs2b0 libburn4 libcaca0
  libcairo-gobject2 libcairo-Perl libcairo2 libcairomm-1.0-1v5 libcamel-1.2-54 libcanberra-gtk3-0 libcanberra0 libcddb2 libcdio-cdda1 libcdio-paranoia1 libcdio13 libcdparanoia0 libchamplain-0.12-0 libchamplain-gtk-0.12-0 libclutter-1.0-0 libclutter-gtk-1.0-0
  libcogl-pango20 libcogl-path20 libcogl20 libcolord2 libcompfaceg1 libcrack2 libcroco3 libcrystalhd3 libcue1 libcupsfilters1 libcupsimage2 libdatrie1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdbusmenu-gtk4 libdca0 libdconf1 libdee-1.0-4 libdirectfb-1.2-9 libdiscid0
  libdjvulibre-text libdjvulibre21 libdv4 libdvdnav4 libdvdread4 libebackend-1.2-10 libebook-1.2-16 libebook-contacts-1.2-2 libedata-book-1.2-25 libedataserver-1.2-21 libenca0 libenchant1c2a libencode-locale-Perl libept1.5.0 libesd0 libevdocument3-4 libevview3-3
  libexif12 libexo-1-0 libexo-common libexo-helpers libfaad2 libfarstream-0.2-5 libfcitx-config4 libfcitx-core0 libfcitx-gclient0 libfcitx-utils0 libffmpegthumbnailer4v5 libfftw3-double3 libfftw3-single3 libfile-listing-Perl libflac8 libfltk1.1 libfluidsynth1
  libfm-data libfm-extra4 libfm-gtk-data libfm-gtk4 libfm-modules libfm4 libgck-1-0 libgconf-2-4 libgcr-3-common libgcr-base-3-1 libgcr-ui-3-1 libgd3 libgda-5.0-4 libgda-5.0-common libgdata-common libgdata22 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgee-0.8-2
  libgettextpo0 libgif7 libgksu2-0 libglib-Perl libglib2.0-bin libglibmm-2.4-1v5 libgme0 libgmlib1 libgmtk1 libgmtk1-data libgnome-keyring-common libgnome-keyring0 libgoa-1.0-0b libgoa-1.0-common libgoffice-0.10-10 libgoffice-0.10-10-common libgpgme11 libgphoto2-6
  libgphoto2-port12 libgpm2 libgpod4 libgs9 libgs9-common libgsf-1-114 libgsf-1-common libgsl2 libgsm1 libgssdp-1.0-3 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2-Perl libgtk2.0-0
  libgtk2.0-common libgtkmm-3.0-1v5 libgtksourceview-3.0-1 libgtksourceview-3.0-common libgtkspell0 libgtop-2.0-10 libgtop2-common libgucharmap-2-90-7 libguess1 libgupnp-1.0-4 libgupnp-igd-1.0-4 libgusb2 libguvcview-1.1-1 libgxps2 libharfbuzz-icu0 libhtml-parser-Perl
  libhtml-tagset-Perl libhtml-tree-Perl libhttp-cookies-Perl libhttp-date-Perl libhttp-message-Perl libhttp-negotiate-Perl libhunspell-1.3-0 libhyphen0 libical1a libid3tag0 libido-0.1-0 libido3-0.1-0 libiec61883-0 libieee1284-3 libijs-0.35 libimlib2 libimobiledevice6
  libindicator3-7 libindicator7 libio-html-Perl libio-socket-ssl-Perl libisofs6 libiw30 libjack-jackd2-0 libjavascriptcoregtk-4.0-18 libjbig0 libjbig2dec0 libjson-glib-1.0-0 libjson-glib-1.0-common libjte1 libkeybinder0 libkpathsea6 libksba8 liblcms2-2
  liblightdm-gobject-1-0 liblircclient0 libloudmouth1-0 libltdl7 liblwp-mediatypes-Perl liblwp-protocol-https-Perl libmad0 libmbim-glib4 libmbim-proxy libmeanwhile1 libmenu-cache-bin libmenu-cache3 libmessaging-menu0 libmhash2 libminiupnpc10 libmm-glib0 libmms0
  libmodplug1 libmp3lame0 libmpeg2-4 libmpg123-0 libmtp-common libmtp-runtime libmtp9 libmusicbrainz3-6v5 libnatpmp1 libnautilus-extension1a libndp0 libneon27-gnutls libnet-dbus-Perl libnet-http-Perl libnet-ssleay-Perl libnetfilter-conntrack3 libnice10 libnm0
  libnma-common libnma0 libnotify4 libnpth0 libnspr4 libnss3 libnss3-nssdb liboauth0 libobrender32 libobt2 libogg0 libonig2 liboobs-1-5 libopenal-data libopenal1 libopenjpeg5 libopts25 libopus0 liborc-0.4-0 libots0 libpackagekit-glib2-16 libpango-1.0-0 libpango-Perl
  libpangocairo-1.0-0 libpangoft2-1.0-0 libpangomm-1.4-1v5 libpangoxft-1.0-0 libpaper1 libpcsclite1 libpisock9 libplist3 libpolkit-agent-1-0 libpolkit-backend-1-0 libpoppler-glib8 libpoppler58 libportaudio2 libpostproc-ffmpeg53 libpresage-data libpresage1v5
  libpulse-mainloop-glib0 libpulse0 libpulsedsp libpurple0 libpwquality-common libpwquality1 libpython3.5 libqmi-glib5 libqmi-proxy libraptor2-0 librasqal3 libraw1394-11 librdf0 librest-0.7-0 librevenge-0.0-0 librsvg2-2 librsvg2-common libsamplerate0 libsane
  libsane-common libschroedinger-1.0-0 libsdl1.2debian libsdl2-2.0-0 libsecret-1-0 libsecret-common libshine3 libshout3 libsidplayfp4 libsigc++-2.0-0v5 libsnappy1v5 libsndfile1 libsndio6.1 libsoup-gnome2.4-1 libsoup2.4-1 libsoxr0 libspectre1 libspeex1 libspeexdsp1
  libssh-gcrypt-4 libstartup-notification0 libswresample-ffmpeg1 libswscale-ffmpeg3 libtag1v5 libtag1v5-Vanilla libtelepathy-glib0 libthai-data libthai0 libtheora0 libtidy-0.99-0 libtiff5 libtimedate-Perl libtinyxml2.6.2v5 libtwolame0 libudisks2-0 libuniconf4.6
  libunistring0 libunity-protocol-private0 libunity-scopes-json-def-desktop libunity9 libupower-glib3 liburi-Perl liburl-dispatcher1 libusbmuxd4 libv4l-0 libv4lconvert0 libva1 libvdpau1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvorbisidec1 libvpx3
  libvte-2.91-0 libvte-2.91-common libvte-common libvte9 libwavpack1 libwebkit2gtk-4.0-37 libwebp5 libwebpdemux1 libwebrtc-audio-processing-0 libwhoopsie0 libwmf0.2-7 libwnck-3-0 libwnck-3-common libwnck-common libwnck22 libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4
  libwv-1.2-4 libwvstreams4.6-base libwvstreams4.6-extras libwww-Perl libwww-robotrules-Perl libx264-148 libx265-79 libxapian22v5 libxfce4ui-1-0 libxfce4ui-common libxfce4util-common libxfce4util7 libxfconf-0-2 libxklavier16 libxml-parser-Perl libxml-twig-Perl libxres1
  libxslt1.1 libxvidcore4 libyajl2 libzephyr4 libzvbi-common libzvbi0 light-locker light-locker-settings lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings linux-sound-base lubuntu-artwork lubuntu-artwork-16-04 lubuntu-core lubuntu-default-session
  lubuntu-default-settings lubuntu-desktop lubuntu-icon-theme lubuntu-lxpanel-icons lubuntu-software-center lxappearance lxappearance-obconf lxinput lxlauncher lxmenu-data lxpanel lxpanel-data lxpanel-indicator-applet-plugin lxrandr lxsession lxsession-data
  lxsession-default-apps lxsession-logout lxshortcut lxtask lxterminal memtest86+ mobile-broadband-provider-info modemmanager mplayer mplayer2 mtools mtpaint network-manager network-manager-gnome notification-daemon ntp obconf openbox openprinting-ppds p11-kit
  p11-kit-modules pavucontrol pcmanfm Pidgin pidgin-data pinentry-gnome3 pinentry-gtk2 plymouth-label plymouth-theme-lubuntu-logo plymouth-theme-lubuntu-text pm-utils policykit-1 policykit-1-gnome policykit-desktop-privileges poppler-data ppp printer-driver-pnm2ppa
  pulseaudio pulseaudio-utils python-apt python-aptdaemon python-aptdaemon.gtk3widgets python-chardet python-dbus python-debian python-defer python-gi python-pkg-resources python-psutil python-pysqlite2 python-six python-xdg python3-apport python3-aptdaemon
  python3-aptdaemon.gtk3widgets python3-aptdaemon.pkcompat python3-cairo python3-cups python3-cupshelpers python3-debian python3-defer python3-gi-cairo python3-lxml python3-problem-report python3-pycurl python3-software-properties python3-xkit rfkill scrot simple-scan
  software-properties-common software-properties-gtk sound-theme-freedesktop sylpheed sylpheed-doc sylpheed-i18n sylpheed-plugins synaptic syslinux syslinux-common syslinux-legacy system-config-printer-common system-config-printer-gnome system-tools-backends
  transmission transmission-common transmission-gtk ttf-ubuntu-font-family ubuntu-drivers-common ubuntu-mono ubuntu-release-upgrader-gtk udisks2 unzip update-manager update-notifier update-notifier-common upower usb-creator-common usb-creator-gtk usb-modeswitch
  usb-modeswitch-data whoopsie wireless-tools wpasupplicant wvdial x11-session-utils x11-xserver-utils xbacklight xdg-user-dirs-gtk xdg-utils xfburn xfce4-notifyd xfce4-power-manager xfce4-power-manager-data xfce4-power-manager-plugins xfconf xinput xorg xorg-docs-core
  xpad xul-ext-ubufox Zip

Il y a un tas de déchets géant là-bas, je n'en ai pas besoin.

Sudo apt-get install lxde --no-install-recommends semble installer réellement un ensemble de paquets légèrement plus sain.

The following NEW packages will be installed:
  adwaita-icon-theme dconf-gsettings-backend dconf-service desktop-file-utils galculator glib-networking glib-networking-common glib-networking-services gpicview gsettings-desktop-schemas hicolor-icon-theme humanity-icon-theme leafpad libasound2 libasound2-data
  libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libcairo-gobject2 libcairo2 libcolord2 libcroco3 libdatrie1 libdconf1 libexif12 libfm-data libfm-extra4 libfm-gtk-data libfm-gtk4 libfm-modules libfm4 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgif7
  libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-common libid3tag0 libimlib2 libiw30 libjbig0 libjson-glib-1.0-0 libjson-glib-1.0-common libkeybinder0 liblcms2-2 libmenu-cache-bin libmenu-cache3 libobrender32 libobt2 libpango-1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpangoxft-1.0-0 libpolkit-agent-1-0 librest-0.7-0 librsvg2-2 librsvg2-common libsoup-gnome2.4-1 libsoup2.4-1 libstartup-notification0 libthai-data libthai0 libtiff5 libvte-common libvte9 libwnck-common libwnck22 libxres1 lxappearance
  lxappearance-obconf lxde lxde-common lxde-core lxde-icon-theme lxinput lxmenu-data lxpanel lxpanel-data lxrandr lxsession lxsession-data lxsession-edit lxterminal openbox pcmanfm ubuntu-mono x11-xserver-utils xarchiver

De plus, vous devrez installer xorg:

Sudo apt-get install xorg

Ensuite, vous êtes juste startx loin d'une interface graphique.

Il y a encore des difficultés (comment galculator a une dépendance ?), Mais au moins, il ne pulvérise pas d'applications inutiles partout.

De plus, cela n’installe pas le son, car le contexte utilisé n’a aucune carte son. Le fait que presque tout ce qui est lié au pays semble même dépendre à la fois de pulseaudio et de cups est une gêne courante, et apparemment lxde a résolu au moins ce problème.

Vous pouvez également installer lxdm, qui vous donnera une invite de connexion graphique, et démarrer lxde automatiquement.

lxdm pense en quelque sorte que je suis sur debian 8, plutôt que sur Ubbuntu 16.04, mais cela fonctionne et le fait que le graphique d’arrière-plan ne me dérange pas me importe peu.

1
Fake Name
Sudo apt-get install lightdm lightdm-gtk-greeter lubuntu-default-settings lxappearance lxterminal

Avec cette ligne dans le terminal, vous installez l’environnement sans système Lubuntu (pas tout à fait LXDE), mais sans autre paquet que celui de bureau.

Je vous suggère d'exécuter cette commande dans une installation minimale d'Ubuntu, une fois que vous savez que votre matériel fonctionne correctement (REMARQUE: les paquets lightdm lightdm-gtk-greeter sont déjà installés dans une installation Ubuntu standard, mais pas dans la version minimale). Ensuite, vous pouvez installer vos logiciels et programmes. Si l'environnement Lubuntu ne démarre pas à l'installation, essayez Sudo apt-get install xserver-xorg-video-all xserver-xorg.

1
Manu