Results 1 to 3 of 3

Thread: Error while setting Emblems with gvfs-set-attribute and cron

  1. #1
    Join Date
    Nov 2009
    Beans
    3

    Error while setting Emblems with gvfs-set-attribute and cron

    Hi,

    I already posted a link in the ubuntuusers.de Forum (german) http://forum.ubuntuusers.de/topic/em...d-cron-setzen/

    But I haven't found a solution yet. The problem is, that I wanna set an Emblem in Nautilus via a Script that is called by cron.
    The problem happens in that line
    Code:
    /usr/bin/gvfs-set-attribute -t stringv /path/to/file metadata::emblems minus14
    thats the error:
    Code:
    Error setting attribute: Setting attribute metadata::emblems not supported
    I already tried to call the script via /etc/crontab and /var/spool/cron/crontabs/meles, i tired it with
    Code:
    /path/to/script
    Code:
    sudo -H -u meles /path/to/script
    I already checked the $PATH Variable
    I tried it with
    Code:
    sudo -H -u meles  /usr/bin/gvfs-set-attribute -t stringv /path/to/script metadata::emblems minus14
    directly in /etc/crontab or /var/spool/cron/crontabs/meles

    Any ideas why it doesn't work? Or can anybody try if it works on your system?

    Thanks!

    PS Independent of cron the script works.

  2. #2
    Join Date
    Jul 2010
    Beans
    4

    Re: Error while setting Emblems with gvfs-set-attribute and cron

    I am also getting the same error when i want to change folder's emblem. searched on google and found this page.

  3. #3
    Join Date
    Dec 2009
    Beans
    4

    Re: Error while setting Emblems with gvfs-set-attribute and cron

    Sets the emblem

    gvfs-set-attribute -t stringv FILE_or_FOLDER metadata::emblems EMBLEM_NAME

    Reads emblems set

    gvfs-info -a metadata::emblems FILE_or_FOLER

    Will show you what emblem is set to the file or folder

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
  •