Mate Desktop Environment - GNOME2 fork

Re: Mate Desktop Environment - GNOME2 fork

Postby stefano-k on Thu Jan 12, 2012 3:26 pm

xpander wrote:cant get the dropbox working with caja. downloaded nautilus-dropbox,
changed the stuff in files replaced NAUTILUS with CAJA, libnautilus with libcaja (extension stuff) and nautilus with caja.
all compiled fine and installed fine also but still doesnt show up the links in the folders :( (yes i restarted caja)


you need to rename all MATE stuff... look here: http://wiki.mate-desktop.org/doku.php/migrating the migrate script
User avatar
stefano-k
Level 2
Level 2
 
Posts: 65
Joined: Sat Dec 03, 2011 6:09 pm
Location: Italy

Linux Mint is funded by ads and donations.
 

Re: Mate Desktop Environment - GNOME2 fork

Postby stefano-k on Thu Jan 12, 2012 5:48 pm

mate-menu-editor packaged, the new name for alacarte is mozo (same name for the package)
User avatar
stefano-k
Level 2
Level 2
 
Posts: 65
Joined: Sat Dec 03, 2011 6:09 pm
Location: Italy

Re: Mate Desktop Environment - GNOME2 fork

Postby kmb42vt on Thu Jan 12, 2012 7:00 pm

stefano-k wrote:mate-menu-editor packaged, the new name for alacarte is mozo (same name for the package)


For those of us who have already have Alacarte installed for the Gnome (gnome-shell/MGSE and Cinnamon if installed) DE also included in Linux Mint 12 (which works in MATE as well), should we just contunue to use Alacarte or will installing 'mozo' replace Alacarte in MATE? I'm thinking there might be a conflict if both are installed.

Note: I understand that the 'mate-menu-editor' needs to be there if MATE is the only DE installed in any particular distro.
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
User avatar
kmb42vt
Level 5
Level 5
 
Posts: 830
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont

Re: Mate Desktop Environment - GNOME2 fork

Postby xpander on Thu Jan 12, 2012 8:40 pm

stefano-k wrote:
xpander wrote:cant get the dropbox working with caja. downloaded nautilus-dropbox,
changed the stuff in files replaced NAUTILUS with CAJA, libnautilus with libcaja (extension stuff) and nautilus with caja.
all compiled fine and installed fine also but still doesnt show up the links in the folders :( (yes i restarted caja)


you need to rename all MATE stuff... look here: http://wiki.mate-desktop.org/doku.php/migrating the migrate script


thanks. but unfortunately that script didnt change a lot of the code
so i made script with sed which seemed to replace all nicely.

but now it seems to get stuck at make
http://pastebin.com/TyWCJUdW

i doublechecked all this and seems fine. i have been messing with it like 6 hours now...maybe my brain gave up.
the source im trying to replace with mate stuff is https://www.dropbox.com/download?dl=pac ... .1.tar.bz2
Linux Gaming Videos: http://www.youtube.com/user/Xpander666?feature=mhee
-----------
Gfire - Xfire For Pidgin
User avatar
xpander
Level 3
Level 3
 
Posts: 158
Joined: Mon Sep 26, 2011 5:59 am

Re: Mate Desktop Environment - GNOME2 fork

Postby bdantas on Thu Jan 12, 2012 9:37 pm

Thanks for the menu editor, stefano. Now we're one step closer.

xpander, I also spent a few hours today trying to migrate the source code of nautilus-dropbox. I started with nautilus-dropbox_0.6.8.orig.tar.bz2 (from https://launchpad.net/ubuntu/oneiric/+s ... us-dropbox). I ran Perberos' migrate.sh script (from http://wiki.mate-desktop.org/doku.php/migrating thanks for the tip, stefano!) replacing src on the first line with the path to the folder containing the uncompressed code. It ran fine, seems to have substituted everything and saved all the files.

Then I tried to compile the migrated code. ./configure ran smoothly after I went to Synaptic and installed a few packages that were missing. When I get to make, however, this is what I get:

Code: Select all
bruno@bruno-ThinkPad-T520 ~/Desktop/caja-dropbox-0.6.8 $ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/bruno/Desktop/caja-dropbox-0.6.8/missing --run aclocal-1.11
 cd . && /bin/bash /home/bruno/Desktop/caja-dropbox-0.6.8/missing --run automake-1.11 --gnu
src/Makefile.am:7: `nautilus_extension_LTLIBRARIES' is used but `nautilus_extensiondir' is undefined
src/Makefile.am:24: variable `libnautilus_dropbox_la_SOURCES' is defined but no program or
src/Makefile.am:24: library has `libnautilus_dropbox_la' as canonical name (possible typo)
src/Makefile.am:39: variable `libnautilus_dropbox_la_LIBADD' is defined but no program or
src/Makefile.am:39: library has `libnautilus_dropbox_la' as canonical name (possible typo)
src/Makefile.am:38: variable `libnautilus_dropbox_la_LDFLAGS' is defined but no program or
src/Makefile.am:38: library has `libnautilus_dropbox_la' as canonical name (possible typo)
make: *** [Makefile.in] Error 1
bruno@bruno-ThinkPad-T520 ~/Desktop/caja-dropbox-0.6.8 $


My kung fu is not strong enough to figure out why the make is failing. My guess is that something in my system (perhaps the build-essential package) is not fully converted to MATE and is still looking for or generating nautilus crap? Haha sorry for the lack of polish--this is just a bit over my head. Would one of the super smart MATE developers help us out?
bdantas
Level 2
Level 2
 
Posts: 56
Joined: Tue Jan 03, 2012 8:42 pm

Re: Mate Desktop Environment - GNOME2 fork

Postby stovenator on Fri Jan 13, 2012 3:02 am

Okay, I took it upon myself to build caja-dropbox, verified the install, and wrote down the instructions for you do-it-yourselfers.

*EDIT* Deleted these instructions. New instructions posted below *EDIT*
Last edited by stovenator on Fri Jan 13, 2012 5:38 pm, edited 2 times in total.
stovenator
Level 1
Level 1
 
Posts: 39
Joined: Mon Dec 19, 2011 4:32 pm

Re: Mate Desktop Environment - GNOME2 fork

Postby stovenator on Fri Jan 13, 2012 3:08 am

Also stefano - you may want to take a note about my change to line 216, which changes all string matches, instead of just the first one.
stovenator
Level 1
Level 1
 
Posts: 39
Joined: Mon Dec 19, 2011 4:32 pm

Re: Mate Desktop Environment - GNOME2 fork

Postby stefano-k on Fri Jan 13, 2012 6:21 am

stovenator wrote:Also stefano - you may want to take a note about my change to line 216, which changes all string matches, instead of just the first one.


thanks for the fix... I encourage you to edit our wiki it yourself :)
User avatar
stefano-k
Level 2
Level 2
 
Posts: 65
Joined: Sat Dec 03, 2011 6:09 pm
Location: Italy

Re: Mate Desktop Environment - GNOME2 fork

Postby xpander on Fri Jan 13, 2012 6:26 am

stovenator, thanks for the help.
but still i have no success.
i do exactly step by step like u described and i get
Code: Select all
configure: exit 1
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/caja-dropbox --disable-maintainer-mode --disable-dependency-tracking returned exit code 1
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1348:
dpkg-buildpackage -rfakeroot -D -us -uc failed


if i do with make and checkinstall (actually i dont even get to checkinstall part)
then i get the error i previously posted.

also applying the migrate.sh file doesnt work well.since it doesnt replace for example libnautilus-extension with libcaja-extension
and i dont have libnautilus-extension-dev in my system which its asking when its not replaced
also the migrate script doesnt replace words which are inside the other stuff like for example $NAUTILUS_REQUIRED or similar
im using 64bit also...
havent had so much problems with compiling long long time.
and i cant figure out why.

EDIT.. ohh never mind.. its working now..my fault.
Thank you so much for your help!
Linux Gaming Videos: http://www.youtube.com/user/Xpander666?feature=mhee
-----------
Gfire - Xfire For Pidgin
User avatar
xpander
Level 3
Level 3
 
Posts: 158
Joined: Mon Sep 26, 2011 5:59 am

Re: Mate Desktop Environment - GNOME2 fork

Postby stovenator on Fri Jan 13, 2012 10:14 am

xpander wrote:stovenator, thanks for the help.
but still i have no success.
i do exactly step by step like u described and i get
Code: Select all
configure: exit 1
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/caja-dropbox --disable-maintainer-mode --disable-dependency-tracking returned exit code 1
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1348:
dpkg-buildpackage -rfakeroot -D -us -uc failed


if i do with make and checkinstall (actually i dont even get to checkinstall part)
then i get the error i previously posted.

also applying the migrate.sh file doesnt work well.since it doesnt replace for example libnautilus-extension with libcaja-extension
and i dont have libnautilus-extension-dev in my system which its asking when its not replaced
also the migrate script doesnt replace words which are inside the other stuff like for example $NAUTILUS_REQUIRED or similar
im using 64bit also...
havent had so much problems with compiling long long time.
and i cant figure out why.

EDIT.. ohh never mind.. its working now..my fault.
Thank you so much for your help!


Care to enlighten us, in case others have issues?
stovenator
Level 1
Level 1
 
Posts: 39
Joined: Mon Dec 19, 2011 4:32 pm

Re: Mate Desktop Environment - GNOME2 fork

Postby xpander on Fri Jan 13, 2012 10:21 am

the problem was that i ran unmodified migrate.sh first and then ran modified with ur tweaks after it.
after i cleaned all up and ran directly modified version of the migrate.sh it compiled and made package nicely
however the links from dropbox public folder still doesnt work. even tho the package is fine...i will try to get some log whats wrong there.
Linux Gaming Videos: http://www.youtube.com/user/Xpander666?feature=mhee
-----------
Gfire - Xfire For Pidgin
User avatar
xpander
Level 3
Level 3
 
Posts: 158
Joined: Mon Sep 26, 2011 5:59 am

Re: Mate Desktop Environment - GNOME2 fork

Postby stovenator on Fri Jan 13, 2012 2:34 pm

xpander wrote:the problem was that i ran unmodified migrate.sh first and then ran modified with ur tweaks after it.
after i cleaned all up and ran directly modified version of the migrate.sh it compiled and made package nicely
however the links from dropbox public folder still doesnt work. even tho the package is fine...i will try to get some log whats wrong there.


Ok, I know what the problem is. The extension isn't getting placed in /usr/lib/caja/extensions-2.0/ , as calling debuild pulls in the information from the original tar files, which still include the "nautilus" information in them.

I'll work on a solution.
stovenator
Level 1
Level 1
 
Posts: 39
Joined: Mon Dec 19, 2011 4:32 pm

Re: Mate Desktop Environment - GNOME2 fork

Postby stovenator on Fri Jan 13, 2012 5:40 pm

Okay, I've rebuilt the package and the extension actually gets built and works correctly. Here are the instructions (again) for you do-it-yourselfers.

I assume you already have build-essential and debuild installed, but if not you can grab those. There may be other build dependencies, that I'm unaware of.
Code: Select all
sudo apt-get install build-essential fakeroot devscripts libtool


Code: Select all
touch ~/migrate.sh
chmod 755 ~/migrate.sh

Copy and paste the migrate.sh text from from http://wiki.mate-desktop.org/doku.php/migrating to this new file.

Code: Select all
vi ~/migrate.sh
(or use another editor)
Line 17 - change to:
pkg_dir=.
Line 216 - change to (note the double slash after datacontent):
datacontent=${datacontent//${replaces[$index]}/${replaces[$index + 1]}}

Code: Select all
mkdir ~/nautilus-dropbox
cd ~/nautilus-dropbox
wget https://launchpad.net/ubuntu/oneiric/+source/nautilus-dropbox/0.6.8-1/+files/nautilus-dropbox_0.6.8.orig.tar.bz2
wget https://launchpad.net/ubuntu/oneiric/+source/nautilus-dropbox/0.6.8-1/+files/nautilus-dropbox_0.6.8-1.debian.tar.bz2
sudo apt-get install libcaja-extension-dev python-docutils
tar jxvf nautilus-dropbox_0.6.8-1.debian.tar.bz2
tar jxvf nautilus-dropbox_0.6.8.orig.tar.bz2
mv *.bz2 ../
mv debian/ nautilus-dropbox-0.6.8/
~/migrate.sh
grep -rl 2\.16\.0 * | xargs sed -i 's/2\.16\.0/1.1.2/'
cd caja-dropbox-0.6.8
autoreconf && ./configure
dpkg-buildpackage -b

(you may receive an error about debsign: gpg error occurred! Aborting.... )

Code: Select all
cd ..
sudo dpkg -i caja-dropbox_0.6.8-1_amd64.deb
(yours might be i386, not amd64)

Code: Select all
killall caja


And you're done. Just go to Applications->Internet->Dropbox and have fun.

This places the extension in the /usr/lib/caja/extensions-2.0 directory, and enables the icons to show the status of the dropbox sync as well as the Dropbox right click menu.

If you tried my previous instructions and they didn't work correctly, you probably ought to start fresh with a clean working folder.
Last edited by stovenator on Fri Jan 13, 2012 6:16 pm, edited 1 time in total.
stovenator
Level 1
Level 1
 
Posts: 39
Joined: Mon Dec 19, 2011 4:32 pm

Re: Mate Desktop Environment - GNOME2 fork

Postby xpander on Fri Jan 13, 2012 5:52 pm

Nice :D
works like a charm now.
thanks a lot.
Linux Gaming Videos: http://www.youtube.com/user/Xpander666?feature=mhee
-----------
Gfire - Xfire For Pidgin
User avatar
xpander
Level 3
Level 3
 
Posts: 158
Joined: Mon Sep 26, 2011 5:59 am

Re: Mate Desktop Environment - GNOME2 fork

Postby bdantas on Sat Jan 14, 2012 1:09 am

I followed the directions and now Dropbox is beautifully integrated with caja, including the animated icons and context menu.
First a menu editor and now dropbox integration...it's been a good week for MATE :D
A thousand thanks to stefano and stovenator.
bdantas
Level 2
Level 2
 
Posts: 56
Joined: Tue Jan 03, 2012 8:42 pm

Re: Mate Desktop Environment - GNOME2 fork

Postby bdantas on Sat Jan 14, 2012 1:12 pm

For those of you with a "I just want it now" streak, here is the .deb installer for caja-dropbox (64-bit version): http://dl.dropbox.com/u/13048586/caja-d ... _amd64.deb
(md5sum: 7b63a9544c106a3d19b65525774fe999)

BTW, I was never able to get mate-screensaver to work for me, but xscreensaver with the 3D extras (xscreensaver-gl-extra) and 2D extras (xscreensaver-data-extra) works perfectly, integrates well with mate-power-manager, and has countless stunning screensavers. Just install them...

Code: Select all
sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra


...and add "xscreensaver -no-splash" (without the quotes, of course) to your Startup Applications.

At this point, the only thing I miss from Gnome2 is the "Remote Desktop" entry in the system menu. I can live without it but it would be nice to have eventually.

I am completely sold on Linux Mint with MATE. What a winning combination. You guys rock. Thank you so much for making it possible for Gnome2 users to continue using our personal computers in a productive and comfortable way.
bdantas
Level 2
Level 2
 
Posts: 56
Joined: Tue Jan 03, 2012 8:42 pm

Re: Mate Desktop Environment - GNOME2 fork

Postby xpander on Sun Jan 15, 2012 9:00 am

oke. now im testing panflute applet with the same migrate script.
but the result is

Code: Select all
configure.ac:72: error: possibly undefined macro: AM_MATECONF_SOURCE_2
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


also tested this https://github.com/benpicco/mate-panflute with the same result.
some something is missing from mateconf i guess?...i should rename it back to what it was before?
Linux Gaming Videos: http://www.youtube.com/user/Xpander666?feature=mhee
-----------
Gfire - Xfire For Pidgin
User avatar
xpander
Level 3
Level 3
 
Posts: 158
Joined: Mon Sep 26, 2011 5:59 am

Re: Mate Desktop Environment - GNOME2 fork

Postby stovenator on Sun Jan 15, 2012 12:57 pm

xpander wrote:oke. now im testing panflute applet with the same migrate script.
but the result is

Code: Select all
configure.ac:72: error: possibly undefined macro: AM_MATECONF_SOURCE_2
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


also tested this https://github.com/benpicco/mate-panflute with the same result.
some something is missing from mateconf i guess?...i should rename it back to what it was before?


My guess is most likely you're missing libmateconf-dev , but unable to dig deeper at the moment.
stovenator
Level 1
Level 1
 
Posts: 39
Joined: Mon Dec 19, 2011 4:32 pm

Re: Mate Desktop Environment - GNOME2 fork

Postby andrew5859 on Sun Jan 15, 2012 3:02 pm

Question:

Where is the directory or file that contains the background images for MATE login screen.....stripes are nice, BUT.....I'd prefer to look at something else for a change while logging in. I know where to find stuff for gdm and how to change that, I need to do the same for MATE.....any help is greatly appreciated....cheers


Andrew
Dell Latitude D810/2.26Ghz Intel/2GB Crucial/250GB WD/nVidia Quadro FX 1400 256MB/Intel Pro Wireless 2200BG
Win7 Bus 32 bit/LMDE-Sid-MATE 32/64 Tracking Sid


Image
User avatar
andrew5859
Level 4
Level 4
 
Posts: 418
Joined: Fri Mar 26, 2010 12:58 pm
Location: Boardman, Ohio USA

Re: Mate Desktop Environment - GNOME2 fork

Postby stovenator on Sun Jan 15, 2012 3:08 pm

andrew5859 wrote:Question:

Where is the directory or file that contains the background images for MATE login screen.....stripes are nice, BUT.....I'd prefer to look at something else for a change while logging in. I know where to find stuff for gdm and how to change that, I need to do the same for MATE.....any help is greatly appreciated....cheers


Andrew


Mint uses lightdm by default. This isn't Mate dependant.

*edit* You can change the background by editing /etc/lightdm/unity-greeter.conf and changing the line "background=" to point at the image you want.
stovenator
Level 1
Level 1
 
Posts: 39
Joined: Mon Dec 19, 2011 4:32 pm

Linux Mint is funded by ads and donations.
 
PreviousNext

Return to MATE

Who is online

Users browsing this forum: No registered users and 4 guests