LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Where are Gnome3 Pictures, Videos, Downloads defined? (http://www.linuxquestions.org/questions/linux-software-2/where-are-gnome3-pictures-videos-downloads-defined-4175437803/)

MikeyCarter 11-19-2012 10:29 AM

Where are Gnome3 Pictures, Videos, Downloads defined?
 
I basically want to add my own so my ultimate goal is to add a few. Where are they defined and can I add my own? Even change the icons?

frankbell 11-19-2012 09:41 PM

I assume you aren't talking about your download directories, so could you be more specific about what you mean by "pictures, videos, and downloads"?

MikeyCarter 11-19-2012 09:55 PM

When you look at nautilus:

Devices
CD ROM 1
CD ROM 2

Bookmarks
Something 1
Something 2

Computer <-- How do I add entires under here? Or change them, as I want to have Pictures changed globally to point to an autofs nfs mount.
Home
Documents
Downloads
Music
Pictures
Videos
File System
Trash

Network
Browse Network


Ideally I'd like another category "Resources" and add system controlled bookmarks. At the moment I was just targeting how these system driven folders are setup so I can add more.

frankbell 11-19-2012 10:23 PM

Before Gnome 3, you could drag an item from the main Nautilus window to the sidebar to make a shortcut to that item. Unfortunately, I don't have a Gnome 3 install available to see it that is still valid. (I thought I had a Fedora VM with Gnome 3, but I must have deleted it. I'll load one up tomorrow just for grins and giggles.)

It will likely be easier simply to make a shortcut to the auto NFS mounted drive than to change the Pictures item, which is likely a default shortcut to /home/[username]/Pictures.

MikeyCarter 11-19-2012 10:32 PM

Quote:

Originally Posted by frankbell (Post 4832970)
Before Gnome 3, you could drag an item from the main Nautilus window to the sidebar to make a shortcut to that item. Unfortunately, I don't have a Gnome 3 install available to see it that is still valid. (I thought I had a Fedora VM with Gnome 3, but I must have deleted it.)

It will likely be easier simply to make a shortcut to the auto NFS mounted drive than to change the Pictures item, which is likely a default shortcut to /home/[username]/Pictures.

It's really starting to sound like I'm going to have to use something like the below. Then put the thing in a cron job to stop people from deleting the entries. I was really hoping I could get this into an area that couldn't be modified by the user.

Code:

for file in /home/*/.gtk-bookmarks ; do
  if [ "$(grep "/mnt/autofs/pictures" ${file})" != "" ] ; then
    sed -i "#/mnt/autofs/pictures#d" /home/*/.gtk-bookmarks
    echo "file:///mnt/autofs/pictures Net-Pictures" /home/*/.gtk-bookmarks
  fi
done


frankbell 11-20-2012 10:21 AM

I have been experimenting with F17 in VirtualBox.

You can use the "Bookmarks" item in the menu bar to modify items in the panel.

If you navigate to a directory (I used one cleverly named "test") and click "Bookmarks-->Add Bookmark," the new bookmark will appear in the left-hand panel.

If you click "Bookmarks-->Edit Bookmarks," you can edit or remove bookmarks from the list under the menu item, but doesn't appear to affect the listing on the left panel.

Hope this helps some. Best wishes.

Unnecessary editorial comment: Making items more difficult to configure and use is not consistent with my definition of "enhancement."

MikeyCarter 11-20-2012 10:37 AM

Quote:

Originally Posted by frankbell (Post 4833311)
I have been experimenting with F17 in VirtualBox.

You can use the "Bookmarks" item in the menu bar to modify items in the panel.

If you navigate to a directory (I used one cleverly named "test") and click "Bookmarks-->Add Bookmark," the new bookmark will appear in the left-hand panel.

If you click "Bookmarks-->Edit Bookmarks," you can edit or remove bookmarks from the list under the menu item, but doesn't appear to affect the listing on the left panel.

Hope this helps some. Best wishes.

Unnecessary editorial comment: Making items more difficult to configure and use is not consistent with my definition of "enhancement."

The problem is I want to create a set of bookmarks that the users can't modify. Not to mention the system added bookmarks can easily get lost as a user is adding/deleting them.

frankbell 11-20-2012 09:19 PM

Quote:

The problem is I want to create a set of bookmarks that the users can't modify.
I am afraid that this, as someone once said, beyond my pay grade. I was looking at it from the standpoint of a user wanting to modify it for his own use.

From what little I know about gnome, could this be accomplished by modifying the defaults in some of the files located /etc/gconf, then rolling out the changes?


All times are GMT -5. The time now is 02:30 PM.