View previous topic :: View next topic |
Author |
Message |
pmam Veteran
Joined: 30 Dec 2013 Posts: 1145
|
Posted: Sun Apr 06, 2014 8:29 am Post subject: No home directories after installing gentoo/kde |
|
|
Hi,
I just installed gentoo with kde and do not find the home directories (Downloads, Documents...) -
Is this not done by default like in gentoo/gnome? Should I do it my self?
Also - When I connect a new usb drive- I do not see it in dolphin??
Please advise! |
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Sun Apr 06, 2014 9:26 am Post subject: |
|
|
Quote: | When I connect a new usb drive- I do not see it in dolphin?? |
You can mount the drive by the mount command - see info mount for details.
Quote: | I just installed gentoo with kde and do not find the home directories |
Usually the subdirectories under /home should be created automatically. You can create the subdirectories manually. |
|
Back to top |
|
|
pmam Veteran
Joined: 30 Dec 2013 Posts: 1145
|
Posted: Sun Apr 06, 2014 10:12 am Post subject: |
|
|
Hi,
Quote: | You can mount the drive by the mount command - see info mount for details. |
I have a bad experience with mounting drive - I did it with my cellular phone and it changed something in the phone's memory card file-system or something else -
In any case afterword I should format the memory card and all the data was blowing in the wind... -
May be I did something wrong, however, since then I am quite careful regarding mounting USB drive...
May be something is missing in my installation that has to do with the missing home directories and also the above issue -
In other systems it is plug&play - as you connect USB drive (like my cellular).
Please advise!
Thanks |
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Sun Apr 06, 2014 10:23 am Post subject: |
|
|
Please post /etc/fstab.
You can also use the automounter. |
|
Back to top |
|
|
pmam Veteran
Joined: 30 Dec 2013 Posts: 1145
|
Posted: Sun Apr 06, 2014 11:29 am Post subject: |
|
|
Keruskerfuerst Hi,
Here my /etc/fstab:
Code: | /dev/sda2 /boot ext4 defaults,noatime 0 2
/dev/sda3 none swap sw 0 0
/dev/sda4 / ext4 noatime 0 1
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
|
I do not know if it is relevant, however, when I get the kde login's screen there is a message: 'Consolekit is failed...' -
I do not have USE flag consolekit - Is it necessary?
There is another message, about power management of kde, but it disappears quickly - BTW, How can I 'stop' this message, in order to have enough time to read it?
Quote: | You can also use the automounter |
How to do it?
Thanks |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Sun Apr 06, 2014 1:32 pm Post subject: |
|
|
For removable device/disk/... support you need "udisks" (set USE="udisks" in your make.conf), which requires polkit which requires consolekit - in terms of USE and services running. Be aware of consolekit being deprecated, replacement is the logind-service currently implemented only by systemd - so if you running systemd you set "-consolekit systemd" in your USE. |
|
Back to top |
|
|
pmam Veteran
Joined: 30 Dec 2013 Posts: 1145
|
Posted: Sun Apr 06, 2014 2:35 pm Post subject: |
|
|
Dear Franzf,
OK - I have done your advise and now the removal device is auto connected to the computer!
I add to make.conf all the flags: udisks polkit consolekit - Please let me know if you ment to add all or only part of them?
I also start consolekit service and make it default.
I am not using systemd with kde - in other computer I am using gnome/systemd, this is another story...
Now I am left with the problem that during gentoo/kde installation did not make home directories -
It means that I need to do it manually - but why it happened?
Thanks |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Sun Apr 06, 2014 4:07 pm Post subject: |
|
|
Directories like Downloads and Documents are not part of the standard Linux (nor KDE) home directory set. Gentoo has a policy of accepting what upstream (in this case KDE upstream) does without embellishment. There are very few exceptions. In this case, it means that the Linux distribution you came from created those directories, not the base KDE software.
Just create 'em yourself.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
pmam Veteran
Joined: 30 Dec 2013 Posts: 1145
|
Posted: Sun Apr 06, 2014 6:41 pm Post subject: |
|
|
Dear John,
OK - All I want to know is - If it is normal installation of gentoo/kde without home directories -
For instance, I installed gentoo with gnome/systemd in other computer and it has already these directories.
In any case, no problem to do it - I have done things a little bit difficult than this...
Since this is the first time I am doing it, please let me know how and where exactly to make the directories:
Can I make it with dolphin or it is better by terminal? (I guess I know the answer...)
Second - Is the right place is: Root > Home Directories? Now there is already Desktop directory.
And for the other users: Root > Home > User?
Thanks |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Sun Apr 06, 2014 9:15 pm Post subject: |
|
|
If you click Home in the left panel of Dolphin, you'll be in your user's home directory. If the File menu doesn't show on the very top left, click the Control pull-down and select "Show Menubar". Then click File / Create New / Folder and enter the directory name you want to create. You can repeat this for Downloads and Documents.
Or, from the command line, it's a lot simpler: Code: | cd
mkdir Documents Downloads | and done.
By the way, you really shouldn't be running KDE—or any GUI—as root.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Mon Apr 07, 2014 6:12 am Post subject: |
|
|
John R. Graham wrote: | If you click Home in the left panel of Dolphin, you'll be in your user's home directory. If the File menu doesn't show on the very top left, click the Control pull-down and select "Show Menubar". Then click File / Create New / Folder and enter the directory name you want to create. You can repeat this for Downloads and Documents. |
Or simply press <F10>
Concerning Gnome vs. KDE behaviour on those USER DIRS:
I was a happy KDE User for quite some time. When semantic-desktop-USE-Flag got removed in KDE I tried Gnome (for a very short time). I had KDE default dirs set up perfectly. And what did Gnome on first run? create all those stupid dirs localized (I am German but have my documents in $HOME/documents - no need for "Dokumente", especially not with a leading capital letter - F****!) and also reset all my USER-Dirs. Extremely annoying and stupid IMHO, KDE does better in this regard. |
|
Back to top |
|
|
pmam Veteran
Joined: 30 Dec 2013 Posts: 1145
|
Posted: Mon Apr 07, 2014 9:57 am Post subject: |
|
|
Hi all,
Ok - I have done all these directories - nice to know that mkdir can make several directories at once...
Quote: | By the way, you really shouldn't be running KDE—or any GUI—as root. |
Yes John, I will stop this bad habit - Only as a user. Just in rare exceptions we need to login as root...
Actually, Root does not need these Home directories - right?
Franzf,
I installed in other computer Gnome3/systemd and so far facing with some issues -
I do like its 'look' and it seems to me well organized.
Maybe I did some mistakes during the installation, I need to figure out, and hope to fix all these problems.
Why you do not like the 'leading capital letter' - it may cause to some problems?
Can you translate what is written in your signature? I have a feeling it is a good stuff..
BTW - I do not find translator to seamonkey -
I found Add-on but it is written - Not available to 2.25- What should I do? Same for Flash Add-on...
Thank for all |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Apr 07, 2014 1:40 pm Post subject: |
|
|
pmam wrote: | ...Yes John, I will stop this bad habit - Only as a user. Just in rare exceptions we need to login as root...
Actually, Root does not need these Home directories - right? | There are really no exceptions: there's never a need to log into a GUI as root. If you need to execute one command with root privileges, use "sudo". If you need an extended root session, use "su -". (Both of these from a terminal window.)
You're correct that the root user doesn't need those directories, because you'll never be logging in to a GUI as root again, right?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
pmam Veteran
Joined: 30 Dec 2013 Posts: 1145
|
Posted: Mon Apr 07, 2014 6:40 pm Post subject: |
|
|
Dear John,
Quote: | If you need to execute one command with root privileges, use "sudo".
If you need an extended root session, use "su -". (Both of these from a terminal window.) |
Oh yes, that what I was looking for - I did not know why I can not switch to root...
After I saw your post with the 'sudo' link, I emerged sudo -
I need to configure /etc/sudoers with visudo in order to enable switching to root -
OK, I will check how to do it.. However, I did this command: 'gpasswd -a username wheel' so now I can switch with su -.
Does sudo necessary for su -? Or su - is independent. If yes - Does su - good enough or there are some extra features in sudo?
Sorry for many questions - This is the beginning... I did not find any comment or tip regarding sudo or su - in the Handbook -
It is a good idea to add it...
Thanks |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Apr 07, 2014 8:43 pm Post subject: |
|
|
Sudo and su are independent tools with similar roles. "sudo" is really for the occasional command you need to issue with root privileges and "su -" is for when you want to open a shell with root privileges and work for a while as root.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|