[SOLVED] No folders in ~/

If none of the more specific forums is the right place to ask

[SOLVED] No folders in ~/

Postby pawRoot » 2018-01-12 22:17

This isn't the first time happening to me, and i dont know why but, there is no folders like Pictures, Videos etc. in my home folder. Most of the time reinstall helps, but why the hell is this happening?

Image
https://i.imgur.com/qd8vDoL.png

It's a fresh install of i3, on Debian netinst (standard system utilities selected only).
I made the whole install with this:

Code: Select all
#!/bin/sh

sudo dpkg --add-architecture i386

sudo apt update && sudo apt upgrade -y

### installing packages
sudo apt install -f -y i3 suckless-tools xorg software-properties-common \
                          chromium fonts-font-awesome fonts-roboto devscripts \
                          file-roller pcmanfm leafpad pulseaudio pavucontrol \
                          alsa-utils gdebi neofetch clipit feh \
                          build-essential gtk2-engines-murrine gtk2-engines \
                          vim ranger caca-utils highlight atool w3m poppler-utils \
                          mediainfo compton python-pip libcanberra-gtk-module \
                          rxvt-unicode-256color curl wget apt-transport-https dirmngr \
                          numix-icon-theme scrot ristretto

### creating dirs
mkdir ~/.config/
mkdir ~/.themes/
mkdir ~/.fonts/

### configs
rsync -a .xinitrc ~/
rsync -a .Xresources ~/
rsync -a .config/ ~/.config/
#rsync -a .gtkrc-2.0 ~/

### wallpaper
sudo rsync -a wallpaper.png /usr/share/wallpapers/
Last edited by pawRoot on 2018-01-12 23:08, edited 1 time in total.
OS: Debian Stretch
WM: i3
CPU: Intel Core i5-4690K CPU @ 3.9GHz
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 283
Joined: 2016-12-28 18:26
Location: Poland

Re: No folders in ~/

Postby dilberts_left_nut » 2018-01-12 22:23

pawRoot wrote:### creating dirs
mkdir ~/.config/
mkdir ~/.themes/
mkdir ~/.fonts/
Well, these are the only ones you made ... ?
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4744
Joined: 2009-10-05 07:54
Location: enzed

Re: No folders in ~/

Postby bw123 » 2018-01-12 22:27

but why the hell is this happening?
<snip>
It's a fresh install of i3, on Debian netinst


It's happening because you refuse to read any documentation. Take it easy on the servers okay, it's shared resource.

you probably want the xdg-something package.
User avatar
bw123
 
Posts: 2625
Joined: 2011-05-09 06:02
Location: TN_USA

Re: No folders in ~/

Postby pawRoot » 2018-01-12 22:30

But i always do it this way, thats why it's weird to me, and 99% of time all of these folders are created automaticaly when i start X.
OS: Debian Stretch
WM: i3
CPU: Intel Core i5-4690K CPU @ 3.9GHz
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 283
Joined: 2016-12-28 18:26
Location: Poland

Re: No folders in ~/

Postby bw123 » 2018-01-12 22:37

pawRoot wrote:But i always do it this way, thats why it's weird to me, and 99% of time all of these folders are created automaticaly when i start X.


HOAS told you in the other thread that depending on how you used your xinitrc that it may or may not run the files in /etc/xdg/autostart

I would rather you do things the debian way first until you learn and break the rules later, but DO IT YOUR WAY.
User avatar
bw123
 
Posts: 2625
Joined: 2011-05-09 06:02
Location: TN_USA

Re: No folders in ~/

Postby pawRoot » 2018-01-12 22:40

But this problem was happening way before that already, without me modyfing anything.

I have "xdg-user-dirs" installed already.
OS: Debian Stretch
WM: i3
CPU: Intel Core i5-4690K CPU @ 3.9GHz
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 283
Joined: 2016-12-28 18:26
Location: Poland

Re: No folders in ~/

Postby bw123 » 2018-01-12 22:52

pawRoot wrote:But this problem was happening way before that already, without me modyfing anything.

I have "xdg-user-dirs" installed already.


yeah but you overwrote it's config with one of your rsync commands. If you would read some documentation you would benefit, seriously.

hmmm, btw thanks I just caught a permissions error cuz of this post.
Last edited by bw123 on 2018-01-12 23:01, edited 1 time in total.
User avatar
bw123
 
Posts: 2625
Joined: 2011-05-09 06:02
Location: TN_USA

Re: No folders in ~/

Postby Head_on_a_Stick » 2018-01-12 22:58

The xdg-user-dirs package supplies /etc/X11/Xsession.d/60xdg-user-dirs-update which runs automatically if you don't have ~/.xinitrc

As you do have ~/.xinitrc, you need to add
Code: Select all
xdg-user-dirs-update

To ~/.xinitrc

Or just run the command once to generate the directories and then forget all about it.
"To be free is nothing, to become free is everything." — Hegel
User avatar
Head_on_a_Stick
 
Posts: 7005
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: No folders in ~/

Postby pawRoot » 2018-01-12 23:08

You are the man :D
OS: Debian Stretch
WM: i3
CPU: Intel Core i5-4690K CPU @ 3.9GHz
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 283
Joined: 2016-12-28 18:26
Location: Poland

Re: No folders in ~/

Postby bw123 » 2018-01-12 23:10

setting the x-window-manager alternative and using the default debian setup for running x windows would have likely eliminate a lot of the nonsense.
User avatar
bw123
 
Posts: 2625
Joined: 2011-05-09 06:02
Location: TN_USA


Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable