logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 19-07-2017 16:21:47

Anard
Membre
Distrib. : Gentoo 2.9 / Xubuntu 20.04 / Debian 11
Inscription : 19-07-2017
Site Web

[RESOLU]Pack d'icônes

Bonjour,

J'ai installé DFLinux (donc Debian/Xfce) en VBox sous Ubuntu pour l'essayer.
J'essaie actuellement de la faire ressembler à ce que j'aime bien.

J'ai chez moi un Ubuntu et un Xubuntu pour lesquels j'ai installé le même pack d'icônes et qui fonctionne très bien. Depuis ma VM Debian, j'ai donc recopié mon dossier /usr/share/icons/flat-glass d'Ubuntu pour la mettre sur la VM au même endroit.
Bizarrement, j'ai beau redémarrer la machine virtuelle, quand je vais dans Paramètres -> Apparence -> Icônes, le pack n'apparaît pas. Est-ce qu'il y a une autre manip à faire sous Debian pour que le pack d'icônes soit reconnu ?

Merci. Dans le pack copié sur la Debian, le fichier index.theme apparaît avec une croix sur le côté, peut-être un problème de droits d'accès ?
J'ai mis également le dossier gnome-brave qui lui fonctionne bien pour comparer :

anard@debian:~$ cd /usr/share/icons/flat-glass/
anard@debian:/usr/share/icons/flat-glass$ ls -l
total 36
drwxr-xr-x 4 root root 4096 juil. 19 14:21 actions
drwxr-xr-x 4 root root 4096 juil. 19 14:21 apps
drwxr-xr-x 4 root root 4096 juil. 19 14:21 categories
drwxr-xr-x 3 root root 4096 juil. 19 14:21 devices
drwxr-xr-x 3 root root 4096 juil. 19 14:21 emblems
-rwxr-x--- 1 root root 2222 juil. 19 14:30 index.theme
drwxr-xr-x 3 root root 4096 juil. 19 14:21 mimetypes
drwxr-xr-x 4 root root 4096 juil. 19 14:21 places
drwxr-xr-x 5 root root 4096 juil. 19 14:21 status
anard@debian:/usr/share/icons/flat-glass$
anard@debian:/usr/share/icons/flat-glass$ cd ../gnome-brave/
anard@debian:/usr/share/icons/gnome-brave$ ls -l
total 48
drwxr-xr-x 9 root root  4096 juil. 19 11:17 16x16
drwxr-xr-x 9 root root  4096 juil. 19 11:17 22x22
drwxr-xr-x 9 root root  4096 juil. 19 11:17 24x24
drwxr-xr-x 9 root root  4096 juil. 19 11:17 32x32
-rw-r--r-- 1 root root 21524 juin  17 15:40 icon-theme.cache
-rw-r--r-- 1 root root  2661 janv. 14  2014 index.theme
drwxr-xr-x 9 root root  4096 juil. 19 11:17 scalable
anard@debian:/usr/share/icons/gnome-brave$
 

Dernière modification par Anard (20-07-2017 12:16:12)


"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go RAM / Bootloader Clover - macOS Mojave / Gentoo-Xfce
"Serveur" : Dell Optiplex 360, Intel Q8200, 2Go RAM / Debian Bullseye
"Portable" : Asus E502NA, Intel N4200, 8Go RAM / DebianFacile Bullseye

Hors ligne

#2 19-07-2017 17:38:14

Anard
Membre
Distrib. : Gentoo 2.9 / Xubuntu 20.04 / Debian 11
Inscription : 19-07-2017
Site Web

Re : [RESOLU]Pack d'icônes

Dans les préférences LightDM, il voyait bien mon pack d'icône mais un panneau "attention" apparaissait disant qu'il n'avait pas les droits pour accéder au fichier index.theme.
J'ai voulu modifier les permissions avec chmod pour correspondre aux autres thèmes... J'ai redémarré et il ne démarre plus.
J'ai droit au Grub, puis j'ai le message :

DFLinux : recovering journal
DFLinux : Clearing orphaned inode 2222 (uid=0, gid=0 [...])
DFLinux : clean [...]


Puis plus rien. Juste le tiret qui clignote. L'écran aussi d'ailleurs si je mets en plein écran. Je ne sais pas ce qui s'est passé ni si c'est réparable sans passer par la réinstalle complète. scratchhead.gif

Dernière modification par Anard (19-07-2017 17:55:12)


"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go RAM / Bootloader Clover - macOS Mojave / Gentoo-Xfce
"Serveur" : Dell Optiplex 360, Intel Q8200, 2Go RAM / Debian Bullseye
"Portable" : Asus E502NA, Intel N4200, 8Go RAM / DebianFacile Bullseye

Hors ligne

#3 19-07-2017 17:55:33

Croutons
Membre
Distrib. : Debian12
Noyau : Linux 6.1.0-13-amd64
(G)UI : Fluxbox(NakeDeb)
Inscription : 16-12-2016

Re : [RESOLU]Pack d'icônes

Bonjour
As tu la console avec Ctrl+Alt+F1?
Si oui donne nous le contenu du fichier

cat /etc/lightdm/lightdm.conf


si c'est bien celui que tu as modifié


-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<-- 
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#4 19-07-2017 18:10:47

Anard
Membre
Distrib. : Gentoo 2.9 / Xubuntu 20.04 / Debian 11
Inscription : 19-07-2017
Site Web

Re : [RESOLU]Pack d'icônes

Merci. Je n'ai pas directement modifié ce fichier. J'ai été dans Paramètres -> LightDM, onglet Icônes.
Alors comme je suis en machine virtuelle, si je fais Ctrl-Alt-F1, c'est un tty sur mon système hôte qui s'ouvre.
Par contre, je peux faire c sur le grub pour avoir accès à une console. J'ai donc tapé cat /etc/lightdm/lightdm.conf
Comme je ne peux pas faire de copier-coller, je te recopie ce que je peux lire comme résultat (mais je ne pense pas tout voir puisque je ne vois plus à l'écran la ligne que j'ai tapée : à ce stade du démarrage VirtualBox affiche toujours l'écran comme une petite fenêtre et ne veut pas la mettre en plein écran) :

grub> cat /etc/lightdm/lightdm.conf
# The authentification key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#key=

#
# VNC Server Configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of displa to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#width=1024
#height=768
#depth=8

grub>


Pas persuadé qu'en l'état, ça te donnera grand chose... hmm

EDIT : Il y a un moyen de monter mon disque virtuel Debian.vdi directement sur mon système hôte en lecture/écriture pour pouvoir trifouiller dedans plus facilement ?
Re : J'essaie ça et je donne des nouvelles...

Dernière modification par Anard (19-07-2017 18:33:16)


"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go RAM / Bootloader Clover - macOS Mojave / Gentoo-Xfce
"Serveur" : Dell Optiplex 360, Intel Q8200, 2Go RAM / Debian Bullseye
"Portable" : Asus E502NA, Intel N4200, 8Go RAM / DebianFacile Bullseye

Hors ligne

#5 19-07-2017 18:45:57

Anard
Membre
Distrib. : Gentoo 2.9 / Xubuntu 20.04 / Debian 11
Inscription : 19-07-2017
Site Web

Re : [RESOLU]Pack d'icônes

Bon bah apparemment il est pas d'accord...

anard@Ubuntu-SSD:~$ sudo mount -o loop Debian.img /mnt/DebianVM/
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
anard@Ubuntu-SSD:~$ dmesg | tail
[    8.700800] Bluetooth: RFCOMM socket layer initialized
[    8.700803] Bluetooth: RFCOMM ver 1.11
[   41.170649] SUPR0GipMap: fGetGipCpu=0xb
[   41.607421] vboxdrv: 0000000000000000 VMMR0.r0
[   41.774425] vboxdrv: 0000000000000000 VBoxDDR0.r0
[   41.853677] vboxdrv: 0000000000000000 VBoxEhciR0.r0
[ 2268.368658] EXT4-fs (loop0): bad geometry: block count 1572608 exceeds size of device (1299712 blocks)
[ 2299.165910] EXT4-fs (loop0): bad geometry: block count 1572608 exceeds size of device (1572607 blocks)
[ 2345.654992] EXT4-fs (loop0): bad geometry: block count 1572608 exceeds size of device (1572607 blocks)
[ 2397.573334] EXT4-fs (loop1): bad geometry: block count 1572608 exceeds size of device (622512 blocks)
anard@Ubuntu-SSD:~$
 


"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go RAM / Bootloader Clover - macOS Mojave / Gentoo-Xfce
"Serveur" : Dell Optiplex 360, Intel Q8200, 2Go RAM / Debian Bullseye
"Portable" : Asus E502NA, Intel N4200, 8Go RAM / DebianFacile Bullseye

Hors ligne

#6 19-07-2017 19:20:30

Anard
Membre
Distrib. : Gentoo 2.9 / Xubuntu 20.04 / Debian 11
Inscription : 19-07-2017
Site Web

Re : [RESOLU]Pack d'icônes

Cool ! Je lui ai demandé un bloc supplémentaire et cette fois, il a pu monter ma partition système Debian.
Donc voici son /etc/lightdm/lightdm.conf COMPLET :

#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# logind-load-seats = True to automatically set up multi-seat configuration from logind
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#logind-load-seats=false
#logind-check-graphical=false
#log-directory=/var/log/lightdm
#run-directory=/var/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters

#
# Seat defaults
#
# type = Seat type (xlocal, xremote)
# xdg-seat = Seat name to set pam_systemd XDG_SEAT variable and name to pass to X server
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xserver-layout = Layout to pass to X server
# xserver-config = Config file to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
# unity-compositor-timeout = Number of seconds to wait for compositor to start
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-user-switching = True if allowed to switch users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[SeatDefaults]
#type=xlocal
#xdg-seat=seat0
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xserver-layout=
#xserver-config=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#unity-compositor-command=unity-system-compositor
#unity-compositor-timeout=60
#greeter-session=example-gtk-gnome
greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=xfce4
#session-wrapper=lightdm-session
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=human
#autologin-user-timeout=2
#pam-service=lightdm-autologin
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=UNIMPLEMENTED
#exit-on-failure=false

#
# Seat configuration
#
# Each seat must start with "Seat:".
# Uses settings from [SeatDefaults], any of these can be overriden by setting them in this section.
#
#[Seat:0]

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#key=

#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#width=1024
#height=768
#depth=8



Par contre, c'est plutôt dans /etc/lightdm/lightdm-gtk-greeter.conf qu'il a l'air d'avoir modifié le thème d'icônes (flat-glass):

[greeter]
background = /usr/share/backgrounds/xfce/wallpaper-dfl-stretch.png
theme-name = Adwaita
xft-antialias = true
xft-hintstyle = hintfull
xft-rgba = rgb
icon-theme-name = flat-glass
font-name = DejaVu Sans 10
show-indicators = ~language;~session;~power
show-clock = True
clock-format = %H:%M
position = 25%,start 60%,center
default-user-image = /usr/share/pixmaps/dflinux-avatar.png
 

Dernière modification par Anard (19-07-2017 19:22:43)


"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go RAM / Bootloader Clover - macOS Mojave / Gentoo-Xfce
"Serveur" : Dell Optiplex 360, Intel Q8200, 2Go RAM / Debian Bullseye
"Portable" : Asus E502NA, Intel N4200, 8Go RAM / DebianFacile Bullseye

Hors ligne

#7 19-07-2017 19:51:38

Anard
Membre
Distrib. : Gentoo 2.9 / Xubuntu 20.04 / Debian 11
Inscription : 19-07-2017
Site Web

Re : [RESOLU]Pack d'icônes

Je ne trouve pas comment je peux éditer ce fichier depuis Grub.
Y aurait-il un moyen d'ouvrir une session en "sautant" LightDM ?

"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go RAM / Bootloader Clover - macOS Mojave / Gentoo-Xfce
"Serveur" : Dell Optiplex 360, Intel Q8200, 2Go RAM / Debian Bullseye
"Portable" : Asus E502NA, Intel N4200, 8Go RAM / DebianFacile Bullseye

Hors ligne

#8 20-07-2017 08:39:25

Croutons
Membre
Distrib. : Debian12
Noyau : Linux 6.1.0-13-amd64
(G)UI : Fluxbox(NakeDeb)
Inscription : 16-12-2016

Re : [RESOLU]Pack d'icônes

Bonjour
Tu as une option pour activé le presse papier dans  Vbox et ainsi pouvoir faire de copié collé
Bon ba te reste qu'a modifier le lightdm-gtk-greeter.conf en mettant un thème qui fonctionne

-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<-- 
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#9 20-07-2017 08:53:05

Anard
Membre
Distrib. : Gentoo 2.9 / Xubuntu 20.04 / Debian 11
Inscription : 19-07-2017
Site Web

Re : [RESOLU]Pack d'icônes

Bonjour,
Je n'ai pas réussi à trouver un éditeur pour modifier le fichier depuis Grub sad
J'ai essayé de taper sudo nano /etc/lightdm/lightdm-gtk-greater.conf et sudo vi /etc/lightdm/lightdm-gtk-greater.conf sans résultat.
Du coup ça m'a soûlé, j'ai redémarré l'install du début. hmm

Dernière modification par Anard (20-07-2017 08:53:24)


"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go RAM / Bootloader Clover - macOS Mojave / Gentoo-Xfce
"Serveur" : Dell Optiplex 360, Intel Q8200, 2Go RAM / Debian Bullseye
"Portable" : Asus E502NA, Intel N4200, 8Go RAM / DebianFacile Bullseye

Hors ligne

#10 20-07-2017 09:04:30

Croutons
Membre
Distrib. : Debian12
Noyau : Linux 6.1.0-13-amd64
(G)UI : Fluxbox(NakeDeb)
Inscription : 16-12-2016

Re : [RESOLU]Pack d'icônes

peut être tu avais pas mis le meme mot de passe sur ta VM
Enfin en console il te demande de te loguer avant normalement

login:

tu met l'identifiant et tu valides

Password:


-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<-- 
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#11 20-07-2017 09:15:36

Anard
Membre
Distrib. : Gentoo 2.9 / Xubuntu 20.04 / Debian 11
Inscription : 19-07-2017
Site Web

Re : [RESOLU]Pack d'icônes

Je n'ai pas réussi à avoir une console : si je tapais Ctrl+Alt+F1, c'est mon système hôte qui démarrait un tty.
Le seul accès que j'ai pu avoir, c'est depuis Grub en appuyant sur la touche "c".
Après j'avais également réussi à monter ma partition système virtuelle sur le système hôte. Donc j'aurai peut-être pu modifier le fichier directement et refaire la manip inverse pour recréer un fichier .vdi à partir de mon image .iso, mais j'ai gagné du temps en réinstallant je crois ! biggreen.gif

Dernière modification par Anard (20-07-2017 09:16:14)


"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go RAM / Bootloader Clover - macOS Mojave / Gentoo-Xfce
"Serveur" : Dell Optiplex 360, Intel Q8200, 2Go RAM / Debian Bullseye
"Portable" : Asus E502NA, Intel N4200, 8Go RAM / DebianFacile Bullseye

Hors ligne

#12 20-07-2017 11:21:02

Anard
Membre
Distrib. : Gentoo 2.9 / Xubuntu 20.04 / Debian 11
Inscription : 19-07-2017
Site Web

Re : [RESOLU]Pack d'icônes

Merci à vous. Après réinstall et utilisation des mêmes réglages de permissions que pour les autres dossiers d'icônes, ça fonctionne très bien.

"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go RAM / Bootloader Clover - macOS Mojave / Gentoo-Xfce
"Serveur" : Dell Optiplex 360, Intel Q8200, 2Go RAM / Debian Bullseye
"Portable" : Asus E502NA, Intel N4200, 8Go RAM / DebianFacile Bullseye

Hors ligne

Pied de page des forums