Page 1 of 2 12 LastLast
Results 1 to 10 of 30

Thread: I can't save the file in gedit

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Location
    Kazakhstan, Shymkent
    Beans
    18
    Distro
    Ubuntu 10.04 Lucid Lynx

    Unhappy I can't save the file in gedit

    Hello.I created the document in gedit and save button is disabled. It says "Changes to document 'Unsaved Document 1' will be permanently lost. saving has been disabled by system administrator"

    can anybody help?

    Using Ubuntu 10.04

  2. #2
    Join Date
    Apr 2009
    Beans
    1,173

    Re: I can't save the file in gedit

    Quote Originally Posted by samlabs821 View Post
    Hello.I created the document in gedit and save button is disabled.
    What is the full path of the file you are trying to save? Do you have write permission in the folder, and is there any existing file with the same name?

  3. #3
    Join Date
    Nov 2009
    Location
    Kazakhstan, Shymkent
    Beans
    18
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: I can't save the file in gedit

    Quote Originally Posted by StuartN View Post
    What is the full path of the file you are trying to save? Do you have write permission in the folder, and is there any existing file with the same name?
    I am tryning to save it to Desktop(home/samlabs821/Desktop) but folder name is 'Рабочий стол' in russian

  4. #4
    Join Date
    Nov 2009
    Location
    Kazakhstan, Shymkent
    Beans
    18
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: I can't save the file in gedit

    Also i can't save file at my home directory(/home/samlabs821/) which i created before

  5. #5
    Join Date
    Apr 2009
    Beans
    1,173

    Re: I can't save the file in gedit

    Quote Originally Posted by samlabs821 View Post
    Also i can't save file at my home directory(/home/samlabs821/) which i created before
    Can you open a terminal and check the permissions? The first will list the contents of Desktop and the second will list the permissions on the directory itself:

    Code:
    whoami
    ls -l /home/samlabs821/Desktop/
    ls -ld /home/samlabs821/Desktop/
    Also check /home/samlabs821 because the permissions are inherited from the parent.

  6. #6
    Join Date
    Nov 2009
    Location
    Kazakhstan, Shymkent
    Beans
    18
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: I can't save the file in gedit

    Quote Originally Posted by StuartN View Post
    Can you open a terminal and check the permissions? The first will list the contents of Desktop and the second will list the permissions on the directory itself:

    Code:
    whoami
    ls -l /home/samlabs821/Desktop/
    ls -ld /home/samlabs821/Desktop/
    Also check /home/samlabs821 because the permissions are inherited from the parent.
    Code:
    ls -ld /home/samlabs821/Desktop/
    ls: cannot access /home/samlabs821/Desktop/: No such file or directory
    ls -ld /home/samlabs821/
    drwxr-xr-x 45 samlabs821 samlabs821 4096 2010-05-15 02:48 /home/samlabs821/
    what does it mean?

  7. #7
    Join Date
    May 2007
    Beans
    314
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: I can't save the file in gedit

    Quote Originally Posted by samlabs821 View Post
    I am tryning to save it to Desktop(home/samlabs821/Desktop) but folder name is 'Рабочий стол' in russian
    If you have it (the name of your Desktop folder) in Russian the way to it must be:
    /home/samalabs821/Рабочий стол
    What's the output of:
    ls /home/samalabs821/Рабочий\ стол
    Can you cd to that folder?
    Does
    ls /home/samalabs821
    show a "Рабочий стол" directory?

  8. #8
    Join Date
    Nov 2009
    Location
    Kazakhstan, Shymkent
    Beans
    18
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: I can't save the file in gedit

    Quote Originally Posted by AlexDudko View Post
    If you have it (the name of your Desktop folder) in Russian the way to it must be:

    What's the output of:

    Can you cd to that folder?
    Does

    show a "Рабочий стол" directory?
    yes it show but i removed this directory and created Desktop directory instead...

    i noticed that print button is also disabled in gedit... it means the problem in gedit??

    But when i run gedit with sudo there is no problem...

  9. #9
    Join Date
    May 2007
    Beans
    314
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: I can't save the file in gedit

    Desktop stands for Russian "Рабочий стол", this is due to Russian system language, which made all automatically created folders in user's home directory be in Russian.

    Didn't you create the Desktop folder in sudo mode?
    Try to
    sudo chown samalabs821:samalabs821 /home/samalabs821/Desktop

  10. #10
    Join Date
    Apr 2009
    Beans
    1,173

    Re: I can't save the file in gedit

    Quote Originally Posted by samlabs821 View Post
    yes it show but i removed this directory and created Desktop directory instead...
    What is the output from ls -l /home/samlabs821 ? Did you create Desktop or desktop?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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