Using gala compositing in xubuntu 12.10


Recommended Posts

I recently installed xubuntu and wanted some good compositing. I tried compiz but it seems a bit buggy with xfce, and too heavy for my needs anyway.

I recently found a great solution. Using elementary os's gala window manager. it works excellently with xfce! incredibly smooth, stable, and fast. You get very smooth effects, features like "aero snap", and light resource usage. I'm also using plank as the dock and it all integrates very well, feels like I'm using eOS luna, but with the very stable, mature xfce base and apps.

To install it on xubuntu just do the following:

Add the elementary daily ppa and install gala

sudo apt-add-repository ppa:elementary-os/daily

sudo apt-get update

sudo apt-get install gala dconf-tools

Set gala as xfce's default window manager

cp /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

leafpad ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

replace "xfwm4" with "gala"

Put min/max/close buttons on the right

open dconf-editor:

org pantheon desktop gala appearance

button-layout: :minimize,maximize,close

original source where I found the instructions: youtube.com/watch?v=12a8M5y7MNg

My current desktop, still got plenty of tweaking left to do:

Disclaimer: The elementary ppa is a daily development ppa and installing from it may not always work correctly since the packages are always in "flux".

post-159052-0-87722900-1354943255.png

  • 2 weeks later...
  • 2 months later...

I found this post and the one on reddit to be very helpful. Here are a few tweaks I have discovered when using plank and slingshot with xfce.

Preload Slingshot for faster first launch at startup - add "slingshot-launcher -s" to the list in Settings: Session and Startup: Application Autostart tab.

Launching Slingshot from the top panel - add a launcher, select "run a program" and type in slingshot-launcher as the program.

Launching Slingshot from Plank - navigate to

~/.local/share/applications/

create a new file called Slingshot.desktop

put the following in the file:


[Desktop Entry]
Version=1.0
Type=Application
Name=Slingshot
Comment=
Exec=slingshot-launcher
Icon=plank
Path=
Terminal=false
StartupNotify=false
[/CODE]

The next time you actually start Slingshot, a Plank icon will appear in the dock. You will likely have to terminate Slingshot for this to happen because Slingshot doesn't quit when you close it's window.

Changing what appears in the Slingshot menus - one way to do this is change a few entries in the standard xfce menu using Settings: Main Menu. After doing that, navigate to:

~/.config/menus/

Open up applications.menu in a text editor and you will see a record of the changes you made. Make a file called "pantheon-applications.menu" in the same directory. Use the applications.menu file as a starting point and template for pantheon-applications.menu

Just to be complete, Plank themes can be added in the following location:

~/.local/share/plank/themes/

choose one by changing the theme name in the following file

~/.config/plank/dock1/settings

You can also specify themes that are installed by the system. They are located in

/usr/share/plank/themes/

And the original Plank dock item, which doesn't seem to do anything, can be removed here:

~/.config/plank/dock1/launcher/

I hope I haven't wandered too far off topic. Thanks for your original post, and if that was you on reddit, thanks for that one as well.

Thanks for the guide! I just compiled the Gala packages from the Ubuntu PPA for Debian Wheezy and tried it with MATE 1.4.2 (stable) and MATE 1.5.6 (dev). It is a good replacement for the default window manager in both, but the development version of MATE definitely handles it better (probably due to its GTK3 integration). Gala seems to be fast and capable, I just wish it had a few more features. Its a young project. Hopefully it gets there.

Gala, Plank, Slingshot - I like a lot of what the elementary project is doing, but, as you say, they are just getting started and some things need more polish. Their music player is interesting as well and I even use Open Sans font from their repository as my system font.

I haven't learned how to compile yet, but the idea of being able to use things from elementaryOS in a Debian based distribution that doesn't use Ubuntu is appealing.

I haven't learned how to compile yet, but the idea of being able to use things from elementaryOS in a Debian based distribution that doesn't use Ubuntu is appealing.

Sometimes packages built for Ubuntu will just work in Debian, particularly when the base version is fairly similar. (Ubuntu 12.04 shares much of its core with Debian Wheezy, and Ubuntu 10.04 shares much of its core with Debian Squeeze.) Ubuntu is diverging further from Debian as time goes on, so it is generally best (and cleanest) to download the source code and port Ubuntu packages to Debian rather than installing the Ubuntu binary directly. In most cases the procedure is fairly trivial, but I don't recommend it if you're not a developer or have no interest in understanding Debian development and packaging.

My procedure for porting Gala to Debian was as follows:

  1. I downloaded and extracted the gala source from the Elementary PPA.
  2. I tried to compile it, noting the packages required to build it that I didn't have installed.
  3. I installed as many of the build dependencies as possible from the Debian Wheezy repository.
  4. I downloaded the source for the two dependencies that are not in the Wheezy repo (granite and plank) from the Elementary PPA.
  5. I repeated steps 2 and 3 for both of those dependencies. Granite built but plank require valac-0.18 and Wheezy only has up to valac-0.16.
  6. Fortunately Ubuntu 12.04 also lacks valac-0.18; so I downloaded it from the Elementary PPA and repeated steps 2 and 3.
  7. I installed the new valac.
  8. I compiled plank.
  9. I installed granite and plank.
  10. I tried compiling gala again, but it failed with a linker error.
  11. After googling the linker error (which I had never seen before) I discovered that one of the build dependencies for the Elementary gala package is wrong. I needed a version of mutter newer than 3.4.1.
  12. Fortunately Ubuntu 12.04 also has this problem, so I downloaded the source of the patched version from the Elementary PPA.
  13. I repeated steps 2 and 3 to build mutter. It built with no problems.
  14. I installed my patched version of mutter.
  15. I tried compiling gala again. This time the build succeeded.
  16. I installed gala.

If I wanted to distribute Gala for Debian Wheezy there would be additional steps required to properly port it, but the procedure I described works well for a personal build.

You can browse the Elementary PPA directly here. Find the dsc for the package you want to port, and port it somewhat like the following example.


sudo apt-get install build-essential devscripts

mkdir granite
pushd granite

dget http://ppa.launchpad.net/elementary-os/daily/ubuntu/pool/main/g/granite/granite_0.2.0~r534+535-0+pkg47~precise1.dsc
dpkg-source -x granite_0.2.0~r534+535-0+pkg47~precise1.dsc

pushd granite_0.2.0~r534+535
debchange -R
> granite (0.2.0~r534+535-0+pkg47~youridentifier0) testing; urgency=low
>
> * Rebuilt for Debian Wheezy.
>
> -- Your Name <[email protected]> Wed, 13 Mar 2013 22:09:55 -0400
popd
dpkg-source -b granite_0.2.0~r534+535

pushd granite_0.2.0~r534+535
dpkg-buildpackage -us -uc
popd
rm -rf granite_0.2.0~r534+535

sudo dpkg -i $(ls -1 | grep '.deb' | grep -Ev '\-dbg_|-demo_')
sudo install -f

popd
[/CODE]

There is a lot more complexity than what I have detailed. If you are really interested in more information I recommend that you read the Debian Developer's Reference manual. Porting [i]can[/i] become an intensive activity if there are numerous packages to port, many differences between the systems, or the existing packages are poor quality. I offer no further assistance in this regard.

Thank you for your insights into porting. Yesterday for the first time I successfully compiled an app and used it. I'm not sure how far I will go with this. It is definitely, as you say, an intensive activity! I'm glad I got my feet wet yesterday, and reading your post gives me a better understanding of what is involved.

I recently installed xubuntu and wanted some good compositing. I tried compiz but it seems a bit buggy with xfce, and too heavy for my needs anyway.

I recently found a great solution. Using elementary os's gala window manager. it works excellently with xfce! incredibly smooth, stable, and fast. You get very smooth effects, features like "aero snap", and light resource usage. I'm also using plank as the dock and it all integrates very well, feels like I'm using eOS luna, but with the very stable, mature xfce base and apps.

To install it on xubuntu just do the following:

Add the elementary daily ppa and install gala

sudo apt-add-repository ppa:elementary-os/daily

sudo apt-get update

sudo apt-get install gala dconf-tools

Set gala as xfce's default window manager

cp /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

leafpad ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

replace "xfwm4" with "gala"

Put min/max/close buttons on the right

open dconf-editor:

org pantheon desktop gala appearance

button-layout: :minimize,maximize,close

original source where I found the instructions: youtube.com/watch?v=12a8M5y7MNg

My current desktop, still got plenty of tweaking left to do:

post-159052-0-87722900-1354943255.png

I

was going to try this. but then... linux....

step 4 adding the actual ala dconf tools...

gala: Depends on libplank0 but it's not going to be installed

sigh

was trying to do this on an Arch Linux VM to test it out but a couple of the dependencies for gala are being stupid and not wanting to install. maybe i'll try the manual method instead of using yaourt :/

I

was going to try this. but then... linux....

step 4 adding the actual ala dconf tools...

gala: Depends on libplank0 but it's not going to be installed

sigh

No need to blame "linux" in general :) Must be an issue with the ppa, its a daily development ppa so it doesn't always "work" because new packages are being uploaded all the time, I'd guess it will work eventually when things finish uploading to the PPA. I had a similar issue trying to install gala on xubuntu 13.04 (gala wanted a different version of cogl that wasn't in the ppa yet, but after a few days it sorted itself out and let me install it). I've added a disclaimer to the OP about the ppa :)

was trying to do this on an Arch Linux VM to test it out but a couple of the dependencies for gala are being stupid and not wanting to install. maybe i'll try the manual method instead of using yaourt :/

I had the same problem when I was trying to install it from the aur, a lot of the packages didn't like the version of automake in the arch repos so some of its dependencies wouldn't compile. If you install "automake 1.12" from the aur and try again I think it will work.

...

step 4 adding the actual ala dconf tools...

gala: Depends on libplank0 but it's not going to be installed

...

Synaptic Package Manager is a good way to check your work. Install that, click on the origin button on the left, then click on the elementary-os-daily repository above that. You should be able to search for gala and for libplank0 in the listing on the right. I see both of them on my machine.

sudo apt-get install synaptic[/CODE]

should get you synaptic package manager

I decided to give this a try. But, my results look nothing like what is in the OP. Maybe it's my theme? It looks like a normal xfce desktop.

Here's my xfce session:


<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-session" version="1.0">
<property name="general" type="empty">
<property name="FailsafeSessionName" type="string" value="Failsafe"/>
</property>
<property name="sessions" type="empty">
<property name="Failsafe" type="empty">
<property name="IsFailsafe" type="bool" value="true"/>
<property name="Count" type="int" value="5"/>
<property name="Client0_Command" type="array">
<value type="string" value="gala"/>
</property>
<property name="Client0_PerScreen" type="bool" value="false"/>
<property name="Client1_Command" type="array">
<value type="string" value="xfce4-panel"/>
</property>
<property name="Client1_PerScreen" type="bool" value="false"/>
<property name="Client2_Command" type="array">
<value type="string" value="Thunar"/>
<value type="string" value="--daemon"/>
</property>
<property name="Client2_PerScreen" type="bool" value="false"/>
<property name="Client3_Command" type="array">
<value type="string" value="xfdesktop"/>
</property>
<property name="Client3_PerScreen" type="bool" value="false"/>
<property name="Client4_Command" type="array">
<value type="string" value="xfce4-settings-helper"/>
</property>
<property name="Client4_PerScreen" type="bool" value="false"/>
</property>
</property>
<property name="splash" type="empty">
<property name="Engine" type="string" value=""/>
</property>
</channel>
[/CODE]

See below:

post-248407-0-74037200-1363711295.jpg

I decided to give this a try. But, my results look nothing like what is in the OP. Maybe it's my theme? It looks like a normal xfce desktop.

Here's my xfce session:


<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-session" version="1.0">
<property name="general" type="empty">
<property name="FailsafeSessionName" type="string" value="Failsafe"/>
</property>
<property name="sessions" type="empty">
<property name="Failsafe" type="empty">
<property name="IsFailsafe" type="bool" value="true"/>
<property name="Count" type="int" value="5"/>
<property name="Client0_Command" type="array">
<value type="string" value="gala"/>
</property>
<property name="Client0_PerScreen" type="bool" value="false"/>
<property name="Client1_Command" type="array">
<value type="string" value="xfce4-panel"/>
</property>
<property name="Client1_PerScreen" type="bool" value="false"/>
<property name="Client2_Command" type="array">
<value type="string" value="Thunar"/>
<value type="string" value="--daemon"/>
</property>
<property name="Client2_PerScreen" type="bool" value="false"/>
<property name="Client3_Command" type="array">
<value type="string" value="xfdesktop"/>
</property>
<property name="Client3_PerScreen" type="bool" value="false"/>
<property name="Client4_Command" type="array">
<value type="string" value="xfce4-settings-helper"/>
</property>
<property name="Client4_PerScreen" type="bool" value="false"/>
</property>
</property>
<property name="splash" type="empty">
<property name="Engine" type="string" value=""/>
</property>
</channel>
[/CODE]

See below:

I noticed that if you put it in the session before manually running "gala --replace" once, it won't work. try hitting alt + f2, typing "gala --replace", then double checking the session file to make sure its still set to use gala, and then re-log and it should load gala as expected.

I noticed that if you put it in the session before manually running "gala --replace" once, it won't work. try hitting alt + f2, typing "gala --replace", then double checking the session file to make sure its still set to use gala, and then re-log and it should load gala as expected.

I'm not following you on this. So load terminal and type in: gala --replace. Is that right?

terminal works too, you just need to put that command either in the terminal or use xfce's alt + f2 run prompt.

Ok I did that. Then logged out and it's still the same. So I restarted and still the same thing. Maybe it's the theme I am using or the fact that I installed xfce4 on Mint 13, then installed gala?

Ok I did that. Then logged out and it's still the same. So I restarted and still the same thing. Maybe it's the theme I am using or the fact that I installed xfce4 on Mint 13, then installed gala?

It shouldn't have any effect on the theme aside from the window decorations. Are you getting the window shadows and animations?

It shouldn't have any effect on the theme aside from the window decorations. Are you getting the window shadows and animations?

I'm not getting anything in regards to gala. I guess I could start from a clean slate and just install Xubuntu.

  • 2 months later...

Hi,

I successful installed Gala on Xubuntu 13.04, but I have a question about workspace management:

in Elementary OS the workspace are shown and managed at bottom with the possibility of move windows from a workspace to another; how can I obtain it in xubuntu too?

I tried setting this operation is command in an active corner but nothing happened.

Thanks!

Hi,

I successful installed Gala on Xubuntu 13.04, but I have a question about workspace management:

in Elementary OS the workspace are shown and managed at bottom with the possibility of move windows from a workspace to another; how can I obtain it in xubuntu too?

I tried setting this operation is command in an active corner but nothing happened.

Thanks!

I'm not sure, i was never able to get that to work outside of pantheon.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Amazon may use OpenAI and Nova models after Anthropic reportedly raises costs by Karthik Mudaliar Amazon is reportedly considering to use OpenAI models and even its own Nova family of AI models after Anthropic raised the cost of using Claude inside Amazon services. According to a report from The Information, Amazon is weighing its options to reduce costs under a new arrangement with Anthropic. But back in April, Amazon said it would invest $5 billion more in Anthropic, with the possibility of adding up to another $20 billion if certain commercial milestones are met. That investment actually came on top of another $8 billion Amazon had already put into the Claude maker. Anthropic, meanwhile, committed to spend more than $100 billion over 10 years on AWS technologies, including Amazon’s Trainium chips. Amazon isn't just a customer of Anthropic but also one of the most important backers and cloud partners. This is why it makes it interesting that Amazon is considering other alternatives to handle its internal workloads. Although Amazon has been building its own options for a while now. Its Nova family of AI models was announced in late 2024 for Amazon Bedrock, with models aimed at text, image, and video tasks. Amazon pitched the model around cost and latency at that time. With that said, OpenAI has also become a more realistic option recently for AWS customers as well as for Amazon itself. Earlier this year, OpenAI brought its latest models and Codex coding agent to Amazon Bedrock, after changes to its previously more restrictive Microsoft cloud arrangement. This allowed AWS to serve even those customers who wanted other alternatives from Claude, without having to move workloads out of Amazon's cloud. Evaluating alternatives could also be due to commercial pressure and not necessarily a sign of a damaged partnership between Amazon and Anthropic. Whether or not Amazon is actually considering switching entirely to OpenAI's models or its own Nova models remains unknown at this moment.
    • Samsung introduces new AI classroom tools and interactive displays at ISTELive 2026 by Fiza Ali Samsung has announced several new education-focused software features and interactive displays for schools during ISTELive 2026, taking place in Orlando, Florida, from 28 June to 1 July. The focus of these updates is on making shared classroom displays easier to use for teachers while giving IT administrators more control over managing devices. One of the key additions is the Samsung Account Management Solution (AMS). In many schools, multiple teachers share the same interactive display throughout the day, which means signing in and setting everything up can become repetitive. With AMS, teachers can log in by scanning a QR code or tapping an NFC-enabled ID card. Once signed in, their personalised workspace, including wallpapers, bookmarks, app shortcuts, and files, can be instantly accessed through Home Personalisation. Samsung has also included a screen lock feature, allowing teachers to lock the display if they need to step away briefly. Furthermore, the company is also updating its Education Portal with new tools designed for school IT administrators. The portal will allow IT administrators to register teachers, enrol devices, and manage user access from a central dashboard. Administrators can also link NFC cards to teacher accounts, making sign-ins quicker across shared displays. Another addition is a Tags feature that lets schools organise displays by building or classroom. Those tags can also be used to send emergency notifications to selected Samsung Interactive Displays through compatible platforms such as InformaCast and Raptor. Moreover, the tech giant's AI Assistant is gaining several new features aimed at supporting everyday classroom tasks such as lesson planning and classroom engagement. One of the features is Circle to Search, which lets teachers circle text or images on the display to quickly find related information, videos, or web results without interrupting the lesson. The content can then be brought into Samsung Whiteboard. Another feature, Live Transcript, converts spoken lessons into real-time captions, which could be useful for students with hearing impairments or those in multilingual classrooms. The AI Assistant also introduces AI Summary and AI Quiz. The summary tool creates summaries of recorded lessons, while AI Quiz generates questions based on lesson content so teachers can quickly check how well students are following along. Teachers signed in through Samsung AMS can also return to their previous AI-generated lesson materials without logging in again. Alongside the software updates, Samsung has expanded its Android-based Interactive Display range with three new models: the WAF-S, WAFX-PS, and WAHX-M. The WAF-S and WAFX-PS ship with Android 16, bringing updates to security, accessibility, and overall usability while maintaining compatibility with Google's education services including Google Classroom and Google Drive through EDLA certification. Meanwhile, the new WAHX-M is the biggest addition to the lineup, introducing a 98-inch display for larger spaces such as lecture halls and conference rooms. It will also be available in 65-inch, 75-inch and 86-inch sizes. Samsung says the WAHX-M further includes on-device AI features such as voice commands, text-to-speech, and an AI calculator, alongside support for Samsung AMS and AI Assistant. Samsung AI Assistant has been available since April, while Samsung AMS and the updated Education Portal will begin rolling out in July.
    • It's been $24 (single) or $89 (4-pack) for many days on both Amazon and Walmart as far as I know. That isn't a big discount. If these end up like the 1st gen, the 4-pack will routinely get down around $80, give or take a dollar. I think they have even hit $69 at times.
    • Microsoft brings Claude to its own Azure infrastructure, powered by Nvidia GB300 Blackwell by Karthik Mudaliar Anthropic's Claude models are now generally available in Microsoft Foundry on Azure and are running on Nvidia's GB300 Blackwell Ultra systems. Nvidia wrote in its announcement that the models are hosted on Microsoft Azure and accelerated by GB300 Blackwell Ultra GPUs, with Quantum-X800 InfiniBand networking used to support larger agentic systems and specialized sub-agents that can operate across business domains. This is great for customers and enterprises that want to build autonomous and domain-specific AI agents using Claude without moving outside Microsoft’s cloud platform. Microsoft currently offers Claude models in Foundry in two forms: “Hosted on Azure,” which runs end-to-end on Azure infrastructure and is generally available, and “Hosted on Anthropic infrastructure,” which remains in preview. This separation is quite important for organizations that have procurement, compliance, data processing, or internal governance requirements tied to Azure. Anthropic currently has 11 Claude models listed in Microsoft Foundry, including Opus 4.8, Sonnet 4.6, and even the unavailable Mythos and Fable models. Billing is handled through Claude Consumption Units (CCUs). Microsoft says CCU is an invoicing unit for Claude models in Foundry, with token usage converted using Anthropic’s published per-model token rates. The usage is billed through Azure Marketplace just like models from other distributors and appears on the customer's Azure invoice, while eligible spend can count against a Microsoft Azure Consumption Commitment. For starters, GB300 NVL72 is a rack-scale, fully liquid-cooled system that combines 72 Blackwell Ultra GPUs and 36 Grace CPUs. Nvidia has listed 37TB of fast memory, 130TB/s of NVLink bandwidth, and FP4 Tensor Core performance of up to 1,440 petaflops with sparsity. The deal is also part of a three-way partnership between Microsoft, Nvidia, and Anthropic. Under the deal, Anthropic has committed to buying $30 billion in Azure compute capacity and contracting additional capacity up to one gigawatt. Nvidia and Microsoft also said they would invest up to $10 billion and $5 billion in Anthropic, respectively.
    • WhatsApp is getting usernames, and you can reserve your preferred one now by Fiza Ali Sharing your phone number isn't always something you want to do, especially with people you've just met. Whether it's someone from a class, a local community group, or a sports team chat, handing over your number can feel like giving away more personal information than necessary. That's exactly the problem WhatsApp is trying to solve with its upcoming usernames feature. The company has announced that users can now reserve a unique WhatsApp username ahead of the feature's wider rollout later this year. Once usernames become available, they'll let people connect without revealing their phone numbers. It's a change that makes a lot of sense for group chats. Right now, everyone in the group can see your phone number. With usernames enabled, that won't necessarily be the case when someone contacts you for the first time. WhatsApp says it's opening username reservations early because more than three billion people use the app, meaning plenty of people are likely to want the same usernames. Reserving one now gives users a better chance of securing the name they actually want before the feature launches more broadly. If your preferred username is already taken, WhatsApp will also offer a built-in username generator to suggest available alternatives. The feature isn't only aimed at individual users. Creators, businesses, and organisations will be able to claim the same username they already use on Instagram or Facebook, making it easier to keep a consistent identity across Meta's apps. Furthermore, privacy is a big part of how WhatsApp is introducing usernames. There won't be a public directory where people can browse or search for usernames. Instead, people will need to know your exact username before they can start a conversation with you. Additionally, users can also choose to enable a username key, which adds another layer of control by requiring people to enter that key before sending a message. Once the feature rolls out, people who choose to use a username will no longer have their phone number shown when messaging a person or business for the first time. If you want to reserve a username, make sure you're running the latest version of WhatsApp, then head to Settings > Account > Username. The tech giant says usernames will roll out gradually over the coming months, and users will receive an in-app notification when the feature becomes available in their country.
  • Recent Achievements

    • Reacting Well
      NovaEdgeX earned a badge
      Reacting Well
    • Week One Done
      NovaEdgeX earned a badge
      Week One Done
    • One Year In
      BA the Curmudgeon earned a badge
      One Year In
    • Conversation Starter
      rosiecharles earned a badge
      Conversation Starter
    • First Post
      KMilenkoski1202 earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      536
    2. 2
      +Edouard
      269
    3. 3
      PsYcHoKiLLa
      150
    4. 4
      Steven P.
      98
    5. 5
      macoman
      65
  • Tell a friend

    Love Neowin? Tell a friend!