Tips and Tricks | Trucs et Astuces
Subscription date : 30 November 2007
Messages : 17118
|
Here it is, I've compiled my recent experiments with a Compiz-standalone session into a script.
you can download the package here:
http://download.tuxfamily.org/glxdock/scripts/Compiz-standalone.tgz
http://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-session/cairo-dock-session/tarball
it contains an install.sh script and all the required files. The goal is to have a fully operationnal desktop with no link to Gnome/XFCE/KDE.
Gtk apps are prefered though.
the script can install either a GDM/LDM/KDM session, or an init service (no GDM/LDM/KDM, single user, <10s boot on my old netbook ).
Thanks for testing it
Please share any improvement or feedback.
(Note: the ~/.gtkrc-2.0 file can be used to set the theme, icons theme, font, etc; I've found it to be not very reliable (gtk2 bug?), so I'm making a small tool for that) |
matttbe, Monday 08 August 2011 à 19:47
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Oh great!
Thanks for sharing
Maybe can you create a new project on Launchpad linked to Cairo-Dock and push it on a new branch hosted by 'cairo-dock-team'?
Unfortunately, this old notebook is not able to launch Compiz so I can't test it...
Oh, is it your account? Can I add it on the website (and update the About frame of Cairo-Dock?) ? => https://flattr.com/thing/230776 |
fabounet, Tuesday 09 August 2011 à 12:24
|
|
matttbe, Wednesday 10 August 2011 à 12:09
|
|
Subscription date : 24 January 2009
Messages : 12573
|
but of course it would be nice to have it on the site too That should be ok => http://glx-dock.org/ (on the left)
I can change the position, the button (I can use the compact mode), etc.
Is it just possible to modify the website link to this flattr page? It's set [ flattr.com ]. Maybe you can change it there: https://flattr.com/thing/edit/230776. And maybe can you change the title? ('Cairo-Dock on Flattr' or 'Support Cairo-Dock development', etc.) and also the icon?
EDIT: It's maybe better to get a new button => https://flattr.com/submit. Because I think it's the only solution to change [ flattr.com ] and also because 'cairo-dock' is considered as an user on your profile (but not here). |
fabounet, Wednesday 10 August 2011 à 12:46
|
|
Subscription date : 30 November 2007
Messages : 17118
|
thanks !
I think this is visible enough, or maybe we could use the small button but in the main pages ?
I've got a button for the site: https://flattr.com/thing/370779/Support-Cairo-Dock-development
if you can't see it, here are the various codes:
Large button:
Place the following in the <HEAD> tag of your page:
<script type="text/javascript">
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
</script>
Then the following anywhere in your HTML would you want the button to be appear:
<a class="FlattrButton" style="display:none;" href="http://glx-dock.org"></a>
<noscript><a href="http://flattr.com/thing/370779/Support-Cairo-Docks-development" target="_blank">
<img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></noscript>
Compact button:
Place the following in the <HEAD> tag of your page:
<script type="text/javascript">
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
</script>
Then the following anywhere in your HTML would you want the button to be appear:
<a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://glx-dock.org"></a>
<noscript><a href="http://flattr.com/thing/370779/Support-Cairo-Docks-development" target="_blank">
<img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></noscript>
Hopefully it will look better |
matttbe, Wednesday 10 August 2011 à 13:01
|
|
Subscription date : 24 January 2009
Messages : 12573
|
I've got a button for the site: https://flattr.com/thing/370779/Support-Cairo-Docks-development Updated!
or maybe we could use the small button but in the main pages ? in the main pages? In the header or in the footer? Where exactly? An new icon in the dock? |
fabounet, Wednesday 10 August 2011 à 16:21
|
|
Subscription date : 30 November 2007
Messages : 17118
|
I'm feeling like we are slipping from the original topic
let's continue here
did anyone test the Standalone session ? normally, it shouldn't break your existing desktop |
ppmt, Friday 12 August 2011 à 16:07
|
|
Subscription date : 29 November 2007
Messages : 3520
|
I am going to test that on my son's account. He keeps bugging to have the same cool bar on the side like daddy
I just need to make sure that it won't mess up the other account because my wife likes her Unity |
Subscription date : 30 November 2007
Messages : 17118
|
because my wife likes her Unity
things must be tough at home !
do you still sleep in the same room ?
I just need to make sure that it won't mess up the other account
if you choose th use GDM, then it should just add a new session without modifying the other ones. It also modifies the compiz config of the current user. |
ppmt, Friday 12 August 2011 à 16:53
|
|
Subscription date : 29 November 2007
Messages : 3520
|
perfect I will try the script then
PS: and yes we sleep in the same room..I have other arguments for that |
SQP, Saturday 13 August 2011 à 10:51
|
|
Subscription date : 03 July 2010
Messages : 1081
|
I don't want to seem too harsh, but there's almost no chance that I test something like this that do so many more things than just try to set up a simple session.
This sounds more like a "install the fabounet's settings", and my sysadmin side says that it won't be easy to maintain.
But I'm sure that the result could be nice.
PS : I hate the part that adds the PPA and force an update of the dock without user confirmation |
fabounet, Tuesday 16 August 2011 à 13:02
|
|
Subscription date : 30 November 2007
Messages : 17118
|
well, really all it does is making a compiz-standalone session, the settings should be untouched (the version 2.4 of the dock is required because I've made several upgrades for that purpose; I'll remove the PPA part as soon as the 2.4 has become the stable version)
the GTK theme is changed, because you don't use the gnome settings anymore. I'll add a small tool to be able to change that (and remove the need of gtk-chtheme) |
matttbe, Wednesday 17 August 2011 à 18:37
|
|
Subscription date : 24 January 2009
Messages : 12573
|
I will try to test it asap but it's really hard to do that right now |
fabounet, Thursday 18 August 2011 à 17:25
|
|
Subscription date : 30 November 2007
Messages : 17118
|
I'm thinking of making a PPA for that, it would be easier to test, and other people could make modifs (I could only test it on Ubuntu 10.10 and Debian6) |
Subscription date : 28 October 2009
Messages : 415
|
I'm not sure I understand what you made here But I'm interested |
lylambda, Saturday 20 August 2011 à 23:55
|
|
Subscription date : 06 September 2009
Messages : 1635
|
Debian6 is a rolling release ? I don't really want upgrade to Natty and a distrib which evolve with time, interest me… so your ppa too |
Subscription date : 28 October 2009
Messages : 415
|
Cool, can i try this on VirtualBox too? |
fabounet, Wednesday 24 August 2011 à 12:27
|
|
Subscription date : 30 November 2007
Messages : 17118
|
probably
if it handles the composite correctly. |
Subscription date : 28 October 2009
Messages : 415
|
OK what should I pay attention to? |
Tips and Tricks | Trucs et Astuces
|