Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No home directories after installing gentoo/kde
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pmam
l33t
l33t


Joined: 30 Dec 2013
Posts: 660

PostPosted: Sun Apr 06, 2014 8:29 am    Post subject: No home directories after installing gentoo/kde Reply with quote

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
View user's profile Send private message
Keruskerfuerst
Veteran
Veteran


Joined: 01 Feb 2006
Posts: 1796

PostPosted: Sun Apr 06, 2014 9:26 am    Post subject: Reply with quote

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
View user's profile Send private message
pmam
l33t
l33t


Joined: 30 Dec 2013
Posts: 660

PostPosted: Sun Apr 06, 2014 10:12 am    Post subject: Reply with quote

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... :cry: -
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
View user's profile Send private message
Keruskerfuerst
Veteran
Veteran


Joined: 01 Feb 2006
Posts: 1796

PostPosted: Sun Apr 06, 2014 10:23 am    Post subject: Reply with quote

Please post /etc/fstab.

You can also use the automounter.
Back to top
View user's profile Send private message
pmam
l33t
l33t


Joined: 30 Dec 2013
Posts: 660

PostPosted: Sun Apr 06, 2014 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4046
Location: Irgendwo im Nirgendwo

PostPosted: Sun Apr 06, 2014 1:32 pm    Post subject: Reply with quote

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.
_________________
"der mac dennoch wesen geil"
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).
Ein frühes Statement gegen Windows.

My overlay
Back to top
View user's profile Send private message
pmam
l33t
l33t


Joined: 30 Dec 2013
Posts: 660

PostPosted: Sun Apr 06, 2014 2:35 pm    Post subject: Reply with quote

Dear Franzf,

OK - I have done your advise and now the removal device is auto connected to the computer! :D
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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 8281
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Apr 06, 2014 4:07 pm    Post subject: Reply with quote

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 999 National Security Letters.
Back to top
View user's profile Send private message
pmam
l33t
l33t


Joined: 30 Dec 2013
Posts: 660

PostPosted: Sun Apr 06, 2014 6:41 pm    Post subject: Reply with quote

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... :D

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 8281
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Apr 06, 2014 9:15 pm    Post subject: Reply with quote

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. :wink:

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 999 National Security Letters.
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4046
Location: Irgendwo im Nirgendwo

PostPosted: Mon Apr 07, 2014 6:12 am    Post subject: Reply with quote

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.
_________________
"der mac dennoch wesen geil"
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).
Ein frühes Statement gegen Windows.

My overlay
Back to top
View user's profile Send private message
pmam
l33t
l33t


Joined: 30 Dec 2013
Posts: 660

PostPosted: Mon Apr 07, 2014 9:57 am    Post subject: Reply with quote

Hi all,

Ok - I have done all these directories - nice to know that mkdir can make several directories at once... :D

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.. :D
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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 8281
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Apr 07, 2014 1:40 pm    Post subject: Reply with quote

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 999 National Security Letters.
Back to top
View user's profile Send private message
pmam
l33t
l33t


Joined: 30 Dec 2013
Posts: 660

PostPosted: Mon Apr 07, 2014 6:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 8281
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Apr 07, 2014 8:43 pm    Post subject: Reply with quote

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 999 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum