Comments (6)
I've already looked into this a bit, apparently not as straight forward as I'd hoped. But it's high on the list of things to fix.
from vertical-overview.
That would need to be done in workspaceThumbnails.js, right? I'll try to take a look at it later.
from vertical-overview.
Yeah, you'd need to figure out how to load the background image and display it on each thumbnail behind the windows.
from vertical-overview.
Yeah ok so you know what I've looked at this and it's not as easy as it seems.
from vertical-overview.
Ok, I think I got it, see the PR there.
from vertical-overview.
I've been using this with my extension Customised Workspaces https://github.com/blipk/Customised-Workspaces which restores the wallpaper and allows setting a different one for each workspace.
It's enough to change _addWindowClone:
this.addInjection('workspaceThumbnail.ThumbnailsBox.prototype._addWindowClone',
function(win) {
let clone = new workspaceThumbnail.ThumbnailsBox.WindowClone(win);
clone.connect('selected', (o, time) => { this.activate(time); });
clone.connect('drag-begin', () => { Main.overview.beginWindowDrag(clone.metaWindow); });
clone.connect('drag-cancelled', () => { Main.overview.cancelledWindowDrag(clone.metaWindow); });
clone.connect('drag-end', () => { Main.overview.endWindowDrag(clone.metaWindow); });
clone.connect('destroy', () => { this._removeWindowClone(clone.metaWindow); });
this._contents.add_actor(clone);
if (this._windows.length == 0) clone.setStackAbove(this._bgManager.backgroundActor);
else clone.setStackAbove(this._windows[this._windows.length - 1]);
this._windows.push(clone);
return clone;
});
Then something like the following in workspaceThumbnail.ThumbnailsBox.prototype.addThumbnails
_newbg = new Meta.Background({ meta_display: global.screen || global.display });
let bg = extensionUtils.getSettings('org.gnome.desktop.background').get_string('picture-uri').replace("file://", "");
_newbg.set_file(Gio.file_new_for_path(bg), imports.gi.GDesktopEnums.BackgroundStyle.ZOOM);
if (!thumbnailBox._bgManager)
thumbnailBox._bgManager = new background.BackgroundManager({ monitorIndex: Main.layoutManager.primaryIndex,
container: thumbnailBox._contents,
vignette: false });
thumbnailBox._bgManager.backgroundActor.content.background = thumbnailBox._newbg;
from vertical-overview.
Related Issues (20)
- Gnome 42.1 Ubuntu 22.04 Workspace preview styles are applied to the opposite monitor they should HOT 2
- Error from version 8 in Gnome 41.3 HOT 1
- window freeze on drag move after move the window across monitors for several times
- Obscured desktop previews HOT 2
- Ugly dock in Ubuntu 22.04
- Cannot create workspaces below
- unclickable apps from edge of the dash
- Transition/animation lags & related JS ERRORs in log HOT 4
- [Feature Request] Scroll workspaces on window edges
- Error entry in journalctl HOT 1
- Release with Gnome 43 support HOT 1
- Feature request: Default workspace thumbnails position
- Workspaces on secondary displays not showing up. HOT 1
- Secondary Workspace preview appears bigger because there is no top bar HOT 1
- Gnome 44 support HOT 12
- Navigating Workspaces through keyboard shortcuts.
- How do I get vertical overview to work on Gnome 44?
- vertical-overview "breaks" windowsNavigator extension
- Support for Gnome Shell 45 (make the extension an ESModule) HOT 8
- Missing RTL support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vertical-overview.