Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am using RHEL 4U5 (GNOME). Some of the docs and directories I save on Desktop are not showing, but i can see and work on them thru terminal. ...
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    2

    Some files not showing on Desktop

    Hi,
    I am using RHEL 4U5 (GNOME). Some of the docs and directories I save on Desktop are not showing, but i can see and work on them thru terminal.
    Any workarounds...

    Thanks
    Kiran

  2. #2
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843
    Are you sure they're in the right Desktop folder?

    Does the name of the user you used to log into the desktop match up with the directory you are using in the terminal? If you're not sure which user is logged into the desktop, try this (if using gnome):
    Code:
    ps -eo user,cmd|grep gnome-session
    Substitute your desktop environ (kde, etc.) for gnome-session, if using something else.

    What is the Desktop directory you are searching? Once you've confirmed the name of your logged in user, check the home directory with this (substituting your username for USER):
    Code:
    awk -F: '$1 ~ /USER/{print $6}' /etc/passwd
    If you username was joebob, the above command would likely return:
    Code:
    /home/joebob
    You should then be looking in directory:
    Code:
    /home/joebob/Desktop
    To add to the confusion, note that RHEL4x / Gnome 2.8 is still honoring/using a gnome desktop directory at:
    Code:
    /home/USER/.gnome-desktop
    Show the output of this command, if you are still having trouble:
    Code:
    ls -l /home/USER/Desktop

  3. #3
    Just Joined!
    Join Date
    Oct 2011
    Posts
    2
    Quote Originally Posted by atreyu View Post
    Are you sure they're in the right Desktop folder?

    Does the name of the user you used to log into the desktop match up with the directory you are using in the terminal? If you're not sure which user is logged into the desktop, try this (if using gnome):
    Code:
    ps -eo user,cmd|grep gnome-session
    Substitute your desktop environ (kde, etc.) for gnome-session, if using something else.

    What is the Desktop directory you are searching? Once you've confirmed the name of your logged in user, check the home directory with this (substituting your username for USER):
    Code:
    awk -F: '$1 ~ /USER/{print $6}' /etc/passwd
    If you username was joebob, the above command would likely return:
    Code:
    /home/joebob
    You should then be looking in directory:
    Code:
    /home/joebob/Desktop
    To add to the confusion, note that RHEL4x / Gnome 2.8 is still honoring/using a gnome desktop directory at:
    Code:
    /home/USER/.gnome-desktop
    Show the output of this command, if you are still having trouble:
    Code:
    ls -l /home/USER/Desktop
    Thanks for the reply atreyu, will check and get back

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...