GithubHelp home page GithubHelp logo

yforster / gala Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 312 KB

This is a fork of gala (https://launchpad.net/gala) with some personal fixes.

License: GNU General Public License v3.0

Shell 0.31% CSS 0.26% Vala 99.43%

gala's Introduction

What' this?#

That's my personal build of the window manager gala.

How to compile this?#

Make sure that you removed gala from your system. Running gala during the installation is ok and works fine.

To install this build do:

./autogen.sh --prefix='/usr' --disable-schemas-compile
make
sudo make install
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

What is changed?#

Keybinding for show-workspace-view

You can bind show-workspace-view to a key now. The relevant fixes are:

=== modified file 'src/WindowManager.vala'
--- src/WindowManager.vala	2014-08-04 02:10:16 +0000
+++ src/WindowManager.vala	2014-08-11 13:40:12 +0000
@@ -127,6 +127,10 @@
 
 			/*keybindings*/
 
+			screen.get_display ().add_keybinding ("show-workspace-view", KeybindingSettings.get_default ().schema, 0, () => {
+					perform_action(ActionType.SHOW_WORKSPACE_VIEW);
+			});
+
 			screen.get_display ().add_keybinding ("switch-to-workspace-first", KeybindingSettings.get_default ().schema, 0, () => {
 				screen.get_workspace_by_index (0).activate (screen.get_display ().get_current_time ());
 			});

And:

=== modified file 'data/org.pantheon.desktop.gala.gschema.xml.in.in'
--- data/org.pantheon.desktop.gala.gschema.xml.in.in	2014-04-19 12:57:09 +0000
+++ data/org.pantheon.desktop.gala.gschema.xml.in.in	2014-08-10 16:47:07 +0000
@@ -84,6 +84,11 @@
 	</schema>
 	
 	<schema path="/org/pantheon/desktop/gala/keybindings/" id="org.pantheon.desktop.gala.keybindings" gettext-domain="@GETTEXT_PACKAGE@">
+        <key type="as" name="show-workspace-view">
+			<default><![CDATA[['<Super>s']]]></default>
+			<summary></summary>
+			<description></description>
+		</key>
 		<key type="as" name="switch-to-workspace-first">
 			<default><![CDATA[['<Super>Home']]]></default>
 			<summary>Shortcut to move to first workspace</summary>

Can I change the combination?###

Sure. Simply change it in the file above before you build gala or after build in /usr/share/glib-2.0/schemas/org.pantheon.desktop.gala.gschema.xml and compile schemas again as described in the installation section.

Multi-monitor hot-corner fix

I merged this fix by Rory J Sanderson, which is not merged to gala/trunk yet. On multi-monitor settings where the resulting screen is still rectangular, the hot-corners are where you expect them to be.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.