 [SOLVED] Sublets do not work upon installation
[SOLVED] Sublets do not work upon installation
Added by tasty minerals over 13 years ago
I've downloaded clock_0.33 sublet, unpacked and installed 3 files to separate dirs:
/etc/xdg/subtle/sublets 
/etc/xdg/subtle/specifications
/etc/xdg/subtle/icons
After that I added to subtle.rb
sublet :clock do
    interval      30
    foreground    "#eeeeee" 
    background    "#000000" 
    format_string "%H:%M:%S" 
  end
But nothing seem to work after I restart subtle. What am I missing?
Replies (7)
     RE: Sublets do not work upon installation
    -
    Added by tasty minerals over 13 years ago
    RE: Sublets do not work upon installation
    -
    Added by tasty minerals over 13 years ago
  
  thank you.
For some reason I can't use sur.
$ sur install clock
ERROR: Couldn't find the gem `rubygems'
       Please install it with following command:
       gem install rubygems
$ gem install rubygems
ERROR:  Could not find a valid gem 'rubygems' (>= 0) in any repository
ERROR:  Possible alternatives: rubygame, eyrubygems, rubyless, rubydeps, brewbygems
     RE: Sublets do not work upon installation
    -
    Added by Christoph Kappel over 13 years ago
    RE: Sublets do not work upon installation
    -
    Added by Christoph Kappel over 13 years ago
  
  Hm, Debian by any chance?
     RE: Sublets do not work upon installation
    -
    Added by tasty minerals over 13 years ago
    RE: Sublets do not work upon installation
    -
    Added by tasty minerals over 13 years ago
  
  Yes, ubuntu.
One more question, how do I configure sublets, there is only a sample for clock. What about other sublets, is there a readme with available config options anywhere? Like font color, or where is the documentation for a sublet? It seems like using for example gnome-volume-applet is way easier, due to point-click functionality.
     RE: Sublets do not work upon installation
    -
    Added by Christoph Kappel over 13 years ago
    RE: Sublets do not work upon installation
    -
    Added by Christoph Kappel over 13 years ago
  
  Debian is a special case, you need to install rubygems from their repo.
Sublets come with their own docs, when the author added some.
Information about the sublets: sur info subletname
Config options: sur config subletname
And you surely agree, that the config shouldn't include examples for all possible sublets, since they are user-contributed, right? ;)
     RE: Sublets do not work upon installation
    -
    Added by tasty minerals over 13 years ago
    RE: Sublets do not work upon installation
    -
    Added by tasty minerals over 13 years ago
  
  ok,I got it.
thank you
     RE: [SOLVED] Sublets do not work upon installation
    -
    Added by Christoph Kappel over 13 years ago
    RE: [SOLVED] Sublets do not work upon installation
    -
    Added by Christoph Kappel over 13 years ago
  
  Heh, yw. ;)