General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
[QUOTE=Lona;42000121]Just running useradd isn't enough, you also need to manually create your home directory (/home/<user>). Also don't forget to give it the right owner (you).[/QUOTE]
or add -m to useradd next time.
[editline]28th August 2013[/editline]
or even change CREATE_HOME to yes in /etc/login.defs
[QUOTE=Darkwater124;41999809]I currently use #! but I don't like the lockscreen, how do I change it?[/QUOTE]
......
[url]https://www.google.com/search?q=change+slim+background&oq=change+slim&aqs=chrome.2.57j0l3j62l2.3541j0&sourceid=chrome&ie=UTF-8[/url]
[QUOTE=lavacano;42000319]or add -m to useradd next time.
[editline]28th August 2013[/editline]
or even change CREATE_HOME to yes in /etc/login.defs[/QUOTE]
I used -m though
can't find CREATE_HOME in login.defs either
[QUOTE=Ca5bah;42001722]......
[url]https://www.google.com/search?q=change+slim+background&oq=change+slim&aqs=chrome.2.57j0l3j62l2.3541j0&sourceid=chrome&ie=UTF-8[/url][/QUOTE]
I was talking about the screen you get when you leave your #! for a while. I'm also talking about the whole program that shows that screen, not just the background.
[QUOTE=PredGD;42005512]I used -m though
can't find CREATE_HOME in login.defs either[/QUOTE]
what distro are you using
What are you using for the panels. Razor-qt?
[QUOTE=lavacano;42010184]what distro are you using[/QUOTE]
arch, running cinnamon and slim as DE and login manager
[QUOTE=PredGD;42005512]I used -m though
can't find CREATE_HOME in login.defs either[/QUOTE]
If CREATE_HOME is not in login.defs, then just add it to the buttom.
[code]
CREATE_HOME yes
[/code]
[QUOTE=mastersrp;42011116]If CREATE_HOME is not in login.defs, then just add it to the buttom.
[code]
CREATE_HOME yes
[/code][/QUOTE]
I added it at the top of login.defs but it didn't do much. what is it supposed to do? create home when the user is made or when I log in with the so said user?
[QUOTE=PredGD;42011156]I added it at the top of login.defs but it didn't do much. what is it supposed to do? create home when the user is made or when I log in with the so said user?[/QUOTE]
Create the home directory when you create the user.
[QUOTE=mastersrp;42011171]Create the home directory when you create the user.[/QUOTE]
no dice there then
If the home directory for your user doesn't already exist, create it and make sure it has the right owner with
chown -R username /home/username
then run
usermod -d /home/username username
to set your home.
by running usermod -d /home/username username i get usermod: no changes
Did you replace username with your username and what is the output of:
ls -l /home/[i]username[/i]
yeah of course
the output of ls -l /home/username is
[code]
total 32
drwxr-xr-x 2 username users 4096 aug. 29 13:35 Desktop
drwxr-xr-x 2 username users 4096 aug. 29 13:35 Documents
drwxr-xr-x 2 username users 4096 aug. 29 13:35 Downloads
drwxr-xr-x 2 username users 4096 aug. 29 13:35 Music
drwxr-xr-x 2 username users 4096 aug. 29 13:35 Pictures
drwxr-xr-x 2 username users 4096 aug. 29 13:35 Public
drwxr-xr-x 2 username users 4096 aug. 29 13:35 Templates
drwxr-xr-x 2 username users 4096 aug. 29 13:35 Videos
[/code]
[QUOTE=PredGD;42011001]arch, running cinnamon and slim as DE and login manager[/QUOTE]
then arch probably doesn't include it by default in a commented out line or whatever
also changing it after you've already made the user isn't going to do anything, it's just subsequent user creations
just found the home folder after some intense searching. it has a .Xauthority file
Hey, does anyone know how unity loads its gtk/qt themeing? I have to use Ubuntu for school but want to keep using i3wm instead of Unity, but for some reason I can't figure out how to keep using the default ubuntu-looking theme.
[QUOTE=lavacano;42011792]then arch probably doesn't include it by default in a commented out line or whatever[/QUOTE]
[code]%~> s useradd -m test
[sudo] password for alex:
%~> ls -l /home
total 8.0K
drwx------ 53 alex users 4.0K Aug 30 16:57 alex
drwx------ 2 test test 4.0K Aug 30 17:37 test
[/code]
works for me
got it working after adding exec gnome-session-cinnamon to the .xinitrc file. however, can't connect to any wireless networks using my user account. why is this?
[QUOTE=awh;42021448][code]%~> s useradd -m test
[sudo] password for alex:
%~> ls -l /home
total 8.0K
drwx------ 53 alex users 4.0K Aug 30 16:57 alex
drwx------ 2 test test 4.0K Aug 30 17:37 test
[/code]
works for me[/QUOTE]
I'm referring to the CREATE_HOME line, not -m
of course -m would work without that line.
[QUOTE=lavacano;42023061]I'm referring to the CREATE_HOME line, not -m[/QUOTE]
Ah, right. It's not even commented out in the default login.defs actually, it just doesn't exist which is weird.
[QUOTE=awh;42026204]Ah, right. It's not even commented out in the default login.defs actually, it just doesn't exist which is weird.[/QUOTE]
It's possible Arch doesn't bother to put in more than necessary to run in the actual config files and then has you look at the wiki for documentation.
Personally I prefer spending the extra few KB per file to have the documentation in the config file, but this is purely a subjective thing and for once I don't hate Arch for this.
[QUOTE=lavacano;42026324]It's possible Arch doesn't bother to put in more than necessary to run in the actual config files and then has you look at the wiki for documentation.
Personally I prefer spending the extra few KB per file to have the documentation in the config file, but this is purely a subjective thing and for once I don't hate Arch for this.[/QUOTE]
It's the better decision to put it in, yes. Not sure it's a philosophical reason though, probably an oversight, since the rest of the file has [url=http://pastie.org/pastes/8285077/text]pretty decent[/url] documentation.
[QUOTE=awh;42026450]It's the better decision to put it in, yes. Not sure it's a philosophical reason though, probably an oversight, since the rest of the file has [URL="http://pastie.org/pastes/8285077/text"]pretty decent[/URL] documentation.[/QUOTE]
Speaking of this, would you guys prefer to have a bare-minimum documentation-less primary configuration file, with a lot of documentation included in a bzipped man/info/html/pdf file stored away in /usr/share/[whatever], or rather a documentation-filled all-options-included configuration file?
[QUOTE=mastersrp;42030134]Speaking of this, would you guys prefer to have a bare-minimum documentation-less primary configuration file, with a lot of documentation included in a bzipped man/info/html/pdf file stored away in /usr/share/[whatever], or rather a documentation-filled all-options-included configuration file?[/QUOTE]
All the options you can configure in a single config file, with the optional configuration options commented out. No descriptions in the file.
and in a man page the descriptions to all the configuration options.
Guyyys, why is MTP support such a flakey piece of shit on Loonix?
My phone intermittently mounts and even then its slow as fuck.
[editline]31st August 2013[/editline]
Scratch that, updating to Fedora 19 has automatic mounting.
Ooooh, fancy Gnome 3 animations~~
[QUOTE=kaukassus;42030331]All the options you can configure in a single config file, with the optional configuration options commented out. No descriptions in the file.
and in a man page the descriptions to all the configuration options.[/QUOTE]
One the things I hate most in Linux (most distros ive used) is the massively huge configuration files some software packages have. Its like 30% config options and 70% comments. It makes it really daunting to even bother trying to go in and configure new software properly.
[QUOTE=TheCreeper;42032099]One the things I hate most in Linux (most distros ive used) is the massively huge configuration files some software packages have. Its like 30% config options and 70% comments. It makes it really daunting to even bother trying to go in and configure new software properly.[/QUOTE]
You can go through GUI config tools but most are not as powerful, because if they were they would be just as confusing as the large config file.
Also, 70% comments is good, because it is less daunting when each option has a well thought out explanation just above it, and a default value commented out. That way you can basically read straight through, confirm that you are happy with the defaults or make quick modifications without consulting external documentation.
Like I said, it's a matter of whether you want to spend the time to get a greater control over your software's configuration. As an example, I find AwesomeWM to be so configurable that it is not worth my time to get it set up, and keep up with radical changes to its configuration syntax, whereas i3-wm keeps its configuration to a minimum (although I've yet to find something I wanted that it didn't allow for) and has very reasonable defaults.
I find Windows sits at the other end of the spectrum from things like AwesomeWM: Windows 8 is a black box where any configuration is impossible to find, and many options (like disabling metro) can only be obtained by hacks.
[editline]31st August 2013[/editline]
Also, and this is a minor thing I suppose, but Windows still doesn't allow you to specify that the RTC is in UTC rather than localtime.
[QUOTE=Rayjingstorm;42032599]You can go through GUI config tools but most are not as powerful, because if they were they would be just as confusing as the large config file.
Also, 70% comments is good, because it is less daunting when each option has a well thought out explanation just above it, and a default value commented out. That way you can basically read straight through, confirm that you are happy with the defaults or make quick modifications without consulting external documentation.
Like I said, it's a matter of whether you want to spend the time to get a greater control over your software's configuration. As an example, I find AwesomeWM to be so configurable that it is not worth my time to get it set up, and keep up with radical changes to its configuration syntax, whereas i3-wm keeps its configuration to a minimum (although I've yet to find something I wanted that it didn't allow for) and has very reasonable defaults.
I find Windows sits at the other end of the spectrum from things like AwesomeWM: Windows 8 is a black box where any configuration is impossible to find, and many options (like disabling metro) can only be obtained by hacks.
[editline]31st August 2013[/editline]
Also, and this is a minor thing I suppose, but Windows still doesn't allow you to specify that the RTC is in UTC rather than localtime.[/QUOTE]
Thats true however I would much rather have a configuration file with very few to no comments and a wiki or man page that explains every config option in detail. That would be less daunting.
Sorry, you need to Log In to post a reply to this thread.