Tips and Tricks | Trucs et Astuces
fabounet, Tuesday 13 September 2011 à 14:11
|
|
Subscription date : 30 November 2007
Messages : 17118
|
currently thie launchpad project lets install a (Compiz+cairo-dock) standalone session, standalone = independant from any desktop environment.
users can easily tweak the startup script.
that was my initial goal, however it can be a good idea to make some xxx-session as well (because with a session, we can choose not to start some useless service like the gnome-panel, Unity, etc)
I'm not sure, but it should be possible to put everything into a single project (I feel like it would be better).
testers are greatly welcome the installation is done with the script "install.sh" and needs sudo at the moment. |
nilux17, Friday 04 November 2011 à 08:49
|
|
Subscription date : 02 November 2011
Messages : 7
|
hi,
i've tryed your script,
i had to add my account to sudo groups (maybe it's a good idea to test it before continue...)
i had the first time an error with dbus session (even if the Dbus is active in ccsm) but it's ok with a second run
i've changed the line 44
env DISPLAY=":0.1" cairo-dock -e $ENVIRONMENT -w 1 &
it's ok for me.
thanks |
fabounet, Friday 04 November 2011 à 16:56
|
|
Subscription date : 30 November 2007
Messages : 17118
|
thanks for your feedback !
i had to add my account to sudo groups
what is your distribution ? I thought it would be always the case.
env DISPLAY=":0.1" cairo-dock -e $ENVIRONMENT -w 1 &
Do you have 2 separated screens ? (not an extended desktop) |
nilux17, Saturday 05 November 2011 à 09:47
|
|
Subscription date : 02 November 2011
Messages : 7
|
what is your distribution ? I thought it would be always the case.
i'm running debian/sid
env DISPLAY=":0.1" cairo-dock -e $ENVIRONMENT -w 1 &
Do you have 2 separated screens ? (not an extended desktop)
yes,
i use a "dualhead" configuration with fglrx on radeaon hd 4XXX series
and because of several bugs between fglrx and remmina and rdesktop... i've to run remmina on :0.0 but this is not my main screen.
i wonder if is it possible to have the dock on :0.1 and only the (gnome)systray applet on :0.0
yesterday, i ran two instances of cairo-dock on each display but as it's the same conf, it's a clone... maybe i've to open a new thread. |
SQP, Saturday 05 November 2011 à 10:22
|
|
Subscription date : 03 July 2010
Messages : 1081
|
I don't know if you can achieve your goal with only one dock, but you can open the second dock with an alternate configuration directory :
cairo-dock -d ~/cairo_new_config
will create the directory and allow you to have a second dock completely different |
nilux17, Monday 07 November 2011 à 10:38
|
|
Subscription date : 02 November 2011
Messages : 7
|
works great.
thanks |
matttbe, Monday 28 November 2011 à 17:17
|
|
fabounet, Tuesday 29 November 2011 à 13:42
|
|
Subscription date : 30 November 2007
Messages : 17118
|
maybe we should make a package out of https://launchpad.net/cairo-dock-session ?
the script is quite easy to use, but it's still a script to launch.
oh, and write articles about it |
matttbe, Tuesday 29 November 2011 à 14:31
|
|
Subscription date : 24 January 2009
Messages : 12573
|
A package to install the script? |
SQP, Tuesday 29 November 2011 à 18:01
|
|
Subscription date : 03 July 2010
Messages : 1081
|
it's an old topic where I tried to motivate people to come see this thread |
fabounet, Wednesday 30 November 2011 à 12:36
|
|
Subscription date : 30 November 2007
Messages : 17118
|
a package that would install a compiz-standalone session.
I know we already have a cairo-dock session (and that's really a killer feature by the way ), but a compiz-standalone session is ligther (and also more oriented towards netbooks or power users) |
Subscription date : 28 October 2009
Messages : 415
|
I am going to give it a try again on Ocelot on VirtualBox.
But so I understand: what does a Compiz Stand Alone consist in really?
Does it mean it is a Gnome-less DE? |
Subscription date : 28 October 2009
Messages : 415
|
Installed successfully. The default dock's a bit overwhelming though.
OpenGL worked pretty poorly on the VirtualBox.
So what did you change exactly besides removing the Gnome-Panel? |
fabounet, Tuesday 20 December 2011 à 14:00
|
|
Subscription date : 28 October 2009
Messages : 415
|
fabounet : thanks for testing
Does it mean it is a Gnome-less DE?
yep, there is nothing from Gnome that is launched (not only the panel, but also the services)
everything that is launched in your session is in the compiz-standalone.sh script, and you can see it's very light :)
Maybe it's lesson time then: what services does Gnome in fact include?
How are notifications rendered?
Isn't icon rendering also the job of Gnome? Or does X provide that service? |
matttbe, Tuesday 20 December 2011 à 21:27
|
|
Subscription date : 24 January 2009
Messages : 12573
|
At the beginning, Gnome is a desktop environment so it's mainly a pack of projects (just like XFCE, KDE, LXDE, etc.). But Gnome project is bigger than the DE because a lot of tools/libs/etc. are linked to the Gnome project (e.g. cairo (to easily draw something), gstreamer (multimedia), GTK (to draw window), GLib (to improve LibC), upower, policykit (to easily interact with the kernel), seahorse (keyring), etc.) => http://developer.gnome.org/
X11 interact with the hardware with the help of the kernel (to control the screen, the keyboard, the mouse, etc.)
About Compiz standalone, it doesn't use any DE (like Gnome => without the gnome-session, no gnome-panel, no GDM, etc.), it's just a session controlled by the dock with Compiz as WM (window manager). |
Subscription date : 28 October 2009
Messages : 415
|
but but but but
What i mean is: the Gnome DE is omitted in the Compiz Session but Gtk, Glib and gstreamer etc. are still functional right? |
matttbe, Tuesday 20 December 2011 à 22:58
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Yep |
fabounet, Wednesday 21 December 2011 à 13:47
|
|
Subscription date : 30 November 2007
Messages : 17118
|
they are still present on your PC if you installed them before, just not launched
you can add any service on startup in the script, some services are launched when needed (ex: upower for the battery, zeitgeist for recent events, etc) |
nilux17, Thursday 05 January 2012 à 15:17
|
|
Subscription date : 02 November 2011
Messages : 7
|
i've add
#Policy kit
/usr/lib/policykit-1/polkitd --no-debug &
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
nm-applet &
in my own script, because network-manager cannot manage (add a new) wifi network
( because off org.freedesktop.networkmanager.settings.modify.system )
hope it help |
Tips and Tricks | Trucs et Astuces
|