Showing posts with label Views. Show all posts
Showing posts with label Views. Show all posts

Wednesday, April 18, 2012

Swop Windows View and Applications View in Gnome Shell

If you want to avoid the annoying lag between Windows View and Applications View in Gnome Shell, try this hack:

Open viewSelector.js
gksudo gedit /usr/share/gnome-shell/js/ui/viewSelector.js

At line 407:
 addViewTab: function(id, title, pageActor, a11yIcon) {
let viewTab = new ViewTab(id, title, pageActor, a11yIcon);
this._tabs.push(viewTab);
this._tabBox.add(viewTab.title);
this._addTab(viewTab);
this._activeTab= viewTab;
},


And line number 469:
 _switchDefaultTab: function() {
if (this._tabs.length > 0)
this._switchTab(this._tabs[1]);
},


Save and reset Gnome-Shell

Alt-F2 r