Cinnamon
Will cardapio support cinnamon?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Cardapio Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2012-05-24
- Last reply:
- 2012-06-23
Thiago Teixeira (tvst) said : | #1 |
That would be great, but I will have to look into Cinnamon's plugin system before I can give you a better reply.
Also, if anyone is willing to help out, that would be great :)
Steve Benchik (jellofello112) said : | #2 |
Here's some basic documentation on making Cinnamon applets: http://
Seems easy enough, yo just need to kn ow some JavaScript.
i just found this it may help(haven't yet tried it)
Thiago Teixeira (tvst) said : | #4 |
Looking at the Cinnamon documentation linked above, it seems to me that the code in the pastebin should work.
But right now I'm looking at adapting Cardapio's gnomeshell applet code into Cinnamon in a nicer way. Doesn't seem too hard.
Steve Benchik (jellofello112) said : | #5 |
I would adapt the pastebin code to make Cardapio a TextIcon applet, for consistency with other versions.
Thiago Teixeira (tvst) said : | #6 |
Yep, that's what I tried to do, but I couldn't get it to work. Actually, I couldn't get even the code in the tutorial linked above to work :-/
You can find my latest attempt here:
http://
i just got your code to run on cinnamon 1.4.
i had to add
const Cinnamon = imports.
somewhere at the top of the applet.js
and
this.container = new Cinnamon.
right before the "this._
this got rid of the ths.container is undefined error
Thiago Teixeira (tvst) said : | #8 |
Awesome, I will try that in a bit!
Luke (tiliqua-au) said : | #9 |
That worked for me but Cardapio shows at the top of the screen with search text box at the top (as if clicked from a top panel), but my panel is at the bottom. I quickly hacked Thiago's code and added the signature for show_near_mouse and replaced the call to show_hide_
--- .<email address hidden>
+++ .<email address hidden>/applet.js 2012-07-01 08:11:43.511655294 +1000
@@ -25,0 +26 @@
+const Cinnamon = imports.
@@ -54,0 +56,4 @@
+ name: 'show_hide_
+ inSignature: '',
+ outSignature: '',
+ }, {
@@ -92,0 +98 @@
+ this.container = new Cinnamon.
@@ -171 +177,2 @@
- this._cardapio.
+ //this.
+ this._cardapio.
Can you help with this problem?
Provide an answer of your own, or ask holyjoe for more information if necessary.