Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cinnamon target #220

Closed
m0ngr31 opened this issue Jun 15, 2013 · 9 comments
Closed

Cinnamon target #220

m0ngr31 opened this issue Jun 15, 2013 · 9 comments

Comments

@m0ngr31
Copy link

m0ngr31 commented Jun 15, 2013

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

@dnschneid
Copy link
Owner

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

@mmirg
Copy link

mmirg commented Jun 16, 2013

@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
Copy link

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
Copy link
Owner

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

@sohjsolwin
Copy link

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
Copy link
Owner

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

@sohjsolwin
Copy link

sohjsolwin commented Jul 6, 2013

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
Copy link
Collaborator

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//issues/220#issuecomment-20554664
.

DennyL@GMail

@troyfolger
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants