LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem in GNOME Desktop Right-Click Menu, Add New Document (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-gnome-desktop-right-click-menu-add-new-document-658627/)

johnmargaritopoulos 07-27-2008 04:50 PM

Problem in GNOME Desktop Right-Click Menu, Add New Document
 
Hi,

I am trying to add some new document templates in order to use them with the right-click menu (I have Fedora 9). I create a folder 'Template' in my home menu and add some templates but nothing is appeared in right-click -> Create Document menu.

I have noticed that when I open a folder with nautilus and use Go -> Templates, nautilus opens my home folder instead of the Template folder.

Any help on this?

John

flower.Hercules 07-27-2008 09:44 PM

Sounds like it could possibly be a config problem. See if you have ~/.config/user-dirs.dirs. If you have it, look for (or add) XDG_TEMPLATES_DIR and set it to your Templates folder:

Code:

XDG_TEMPLATES_DIR=/home/john/Templates
Otherwise, try creating the file and adding that line.

That file sets directories for various things -- like a My Documents, of sorts, for Gnome.

johnmargaritopoulos 07-28-2008 03:45 AM

Many thanks for your help. The problem has been fixed. I followed your instructions and now 'right-click create document' works.


All times are GMT -5. The time now is 05:20 AM.