3

I'm using Ubuntu 13.10, and I have a problem with 3 text editors - Geany, Gedit and Sublime Text.

These 3 editors cannot access most of their menu items, including Open file and Save file.

The only way to access these menu items is to open those editors using root access.

The only editor that seems to work without root access is Adobe Brackets.

I'm not talking about root files, I'm talking about the menu items which are not accessible when just opening the editor (even with no documents open).

image

4
  • I which folder is the file you are trying to edit. Run sudo ls -l /PATH/TO/CONTAINING/FOLDER, and add it to your question.
    – Wilf
    Jan 13, 2014 at 13:57
  • It isn't matter, when I just open the editor the menu item are non accessable
    – user227832
    Jan 13, 2014 at 14:07
  • Does it matter which file you are trying to edit? And can you use keyboard shortcuts?
    – Wilf
    Jan 13, 2014 at 16:07
  • it doesn't matter which file I try to edit, since I can't open files from menu. "ctrl+c" and "ctrl+v" both work.
    – user227832
    Jan 13, 2014 at 18:33

2 Answers 2

1

Try another Desktop environment, as this is probably a bug in the current Desktop Environment and/or Window Manager that is causing the problem - the most similar would be:

others possibilities might be:

The links I haven given have tips on installation and customization.


For the most similar thing to Unity, use Gnome Versions between 3.4 and 3.8 may be best.:

App Overview
(source: wikimedia.org)

There is a search overview as well, if anything it is better than Unity's

If you want a Unity - like launcher as well, use the Dash to Dock extension. Other useful things to make it more like Unity would be Dash Hotkeys, and perhaps this.

Extensions are sometimes compatibility only with different versions on Gnome.Shell, you can check, and edit stuff with Gnome Tweak Tool

1

It sounds like the folder is not owned by your user, so you can't write to it - to sort this out either run this for a file:

sudo chown USERNAME:USERNAME /PATH/TO/FILE

or this for a folder/directory:

sudo chown -R USERNAME:USERNAME /PATH/TO/FOLDER

These commands will make the user USERNAME and group USERNAME the owner of the file or folder specified.

Alternately, you could just make 'Other' users have access to the file:

sudo chmod 766 /PATH/TO/FILE

or folder:

sudo chmod -R 766 /PATH/TO/FOLDER

Here are manual pages on chmod and chown

You can check the permissions of the contents of a folder by running:

ls -l /PATH/TO/FOLDER

You should get something like this:

drwxr-xr-x. 2 wilf wilf      4096 Jan 10 15:59 Desktop
drwxr-xr-x. 2 wilf wilf      4096 Jan 10 00:32 Documents
drwxr-xr-x. 3 wilf wilf      4096 Jan 10 18:25 Downloads
-rw-rw-r--. 1 wilf wilf     70582 Jan 11 22:22 gnomeRemove.txt

Where the drwxr-xr-x. is a directory with read and execute permissions to all users, with write permissions for the owner.

Your username should also be in place of wilf.

11
  • Should I do that for geany + gedit folders?
    – user227832
    Jan 13, 2014 at 18:34
  • No just the folder of the files that you can't edit.
    – Wilf
    Jan 13, 2014 at 18:48
  • The problem isn't with the files, the problem is with the editor, with most of his menu items are not accessable
    – user227832
    Jan 13, 2014 at 19:39
  • Sounds like a bug then... You could try another Desktop Enviroment, like XFCE, or Gnome. Don't know otherwise...
    – Wilf
    Jan 13, 2014 at 20:09
  • Is Unity resposible menu items bug? Because purge and reinstall geany doesn't help there.
    – user227832
    Jan 14, 2014 at 6:22

You must log in to answer this question.