#1 Le 18/01/2018, à 12:29
- Ezzmazz
Problème de avec mon dossier personnel !
Bonjour,
Je me permets de poster un petit message ici...
J'ai fait une mauvaise manipulation avec mon clavier mais impossible de savoir laquelle... Le problème, c'est que maintenant je me retrouve avec avec l'intégralité de mon dossier personnel sur mon Bureau et que les dossiers qui étaient à la base sur mon bureau... Se retrouve dans un dossier Bureau !
Comment remédier à cela ? Si je supprime un dossier de mon dossier personnel qui est sur mon bureau, il se supprime aussi dans le répertoire " Dossier personnel " !
Merci d'avance !
Hors ligne
#2 Le 18/01/2018, à 12:42
- ??
Re : Problème de avec mon dossier personnel !
Bonjour.
Je pense que c'est réparable en ligne de commandes
Peux-tu donner les retours de ces deux commandes
ls -las /home/$USER
et
ls -las /home/$USER/Bureau
Dernière modification par ?? (Le 18/01/2018, à 12:43)
Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.
Hors ligne
#3 Le 18/01/2018, à 12:44
- michel_04
Re : Problème de avec mon dossier personnel !
Bonjour,
Et aussi :
cat ~/.config/user-dirs.dirs
A+
:D
De la bonne manière de poser les questions - Trouver de l'aide grâce au Groupe des Parrains Linux - Le Pacte des Gnous
PCs sous Debian Stable & Debian Sid.
Hors ligne
#4 Le 18/01/2018, à 13:21
- Ezzmazz
Re : Problème de avec mon dossier personnel !
Bonjour.
Je pense que c'est réparable en ligne de commandesPeux-tu donner les retours de ces deux commandes
ls -las /home/$USER
et
ls -las /home/$USER/Bureau
Alors, pour
ls -las /home/$USER
Voici le retour :
timothee@timothee-MS-7924:~$ ls -las /home/$USER
total 28636
4 drwxrwxrwx 55 timothee timothee 4096 janv. 18 11:23 .
4 drwxr-xr-x 4 root root 4096 déc. 4 14:20 ..
4 drwx------ 3 timothee timothee 4096 déc. 5 07:59 .adobe
4 drwxr-x--- 2 timothee timothee 4096 déc. 26 00:14 .android
4 drwxrwxr-x 4 timothee timothee 4096 déc. 26 20:26 .AndroidStudio3.0
4 drwxrwxr-x 7 timothee timothee 4096 janv. 9 16:00 Arduino
4 drwxrwxr-x 2 timothee timothee 4096 janv. 9 15:20 .arduino15
4 drwxrwxr-x 8 timothee timothee 4096 déc. 18 01:01 .atom
8 -rw------- 1 timothee timothee 6201 janv. 15 15:16 .bash_history
4 -rw-rw-rw- 1 timothee timothee 220 déc. 4 14:20 .bash_logout
4 -rw-rw-rw- 1 timothee timothee 3771 déc. 4 14:20 .bashrc
4 -rw-rw-r-- 1 timothee timothee 3579 déc. 14 15:00 black-icon-150x150.png
4 drwxrwxrwx 11 timothee timothee 4096 janv. 18 11:11 Bureau
4 drwxrwxrwx 31 timothee timothee 4096 janv. 18 11:10 .cache
4 drwxrwxr-x 3 timothee timothee 4096 déc. 9 11:31 CodeLyokoGames
4 drwx------ 3 timothee timothee 4096 déc. 5 00:10 .compiz
4 drwxrwxrwx 44 timothee timothee 4096 janv. 18 11:10 .config
4 drwx------ 3 root root 4096 déc. 26 23:02 .dbus
4 drwxr-xr-x 3 timothee timothee 4096 janv. 7 14:03 Desktop
4 -rw-rw-rw- 1 timothee timothee 25 déc. 4 23:40 .dmrc
4 drwxrwxrwx 3 timothee timothee 4096 janv. 9 16:35 Documents
4 drwxr-xr-x 2 timothee timothee 4096 déc. 6 23:30 Downloads
4 -rwxrwxr-x 1 timothee timothee 24 déc. 14 15:04 Encre.sh
12 -rw-rw-rw- 1 timothee timothee 8980 déc. 4 14:20 examples.desktop
3124 -rw-rw-r-- 1 timothee timothee 3196959 janv. 9 13:37 Firefox_wallpaper.png
4 drwxrwxr-x 4 timothee timothee 4096 déc. 18 00:11 .fltk
4 drwxrwxr-x 2 timothee timothee 4096 janv. 3 10:51 .fonts
8 -rw-rw-r-- 1 timothee timothee 7528 janv. 14 17:22 forge-1.12.2-14.23.1.2580-installer.jar.log
4 drwxrwxrwx 3 timothee timothee 4096 janv. 18 11:12 .gconf
0 -rw-r----- 1 timothee timothee 0 janv. 12 01:32 .gksu.lock
4 drwx------ 3 timothee timothee 4096 déc. 14 15:21 .gnome
4 drwx------ 3 timothee timothee 4096 déc. 18 00:23 .gnome2
4 drwx------ 2 timothee timothee 4096 déc. 18 00:23 .gnome2_private
4 drwxrwxrwx 3 timothee timothee 4096 janv. 18 11:09 .gnupg
4 drwx------ 2 timothee timothee 4096 déc. 9 21:06 .gphoto
4 drwxrwxr-x 3 timothee timothee 4096 déc. 17 22:23 i
32 -rw-rw-rw- 1 timothee timothee 27952 janv. 18 11:09 .ICEauthority
4 drwxrwxrwx 3 timothee timothee 4096 janv. 18 11:39 Images
4 -rw-rw-r-- 1 timothee timothee 68 déc. 18 00:30 .jackdrc
4 drwxrwxr-x 4 timothee timothee 4096 déc. 26 20:26 .java
4 drwxrwxr-x 3 timothee timothee 4096 janv. 7 14:09 .jssc
4 drwx------ 3 timothee timothee 4096 déc. 6 22:13 .kde
4 drwxrwxr-x 2 timothee timothee 4096 déc. 18 00:19 .lingot
4 drwxrwxrwx 3 timothee timothee 4096 déc. 4 23:40 .local
4 drwx------ 3 timothee timothee 4096 déc. 18 00:01 .log
4 drwx------ 3 timothee timothee 4096 déc. 5 07:59 .macromedia
4 drwxrwxr-x 14 timothee timothee 4096 janv. 14 19:19 .minecraft
4 drwxrwxrwx 2 timothee timothee 4096 déc. 4 23:40 Modèles
4 drwxrwxrwx 5 timothee timothee 4096 déc. 5 08:14 .mozilla
4 drwxr-xr-x 2 timothee timothee 4096 déc. 6 23:30 Music
4 drwxrwxrwx 2 timothee timothee 4096 janv. 18 11:22 Musique
0 -rw-rw-r-- 1 timothee timothee 0 déc. 16 21:30 mwf_config
4 drwx------ 3 timothee timothee 4096 déc. 5 15:29 .nv
4 drwxrwxr-x 2 timothee timothee 4096 janv. 7 15:28 .oracle_jre_usage
4 drwxr-xr-x 2 timothee timothee 4096 déc. 6 23:30 Pictures
4 drwx------ 3 timothee timothee 4096 déc. 5 12:47 .pki
4 drwxrwxr-x 14 timothee timothee 4096 janv. 16 23:32 .PlayOnLinux
0 lrwxrwxrwx 1 timothee timothee 40 déc. 15 13:16 PlayOnLinux's virtual drives -> /home/timothee/.PlayOnLinux//wineprefix/
4 -rw-rw-rw- 1 timothee timothee 655 déc. 4 14:20 .profile
4 drwx------ 2 timothee timothee 4096 déc. 22 11:18 .psensor
4 drwxrwxrwx 2 timothee timothee 4096 déc. 4 23:40 Public
4 drwxrwxr-x 2 timothee timothee 4096 déc. 9 11:29 .pypar2
4 -rw-rw-r-- 1 timothee timothee 320 déc. 17 22:23 .recently-used
25156 -rw-rw-r-- 1 timothee timothee 25755648 déc. 28 15:53 recovery.img
16 -rw-rw-r-- 1 timothee timothee 16115 janv. 9 07:34 Sans nom 1.odt
4 drwxr-xr-x 5 timothee timothee 4096 déc. 23 11:56 snap
0 -rw-r--r-- 1 timothee timothee 0 déc. 5 00:37 .sudo_as_admin_successful
4 drwxrwxrwx 12 timothee timothee 4096 janv. 17 16:11 Téléchargements
4 drwxr-xr-x 2 timothee timothee 4096 déc. 6 23:30 Templates
4 drwx------ 4 timothee timothee 4096 déc. 8 19:17 .thunderbird
4 drwxr-xr-x 2 timothee timothee 4096 déc. 6 23:30 Videos
4 drwxrwxrwx 4 timothee timothee 4096 janv. 15 14:19 Vidéos
4 drwxrwxr-x 3 timothee timothee 4096 déc. 31 13:03 VirtualBox VMs
4 drwxrwxr-x 4 timothee timothee 4096 déc. 23 17:30 .wine
4 -rw-rw-rw- 1 timothee timothee 183 janv. 18 11:09 .Xauthority
4 -rw------- 1 timothee timothee 92 janv. 18 11:09 .xsession-errors
4 -rw------- 1 timothee timothee 1389 janv. 18 11:08 .xsession-errors.old
16 -rw-rw-r-- 1 timothee timothee 13632 janv. 15 21:12 zzzz.png
Et pour
ls -las /home/$USER/Bureau
Voilà :
ls -las /home/$USER/Bureau
total 128088
4 drwxrwxrwx 11 timothee timothee 4096 janv. 18 12:18 .
4 drwxrwxrwx 55 timothee timothee 4096 janv. 18 11:23 ..
58840 -rw-rw-r-- 1 timothee timothee 60248020 janv. 1 22:29 [1.11.2] R3D CRAFT 256x (v0.3.1).zip
2020 -rw-rw-r-- 1 timothee timothee 2066980 janv. 1 15:11 2018-01-01_15.11.22.png
1668 -rw-rw-r-- 1 timothee timothee 1706251 janv. 2 22:53 comic-page-template.kra
4 drwxrwxr-x 2 timothee timothee 4096 janv. 16 13:23 dtrpg-2018-01-16_06-14am
58144 -rw-rw-r-- 1 timothee timothee 59535055 janv. 16 13:23 dtrpg-2018-01-16_06-14am.zip
5620 -rwxr----- 1 timothee timothee 5751274 juin 14 2017 Hiroyuki Sawano - Attack on Titan Season 2 OST - 03 YouSeeBIGGIRL-T-T - Ep06.mp3
4 drwxr-xr-x 2 timothee timothee 4096 janv. 18 07:26 IMPRIMANTE
4 drwxrwxr-x 5 timothee timothee 4096 janv. 1 13:53 luc
4 drwxrwxr-x 5 timothee timothee 4096 janv. 14 17:23 minecraft
1736 -rw-rw-r-- 1 timothee timothee 1776301 janv. 2 23:12 Pictures.kra
4 drwxr-xr-x 2 timothee timothee 4096 janv. 10 07:26 Propranolol
4 drwxrwxr-x 5 timothee timothee 4096 janv. 8 23:45 serveur mc
4 drwxrwxr-x 3 timothee timothee 4096 janv. 14 13:39 sounds
4 -rwxrwxr-x 1 timothee timothee 303 janv. 11 00:50 Star Trek Online.desktop
12 -rw-rw-r-- 1 timothee timothee 8251 janv. 16 13:57 tenor.gif
4 drwxrwxr-x 9 timothee timothee 4096 janv. 17 16:03 Timothée
4 drwxrwxrwx 4 timothee timothee 4096 janv. 15 14:19 Vidéos
Et pour la commande
cat ~/.config/user-dirs.dirs
Voici :
timothee@timothee-MS-7924:~$ cat ~/.config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Bureau"
XDG_DOWNLOAD_DIR="$HOME/Téléchargements"
XDG_TEMPLATES_DIR="$HOME/Modèles"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Musique"
XDG_PICTURES_DIR="$HOME/Images"
XDG_VIDEOS_DIR="$HOME/Vidéos"
Merci pour votre aide !
Hors ligne
#5 Le 18/01/2018, à 14:01
- ??
Re : Problème de avec mon dossier personnel !
Je te propose les commandes suivantes
mv /home/$USER/Bureau/dtrpg-2018-01-16_06-14am /home/$USER
mv /home/$USER/Bureau/IMPRIMANTE /home/$USER
mv /home/$USER/Bureau/luc /home/$USER
mv /home/$USER/Bureau/minecraft /home/$USER
mv /home/$USER/Bureau/Propranolol /home/$USER
mv /home/$USER/Bureau/"serveur mc" /home/$USER
mv /home/$USER/Bureau/sounds /home/$USER
mv /home/$USER/Bureau/Timothée /home/$USER
et
cp -Rv /home/$USER/Bureau/Vidéos /home/$USER/Vidéos
Puis vérifier que cela a bien fonctionné
ls -rls /home/$USER/Vidéos
Si c'est bien le cas, supprimer les doubles
rm -Rv /home/$USER/Bureau/Vidéos
Manifestement, tu as fais une belle glissade...
Dernière modification par ?? (Le 18/01/2018, à 14:03)
Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.
Hors ligne
#6 Le 18/01/2018, à 14:42
- MicP
Re : Problème de avec mon dossier personnel !
Bonjour
En regardant les dates et les attributs des différents répertoires,
4 drwxrwxrwx 3 timothee timothee 4096 janv. 18 11:39 Images 4 drwxr-xr-x 2 timothee timothee 4096 déc. 6 23:30 Pictures 4 drwxrwxrwx 2 timothee timothee 4096 janv. 18 11:22 Musique 4 drwxrwxrwx 11 timothee timothee 4096 janv. 18 11:11 Bureau 4 drwxr-xr-x 3 timothee timothee 4096 janv. 7 14:03 Desktop 4 drwxrwxrwx 12 timothee timothee 4096 janv. 17 16:11 Téléchargements 4 drwxr-xr-x 2 timothee timothee 4096 déc. 6 23:30 Downloads 4 drwxrwxrwx 4 timothee timothee 4096 janv. 15 14:19 Vidéos 4 drwxr-xr-x 2 timothee timothee 4096 déc. 6 23:30 Videos 4 drwxr-xr-x 2 timothee timothee 4096 déc. 6 23:30 Templates 4 drwxrwxrwx 2 timothee timothee 4096 déc. 4 23:40 Modèles 4 drwxrwxrwx 2 timothee timothee 4096 déc. 4 23:40 Public
je pense qu'il devait avoir créé les répertoires manuellement
et oublié de positionner les attributs pour le groupe G et O
ce qui peut être fait avec la ligne de commande suivante :
chmod 755 ~/{Images,Musique,Public,Bureau,Téléchargements,Vidéos,Modèles}
=======
et de faire une mise à jour avec xdg-user-dirs-update (comme indiqué dans les commentaires contenus au début du fichier ~/.config/user-dirs.dirs)
ce qui peut être fait avec la ligne de commande suivante :
xdg-user-dirs-update
Ou bien
en se dé-connectant et se re-connectant de sa session utilisateur,
ou en redémarrant le système.
(Mais il a sans doute dû aussi se déconnecter ou/et redémarrer entre temps,
et changé le language du compte utilisateur, déplacer de répertoires, etc.)
=======
…
Manifestement, tu as fais une belle glissade...
Oui !… Il a beaucoup plu ces jours-ci,
et vu la longueur de la glissade,
il devait sans doute y avoir en plus une savonette qui traînait dans ce coin là
Dernière modification par MicP (Le 18/01/2018, à 15:20)
Hors ligne