pfr
For wifi, what's the output of pcictl pci0 list
and ifconfig
?
I never launch X as root, its a security concern!
As for permissions, did you create the .xinitrc
file as root or as your user?
What's the out put of ls -lap
inside your home directory?
Here's mine for comparison,
pin@mybox $ ls -lap
total 168
drwxr-xr-x 16 pin wheel 1024 Dec 5 12:29 ./
drwxr-xr-x 4 root wheel 512 Dec 2 15:29 ../
-rw------- 1 pin wheel 50 Dec 5 12:23 .Xauthority
-rw-r--r-- 1 pin wheel 748 Dec 3 12:53 .Xresources
drwxr-xr-x 4 pin wheel 512 Dec 5 14:38 .cache/
drwxr-xr-x 14 pin wheel 512 Dec 5 11:35 .config/
-rw-r--r-- 1 pin wheel 1780 Nov 1 10:30 .cshrc
drwx------ 3 pin wheel 512 Nov 6 09:50 .dbus/
-rwxr-xr-- 1 pin wheel 68 Dec 5 12:23 .fehbg
-rw-r--r-- 1 pin wheel 76 Nov 6 09:57 .gitconfig
-rw-r--r-- 1 pin wheel 115 Nov 6 10:32 .gtkrc-2.0
-rw-r--r-- 1 pin wheel 1326 Nov 6 10:38 .keybindings.conf
drwx------ 3 pin wheel 512 Nov 6 10:05 .local/
-rw-r--r-- 1 pin wheel 431 Nov 1 10:30 .login
-rw-r--r-- 1 pin wheel 265 Nov 1 10:30 .logout
drwx------ 4 pin wheel 512 Nov 6 10:04 .mozilla/
-rw-r--r-- 1 pin wheel 1586 Dec 5 10:46 .profile
-rw------- 1 pin wheel 50 Dec 5 12:23 .serverauth.965
-rw-r--r-- 1 pin wheel 182 Nov 6 10:38 .shrc
-rw-r--r-- 1 pin wheel 1670 Dec 5 10:40 .spectrwm.conf
drwx------ 2 pin wheel 512 Dec 5 11:30 .ssh/
drwx------ 4 pin wheel 512 Nov 12 09:38 .thumbnails/
drwxr-xr-x 3 pin wheel 512 Dec 3 12:00 .vim/
-rw------- 1 pin wheel 21199 Dec 5 12:27 .viminfo
-rw-r--r-- 1 pin wheel 206 Nov 25 20:46 .vimrc
-rw-r--r-- 1 pin wheel 333 Nov 6 10:39 .xinitrc
drwxr-xr-x 2 pin wheel 512 Nov 6 10:23 Desktop/
drwxr-xr-x 3 pin wheel 512 Dec 5 11:21 Documents/
drwxr-xr-x 2 pin wheel 512 Dec 5 11:31 Downloads/
drwxr-xr-x 3 pin wheel 512 Nov 6 10:31 Git/
drwxr-xr-x 2 pin wheel 512 Nov 6 10:29 Templates/
drwxr-xr-x 2 pin wheel 512 Dec 3 11:40 Wallpapers/
If you have something like -rw-r--r-- 1 root wheel 333 Nov 6 10:39 .xinitrc
then you have to change this.
To do so, from your home directory,
$ cd ..
$ su
Password:
# chown -R your_username your_home_directory
# exit
$
As I mentioned on the OP, feel free to go through my dotfiles on github. But, to save you time I add my .xinitrc
here.
Please adjust according to your needs, keyboard layout and wallpaper source...
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xrdb -merge ~/.Xresources && setxkbmap se
xset b off && feh --bg-fill "/home/pin/Wallpapers/wall.jpg"
exec spectrwm
Also, please host your .spectrwm.conf
somewhere and link it here if you would like help spotting possible errors.
Remember spectrwm calls some programs by default, if those are not installed, it will sometimes load an error on the bar or fail to load.