How to (not) break your DE in a few steps
by glebihan 30

For those of you out there who want to test the very latest developments happening in Cinnamon in order to test it and report possible issues (although there almost never are any of course), you’ve basically the choice between 2 alternatives :

 1. Building from source

First case, you’re among the brave ones, compiling the code doesn’t scare you, and you can then simply grab the code from github, compile it and install.
This is done in a very standard way :

First, make sure you have git installed.

Then, building muffin is done with the following commands :

git clone git://github.com/linuxmint/muffin.git
cd muffin
dpkg-buildpackage -b
cd ..
sudo dpkg -i *muffin*.deb

Once this is done, you can proceed to compile Cinnamon, by following the exact same steps, only using git://github.com/linuxmint/Cinnamon.git as a git repository.

Remember to always build muffin first and then Cinnamon, or you risk not being able to run Cinnamon.

You can of course also build the latest nemo, as well as all the other Linux Mint projects by using the same steps.

 2. Using the PPA

Now, for the not-so-brave-but-still-willing-to-test-latest kind, there is another method, using the nightly PPA, which as some of you will have guessed is built every night from the very latest source.

To use the PPA on Mint 14, use the following commands :

sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-nightly
sudo apt-get update
sudo apt-get -tquantal install cinnamon libmuffin0 gir1.2-muffin-3.0 nemo

Be very careful with that last command, it’s important to call apt-get that way in order to be able to install Cinnamon from the PPA on Mint.

If you’re on Mint 13, replace the last command with :

sudo apt-get -tprecise install cinnamon libmuffin0 gir1.2-muffin-3.0 nemo

 

Once you’ve installed the latest version, just restart Cinnamon and start hunting for bugs…

Of course, once you’ve added the PPA, you’re at the mercy of any stupid code I might commit that could break your DE the next morning… but isn’t that part of the fun ?

 

EDIT : The initial commands to install from the PPA had an error. They have now been corrected.

30 thoughts on “How to (not) break your DE in a few steps

  1. Reply Lizbeth May 13,2013 08:30

    Is this PPA safe to use with LMDE?

  2. Reply bimsebasse May 13,2013 10:36

    Same procedure with the stable PPA? (impatient to try out Cinnamon 1.8, not keen on remaining bleeding edge beyond that).

  3. Reply Lizbeth May 13,2013 12:00

    After install the depends for cinnamon ie, sudo apt-fast build-deps cinnamon, python-dev was not installed… fyi

  4. Reply Lizbeth May 13,2013 12:28

    sudo dpkg -i *.deb

    (Reading database … 180915 files and directories currently installed.)
    Preparing to replace cinnamon 1.6.7+lmde (using cinnamon_1.8.2_amd64.deb) …
    Unpacking replacement cinnamon …
    Selecting previously unselected package cinnamon-common.
    Unpacking cinnamon-common (from cinnamon-common_1.8.2_all.deb) …
    Selecting previously unselected package cinnamon-dbg.
    Unpacking cinnamon-dbg (from cinnamon-dbg_1.8.2_amd64.deb) …
    dpkg: dependency problems prevent configuration of cinnamon:
    cinnamon depends on gir1.2-javascriptcoregtk-3.0; however:
    Package gir1.2-javascriptcoregtk-3.0 is not installed.
    cinnamon depends on gir1.2-webkit-3.0; however:
    Package gir1.2-webkit-3.0 is not installed.
    cinnamon depends on python-pyinotify; however:
    Package python-pyinotify is not installed.

    dpkg: error processing cinnamon (–install):
    dependency problems – leaving unconfigured
    Setting up cinnamon-common (1.8.2) …
    Installing new version of config file /etc/xdg/menus/cinnamon-applications.menu …
    dpkg: dependency problems prevent configuration of cinnamon-dbg:
    cinnamon-dbg depends on cinnamon (= 1.8.2); however:
    Package cinnamon is not configured yet.

    dpkg: error processing cinnamon-dbg (–install):
    dependency problems – leaving unconfigured
    Processing triggers for libglib2.0-0:amd64 …
    Processing triggers for man-db …
    Processing triggers for gnome-menus …
    Processing triggers for desktop-file-utils …
    Errors were encountered while processing:
    cinnamon
    cinnamon-dbg

  5. Reply Lizbeth May 13,2013 12:52

    dpkg-buildpackage -b
    dpkg-buildpackage: source package cinnamon-screensaver
    dpkg-buildpackage: source version 1.8.0
    dpkg-buildpackage: source changed by Clement Lefebvre
    dpkg-buildpackage: host architecture amd64
    dpkg-source –before-build cinnamon-screensaver
    dpkg-checkbuilddeps: Unmet build dependencies: libgnomekbd-dev (>= 2.91.91) libxklavier-dev libpam0g-dev x11proto-xf86vidmode-dev libxxf86vm-dev
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)

  6. Reply Lizbeth May 13,2013 12:55

    sudo dpkg -i *.deb
    Selecting previously unselected package cinnamon-screensaver.
    dpkg: regarding cinnamon-screensaver_1.8.0_amd64.deb containing cinnamon-screensaver:
    cinnamon-screensaver conflicts with gnome-screensaver
    gnome-screensaver (version 3.4.1-1) is present and installed.

    dpkg: error processing cinnamon-screensaver_1.8.0_amd64.deb (–install):
    conflicting packages – not installing cinnamon-screensaver
    Errors were encountered while processing:
    cinnamon-screensaver_1.8.0_amd64.deb

  7. Reply Lizbeth May 13,2013 13:00

    sudo apt-fast build-dep cinnamon-control-center

    Working… this may take a while.
    E: Unable to find a source package for cinnamon-control-center

    No files to download.
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to find a source package for cinnamon-control-center

    dpkg-buildpackage -b
    dpkg-buildpackage: source package cinnamon-control-center
    dpkg-buildpackage: source version 1.8.0
    dpkg-buildpackage: source changed by Clement Lefebvre
    dpkg-buildpackage: host architecture amd64
    dpkg-source –before-build cinnamon-control-center
    dpkg-checkbuilddeps: Unmet build dependencies: gnome-settings-daemon-dev (>= 3.4.2) hardening-wrapper libcheese-gtk-dev (>= 2.91.91.1) libcolord-dev libcups2-dev libgstreamer-plugins-base0.10-dev libnm-gtk-dev (>= 0.9) libupower-glib-dev (>= 0.9.1) libwacom-dev (>= 0.6) libxkbfile-dev libclutter-gtk-1.0-dev
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)

  8. Reply Lizbeth May 13,2013 13:17

    what to do with cinnamon-spices? build??? how????

  9. Reply Lizbeth May 13,2013 13:22

    sudo dpkg -i *.debSelecting previously unselected package nemo-compare.
    (Reading database … 184016 files and directories currently installed.)
    Unpacking nemo-compare (from nemo-compare_1.8.0_all.deb) …
    Selecting previously unselected package nemo-rabbitvcs.
    Unpacking nemo-rabbitvcs (from nemo-rabbitvcs_1.8.0_all.deb) …
    Selecting previously unselected package nemo-share.
    Unpacking nemo-share (from nemo-share_1.8.0_amd64.deb) …
    dpkg: dependency problems prevent configuration of nemo-compare:
    nemo-compare depends on python-nemo (>= 1.0); however:
    Package python-nemo is not installed.
    nemo-compare depends on meld; however:
    Package meld is not installed.

    dpkg: error processing nemo-compare (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of nemo-rabbitvcs:
    nemo-rabbitvcs depends on python-nemo (>= 1.0~); however:
    Package python-nemo is not installed.
    nemo-rabbitvcs depends on rabbitvcs-core (>= 0.15); however:
    Package rabbitvcs-core is not installed.

    dpkg: error processing nemo-rabbitvcs (–install):
    dependency problems – leaving unconfigured
    Setting up nemo-share (1.8.0) …
    Processing triggers for man-db …
    Processing triggers for gnome-menus …
    Processing triggers for desktop-file-utils …
    Errors were encountered while processing:
    nemo-compare
    nemo-rabbitvcs

    no build-deps available

  10. Reply Lizbeth May 13,2013 13:27

    sudo apt-fast install python-nemo rabbitvcs-core meld

    Working… this may take a while.
    E: Package ‘python-nemo’ has no installation candidate

    No files to download.
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package python-nemo is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘python-nemo’ has no installation candidate

  11. Reply Lizbeth May 13,2013 13:33

    dpkg-buildpackage -b
    dpkg-buildpackage: source package nemo-python
    dpkg-buildpackage: source version 1.8.0
    dpkg-buildpackage: source changed by Clement Lefebvre
    dpkg-buildpackage: host architecture amd64
    dpkg-source –before-build nemo-python
    dpkg-checkbuilddeps: Unmet build dependencies: python-gi-dev
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)

    ./buildall fail

  12. Reply Lizbeth May 13,2013 13:36

    dpkg-buildpackage -b
    dpkg-buildpackage: source package nemo-dropbox
    dpkg-buildpackage: source version 1.8.0
    dpkg-buildpackage: source changed by Clement Lefebvre
    dpkg-buildpackage: host architecture amd64
    dpkg-source –before-build nemo-dropbox
    dpkg-checkbuilddeps: Unmet build dependencies: python-docutils (>= 0.6)
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)

    ./buildall failed here also

  13. Reply Lizbeth May 13,2013 13:40

    dpkg-buildpackage -b
    dpkg-buildpackage: source package nemo-pastebin
    dpkg-buildpackage: source version 1.8.0
    dpkg-buildpackage: source changed by Clement Lefebvre
    dpkg-buildpackage: host architecture amd64
    dpkg-source –before-build nemo-pastebin
    dpkg-checkbuilddeps: Unmet build dependencies: python-all (>= 2.5) python-distutils-extra
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)

    ./buildall failed again

  14. Reply Lizbeth May 13,2013 13:42

    dpkg-buildpackage -b
    dpkg-buildpackage: source package nemo-pastebin
    dpkg-buildpackage: source version 1.8.0
    dpkg-buildpackage: source changed by Clement Lefebvre
    dpkg-buildpackage: host architecture amd64
    dpkg-source –before-build nemo-pastebin
    dpkg-checkbuilddeps: Unmet build dependencies: python-distutils-extra
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)

    ./buildall failed again

  15. Reply Lizbeth May 13,2013 13:44

    $ dpkg-buildpackage -b
    dpkg-buildpackage: source package nemo-seahorse
    dpkg-buildpackage: source version 1.8.0
    dpkg-buildpackage: source changed by Clement Lefebvre
    dpkg-buildpackage: host architecture amd64
    dpkg-source –before-build nemo-seahorse
    dpkg-checkbuilddeps: Unmet build dependencies: libgpgme11-dev libcryptui-dev
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)

    ./buildall failed again

  16. Reply Lizbeth May 13,2013 13:57

    sudo dpkg -i *.deb[sudo] password for dikel:
    Selecting previously unselected package nemo-compare.
    (Reading database … 187011 files and directories currently installed.)
    Unpacking nemo-compare (from nemo-compare_1.8.0_all.deb) …
    Selecting previously unselected package nemo-dropbox.
    Unpacking nemo-dropbox (from nemo-dropbox_1.8.0_amd64.deb) …
    Selecting previously unselected package nemo-fileroller.
    Unpacking nemo-fileroller (from nemo-fileroller_1.8.0_amd64.deb) …
    Selecting previously unselected package nemo-pastebin.
    Unpacking nemo-pastebin (from nemo-pastebin_1.8.0_all.deb) …
    Selecting previously unselected package nemo-rabbitvcs.
    Unpacking nemo-rabbitvcs (from nemo-rabbitvcs_1.8.0_all.deb) …
    Preparing to replace nemo-seahorse 1.0.0+lmde (using nemo-seahorse_1.8.0_amd64.deb) …
    Unpacking replacement nemo-seahorse …
    Preparing to replace nemo-share 1.8.0 (using nemo-share_1.8.0_amd64.deb) …
    Unpacking replacement nemo-share …
    Selecting previously unselected package python-nemo.
    Unpacking python-nemo (from python-nemo_1.8.0_amd64.deb) …
    Setting up nemo-dropbox (1.8.0) …
    Dropbox command-line interface

    commands:

    Note: use dropbox help to view usage for a specific command.

    status get current status of the dropboxd
    help provide help
    puburl get public url of a file in your dropbox
    stop stop dropboxd
    running return whether dropbox is running
    start start dropboxd
    filestatus get current sync status of one or more files
    ls list directory contents with current sync status
    autostart automatically start dropbox at login
    exclude ignores/excludes a directory from syncing
    lansync enables or disables LAN sync

    Please restart all running instances of Nemo, or you will experience problems. i.e. nemo –quit
    Dropbox installation successfully completed! You can start Dropbox from your applications menu.
    Setting up nemo-fileroller (1.8.0) …
    dpkg: dependency problems prevent configuration of nemo-pastebin:
    nemo-pastebin depends on pastebinit; however:
    Package pastebinit is not installed.

    dpkg: error processing nemo-pastebin (–install):
    dependency problems – leaving unconfigured
    Setting up nemo-seahorse (1.8.0) …
    Setting up nemo-share (1.8.0) …
    Setting up python-nemo (1.8.0) …
    Setting up nemo-compare (1.8.0) …
    Setting up nemo-rabbitvcs (1.8.0) …
    Processing triggers for man-db …
    Processing triggers for gnome-menus …
    Processing triggers for desktop-file-utils …
    Processing triggers for hicolor-icon-theme …
    Processing triggers for libglib2.0-0:amd64 …
    Errors were encountered while processing:
    nemo-pastebin

  17. Reply Lizbeth May 13,2013 14:52

    All installed then… rebooting….

  18. Reply Lizbeth May 13,2013 14:53

    Yes it does quite often… Just wanted to report these somewhere…

  19. Reply Lizbeth May 13,2013 15:50

    Cinnamon 1.8, Chromium Doesn’t render properly… One window is always invisible…

  20. Reply Diablofan May 14,2013 00:56

    You are (not) referencing Eva there aren’t you?

    Also, I was wondering how to update Cinnamon before the package came out, thanks for that quick set of commands.

  21. Reply Anand May 14,2013 02:29

    Suggestion – Can we have think of a ppa that will install latest Cinnamon yet not affect the existing system profile. I believe KDE has something called Project neon, which is a sandbox for testing. You may already know this.
    “Project Neon is designed for testing development snapshots *without* interfering with the existing system. It gets installed in a different prefix and doesn’t use the ~/.kde for profile data. It’s pretty safe to use.” – KWin developer Martin once referred this to me

    http://techbase.kde.org/Getting_Started/Using_Project_Neon_to_contribute_to_KDE

  22. Reply Reese May 14,2013 16:23

    I really like how the new nemo is coming along. I love the hdd space meter!

  23. Reply carlos May 15,2013 17:59

    How to for Debian Wheezy?

  24. Reply ben May 22,2013 21:46

    How does one best go about reporting a bug?

    And/or: My computer sometimes gets totally stuck in the screensaver. I cannot get the password menu to appear, but I can still move the mouse around. It looks like this: https://www.dropbox.com/s/6pt6ptpf71ow29w/2013-05-21%2012.02.40.jpg

    (the weird remnants of what was on the screen are an old problem from before 1.8 and also happens on mate, I can live with it)

Leave a Reply