











bimsebasse wrote:How do I try this thing esteban?
apt-get source cinnamonpatch -p1 < bgeffect.diff fx = new St.BackgroundEffect();
this.menu.actor.add_effect_with_name('blur',fx);

test@test-VirtualBox ~/cinnamon-1.5.2-20120809044010/src $ patch -p1 < bgeffect.diff
(Patch is indented 4 spaces.)
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| diff -ruN a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js
| --- a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2012-08-04 23:40:06.000000000 -0300
| +++ b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2012-08-01 10:46:36.546118615 -0300
--------------------------
File to patch:
@@ -41,6 +41,8 @@


palo wrote:Thank you for working on this. I am trying to follow you and test this and do not know anything about coding but usually have no trouble with your instructions between this and the freezing post. Can you please suggest what may be wrong to cause this:
- Code: Select all
test@test-VirtualBox ~/cinnamon-1.5.2-20120809044010/src $ patch -p1 < bgeffect.diff
(Patch is indented 4 spaces.)
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| diff -ruN a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js
| --- a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2012-08-04 23:40:06.000000000 -0300
| +++ b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2012-08-01 10:46:36.546118615 -0300
--------------------------
File to patch:
line 4 is:
- Code: Select all
@@ -41,6 +41,8 @@
with the spaces - should I remove the spaces? In your code there are no spaces - all I did was copy/paste and don't understand why that happened.
Pat
patch -p1 < bgeffect.diff



test@test-VirtualBox ~/cinnamon-1.5.2-20120809044010/src $ patch -p1 < bgeffect.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js
|--- a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2012-08-04 23:40:06.000000000 -0300
|+++ b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2012-08-01 10:46:36.546118615 -0300
--------------------------
File to patch:



palo wrote:Thank you for the tips earlier - my desire outweighs my ability sadly; the "raw" did make a difference as far as the spaces but still hangs about line 4. The lastest patch fails for me too (aaaargh):
- Code: Select all
test@test-VirtualBox ~/cinnamon-1.5.2-20120809044010/src $ patch -p1 < bgeffect.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js
|--- a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2012-08-04 23:40:06.000000000 -0300
|+++ b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2012-08-01 10:46:36.546118615 -0300
--------------------------
File to patch:
I wish I could get this to work - will keep trying.
Pat
test@test-VirtualBox ~/cinnamon-1.5.2-20120809044010/src $ patch -p1 < bgeffect.difftest@test-VirtualBox ~/cinnamon-1.5.2-20120809044010 $ patch -p1 < bgeffect.diff




diff -ruN a/src/Makefile.in b/src/Makefile.in addMenu: function(menu, position) {
let menudata = {
menu: menu,
openStateChangeId: menu.connect('open-state-changed', Lang.bind(this, this._onMenuOpenState)),
childMenuAddedId: menu.connect('child-menu-added', Lang.bind(this, this._onChildMenuAdded)),
childMenuRemovedId: menu.connect('child-menu-removed', Lang.bind(this, this._onChildMenuRemoved)),
destroyId: menu.connect('destroy', Lang.bind(this, this._onMenuDestroy)),
enterId: 0,
focusInId: 0
};
let source = menu.sourceActor;
if (source) {
menudata.enterId = source.connect('enter-event', Lang.bind(this, function() { this._onMenuSourceEnter(menu); }));
menudata.focusInId = source.connect('key-focus-in', Lang.bind(this, function() { this._onMenuSourceEnter(menu); }));
}
if (position == undefined)
this._menus.push(menudata);
else
this._menus.splice(position, 0, menudata); addMenu: function(menu, position) {
let menudata = {
menu: menu,
openStateChangeId: menu.connect('open-state-changed', Lang.bind(this, this._onMenuOpenState)),
childMenuAddedId: menu.connect('child-menu-added', Lang.bind(this, this._onChildMenuAdded)),
childMenuRemovedId: menu.connect('child-menu-removed', Lang.bind(this, this._onChildMenuRemoved)),
destroyId: menu.connect('destroy', Lang.bind(this, this._onMenuDestroy)),
enterId: 0,
focusInId: 0
};
let source = menu.sourceActor;
if (source) {
menudata.enterId = source.connect('enter-event', Lang.bind(this, function() { this._onMenuSourceEnter(menu); }));
menudata.focusInId = source.connect('key-focus-in', Lang.bind(this, function() { this._onMenuSourceEnter(menu); }));
}
if (position == undefined)
this._menus.push(menudata);
else
this._menus.splice(position, 0, menudata);
fx = new St.BackgroundEffect(); // blurred backgrounds
menu.actor.add_effect_with_name('blur',fx); // effect for all the applets! 

mauldred@trantor ~/Cinnamon-1.6.7 $ patch -p1 < bgeffect.diff
patching file files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js
Hunk #1 FAILED at 641.
1 out of 1 hunk FAILED -- saving rejects to file files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js.rej
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN a/src/Makefile.in b/src/Makefile.in
|--- a/src/Makefile.in 2012-08-04 23:41:01.000000000 -0300
|+++ b/src/Makefile.in 2012-08-01 10:46:36.546118615 -0300
--------------------------
File to patch:

Mauldred wrote:Hi everyone,
Sorry, I know that this thread is quite old, but I didn't found any other newer thread about this subject.
I'm trying to apply the last patch proposed by esteban on my Linux Mint 14 (32 bits) with Cinnamon 1.6.7, and it's unfortunately not working. I would like to know if you have any idea of what I should do to adapt this method to the new Cinnamon used on Linux Mint 14. Here is the result I get :
- Code: Select all
mauldred@trantor ~/Cinnamon-1.6.7 $ patch -p1 < bgeffect.diff
patching file files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js
Hunk #1 FAILED at 641.
1 out of 1 hunk FAILED -- saving rejects to file files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js.rej
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN a/src/Makefile.in b/src/Makefile.in
|--- a/src/Makefile.in 2012-08-04 23:41:01.000000000 -0300
|+++ b/src/Makefile.in 2012-08-01 10:46:36.546118615 -0300
--------------------------
File to patch:
So it is quite similar to the error message that Palo got when he was not in the right directory, but I think I'm in the right one... or ain't I ?
I have installed Linux Mint 14 on my VirtualBox, and I was trying to tweak a little bit the default theme which is too blank and flat for me. I come from Mac OS X and I'm willing to switch to Linux to get rid of the proprietary locks, however I'm used to have a nice interface that looks polished, and I thought Cinnamon with some tweaks could be the [strike]droid[/strike]DE I'm looking for. Except that it's not easy to customize it in some details. Like for example... the blurry transparency ! That is a default feature in Mac OS X and Windows 7, but surprisingly hard to find on most Linux distros (even with KDE).
So I'm very happy to have finally found this thread ! Very good work !If that could be adapted to the newer versions of Cinnamon or (let's dream) if that could become officially a featured option in the next ones, Cinnamon would be much better than KDE to my eyes !







bimsebasse wrote:Hehe, personal opinion:
Blurry background: AWESOME! BRING IT!
Bumpmaps: LOATHSOME! BURN IT!







Users browsing this forum: No registered users and 9 guests