dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.56k stars 1.24k forks source link

Cinnamon target #220

Closed m0ngr31 closed 11 years ago

m0ngr31 commented 11 years ago

Is there an easy way to add Cinnamon as a target?

dnschneid commented 11 years ago

Sure; you could probably base it on the xfce target.

mmirg commented 11 years ago

@dnschneid I think it might be a bit more finicky than that. I'm not up to date on the most recent Cinnamon release, but the last I checked it still pulled in bits and pieces of Gnome 3 (and is generally a kind of franken-fork of gnome 3) so I wouldn't be surprised if some of the problems in issue #6 may apply to Cinnamon as well.

sohjsolwin commented 11 years ago

I'm running cinnamon on my Chroot'd Pixel. Aside from some minor scaling issues (some icons inside apps don't scale quite right, though text and most windows scale fine) it works great. I started based on the CLI target and installed cinnamon using the PPA for Ubuntu specified here [http://cinnamon.linuxmint.com/?page_id=61]. I believe the command I ran was something like "sudo apt-get install cinnamon". It installed a bunch of packages and once that was done I had to work around with some startup scripts to get it to launch correctly.

I created a "startcinnamon" script in the same directory as the others and based it off one of the existing scripts. The contents of my script is below. Attempting to start cinnamon using the supplied scripts for starting the UIs resulted in me not being able to log out of my chroot and having to force kill it every time.

https://gist.github.com/sohjsolwin/5934362

dnschneid commented 11 years ago

startx worked for you? This is madness! See #197 and #6

sohjsolwin commented 11 years ago

What can I say, I have a special way of breaking things. lol. Are there any files or anything I can upload that would be beneficial in figuring out what I did different?

Also, I'll create another Chroot and attempt to duplicate the steps I did to get cinnamon running and document them incase that helps too.

dnschneid commented 11 years ago

Yeah, documenting the steps from a fresh chroot would be ideal.

sohjsolwin commented 11 years ago

step by step is available here. I just finished performing them/writing them up a second ago, so these cinnamon croutons are still fresh and delicious. I hope this helps.

DennisLfromGA commented 11 years ago

Thanx for the documentation, very helpful.

I had a quantal chroot I created with the 'crouton-desktops' branch that already had Ubuntu, Kubuntu, Xubuntu and I successfully added Cinnamon to it. I'm able to start it with 'startdm' and can select Cinnamon & Cinnamon (Software Rendering) from the login screen - very cool!

On Sat, Jul 6, 2013 at 9:51 AM, sohjsolwin notifications@github.com wrote:

step by step is available here [https://gist.github.com/sohjsolwin/5939948]. I just finished performing them/writing them up a second ago, so these cinnamon croutons are still fresh and delicious. I hope this helps.

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/220#issuecomment-20554664 .

DennyL@GMail

troyfolger commented 11 years ago

Thanks sohjsolwin for the work on this.

For me, on my Pixel, the 'startx' approach didn't work, so I created a startcinnamon script modeled on the startunity script, and I modified the cros startcinnamon script to start the chroot cinnamon via gnome-session (like unity). For example:

chroot /usr/local/bin/startcinnamon:

#!/bin/sh -e

# Launches Cinnamon

export DESKTOP_SESSION=cinnamon
exec xinit /etc/X11/xinit/xinitrc "gnome-session --session=$DESKTOP_SESSION"

cros /usr/local/bin/startcinnamon:

APPLICATION="${0##*/}"

USAGE="$APPLICATION [options]

Wraps enter-chroot to start a Mint session.
By default, it will log into the primary user on the first chroot found.

Options are directly passed to enter-chroot; run enter-chroot to list them."

exec sh -e "`dirname "$0"`/enter-chroot" "$@" exec startcinnamon

No innovation here, just blindly using the templates from the unity target and the work of sohjsolwin until I got it working.

I've got the expected high-DPI problems, so that will have to be the next task.