I removed a lot of directors from home i thought those are useless . now i am facing loop problem.
I tried by reinstalling lightdm + xorg didnβt worked. Sudo pacman -Rcns lightdm xorg
sudo pacman -S lightdm xorg.
In your filesystem root is a two files
- rootfs-pkgs.txt
- desktopfs-pkgs.txt
You can use those to reinstall the system.
First strip the package names to file
cat /desktopfs-pkgs.txt | awk '{print $1;}' > ~/pkglist.txt
Then use the new file as input for pacman
sudo pacman -Syu --needed - < ~/pkglist.txt
I just spotted the word home - copy all of the files - including the hidden ones - from /etc/skel to your home.
cp -r /etc/skel/.* ~
This latter approach would fix if the loop is related to your removal of xorg related files.
Would probably be a good time to also:
-
Ask yourself: Why am I deleting things without a backup/knowing what they actually are or do?
-
Again, ask yourself: Why am I running the pacman command to cascade-remove packages?
Well i removed some directory inside ~/ i was trying to understand why all of this dot file mess around
I dont think i removed
rootfs-pkgs.txt
desktopfs-pkgs.txt
sudo pacman -Syu - < /desktopfs-pkgs.txt
It gave me thousands of missing package
error: terget not found: and_that_package_name
cp -r /etc/skel/.* ~ and this /etc/skel/ is a empty directoryβ¦
I have backup β¦ I dont want to restoreβ¦ i think my timeshift have error if i try to restoreβ¦ it says go to live system and then restore β¦
trying to solve this problem manually.also where is the gtk theme icons goes? Like :- candy icon?
is it on only /usr/share?
Is there any other directory for config?
My bad - I forgot the versions - strip the pkgnames to a file and use the file
First strip the package names to file
cat /desktopfs-pkgs.txt | awk '{print $1;}' > ~/pkglist.txt
Then use the new file as input for pacman
sudo pacman -Syu --needed - < ~/pkglist.txt
And /etc/skel
is not empty - as said all files including the hidden ones - try
ls -a /etc/skel
and you will see it is not - that is - unless you deleted that too.
If you have been a spree - you best option is to restore from backup or reinstall.
I just started my computer and i didnβt did anything but it runs
Only cp -r /etc/skel/.* ~ line is enough thanks a lot for your support
Inside of /etc/skel/
How it can solve the issue?
tree -a ξ²
.
βββ .bash_logout
βββ .bash_profile
βββ .bashrc
βββ .config
β βββ autostart
β β βββ manjaro-hello.desktop
β βββ falkon
β β βββ profiles
β β βββ manjaro
β β β βββ bookmarks.json
β β β βββ browsedata.db
β β β βββ version
β β βββ profiles.ini
β βββ ranger
β βββ commands.py
β βββ devicons.py
β βββ plugins
β β βββ devicons_linemode.py
β βββ rc.conf
β βββ scope.sh
βββ .zshrc