gnome-shell

Move window to screen corners using keyboard shortcuts on Ubuntu 18.04 [closed]

拟墨画扇 提交于 2021-01-03 07:10:37
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . Improve this question I'm looking for a way to move windows to screen corners (top-left, top, top-right, right, bottom-right, bottom, bottom-left, left, maximize) using keyboard shortcuts on Ubuntu 18.04 (Gnome Shell 3.28.3). What I tried that does not work: In settings/keyboard

Move window to screen corners using keyboard shortcuts on Ubuntu 18.04 [closed]

喜夏-厌秋 提交于 2021-01-03 07:07:49
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . Improve this question I'm looking for a way to move windows to screen corners (top-left, top, top-right, right, bottom-right, bottom, bottom-left, left, maximize) using keyboard shortcuts on Ubuntu 18.04 (Gnome Shell 3.28.3). What I tried that does not work: In settings/keyboard

Move window to screen corners using keyboard shortcuts on Ubuntu 18.04 [closed]

╄→гoц情女王★ 提交于 2021-01-03 07:07:39
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . Improve this question I'm looking for a way to move windows to screen corners (top-left, top, top-right, right, bottom-right, bottom, bottom-left, left, maximize) using keyboard shortcuts on Ubuntu 18.04 (Gnome Shell 3.28.3). What I tried that does not work: In settings/keyboard

UI freezes for a short moment while trying to execute multiple commands in a gnome shell extension

為{幸葍}努か 提交于 2020-05-17 06:11:07
问题 Original question: Multiple arguments in Gio.Subprocess So currently I'm trying to execute multiple asynchronous commands in my gnome-shell-extension via Gio.Subprocess. This works fine, if I put all commands as only one chained command with && in the command vector of the Subprocess. The drawback of this solution is, that the output of the different chained commands is only updated once and the execution time may be long. What I'm now trying to do, is to execute every command on its own at

Getting list of contacts with Gnome-Shell JS interface

匆匆过客 提交于 2020-01-23 17:19:28
问题 I've just started fiddling with writing gnome-shell extensions, and would like to know how to get a list of contacts a user has. I've tracked down some likely files: gnome-shell/js/ui/contactDisplay.js and gnome-shell/src/shell_contact_system.c . Now I notice in shell_contact_system.c the following function: /** * shell_contact_system_get_all: * @self: A #ShellContactSystem * * Returns: (transfer none): All individuals */ GeeMap * shell_contact_system_get_all (ShellContactSystem *self) {

Consume a webservice with basic authentication using Soup

好久不见. 提交于 2019-12-25 07:05:54
问题 As part of a gnome-shell extension, I try to consume a webservice using xmlrpc. The webservice expects a basic authentication header. Using Soup, I got the following code (basically a blueprint from the great openweather extension): function load_json_async() { if (_httpSession === undefined) { _httpSession = new Soup.Session(); } else { // abort previous requests. _httpSession.abort(); } let message = Soup.xmlrpc_message_new ( "https://api.sipgate.net/RPC2", "samurai.BalanceGet", new GLib

Can't change dconf-entry with GSettings

元气小坏坏 提交于 2019-12-23 13:27:18
问题 I'm currently building a simple application on Gjs, which should change the background-image of my gnome-shell. A solution on how this can be done using the gsettings -tool can be found here. Since I want to build a desktop-application around it, I want to change the org.gnome.desktop.background.picture-uri -key by using Gio's GSettings-class. But using the set_X() -method does not change the value of the key. This is my code to change the gsettings value: var gio = imports.gi.Gio; // Get the

Gnome Shell Extension Key Binding

假如想象 提交于 2019-12-22 05:26:20
问题 What is the simplest way to (globally) bind a key combination (e.g. <Super>+A ) to a function in a gnome shell extension? Inspecting a couple of extensions, I ran into the following code: global.display.add_keybinding('random-name', new Gio.Settings({schema: 'org.gnome.shell.keybindings'}), Meta.KeyBindingFlags.NONE, function() { /* ... some code */ }); I understand that the key combination is specified by the schema parameter, and that it's possible to create an XML file describing the

Programming a Gnome extension to disable left edge drag gesture to show the app picker

廉价感情. 提交于 2019-12-13 06:12:53
问题 My apologies to all, if this is in the wrong group. We’d like to use Fedora 23 in Kiosk mode, but there is was a recently added left edge swipe feature that was added to Gnome Shell (https://github.com/GNOME/gnome-shell)that cannot be disabled easily. https://github.com/GNOME/gnome-shell/commit/9c4ffc4bf353fe9c64368f3e194e38b0e8f61311 As far as I can tell, our options are: 1) Write an extension to fix this — My favorite We spoke to the original author, who recommended removing the gesture via

How can I change the title bar of a gnome theme to black

房东的猫 提交于 2019-12-12 08:55:05
问题 Update: I tried changing the top line in my gtkrc2.0 file to this gtk-color-scheme = "base_color:#000000\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#000000\nselected_fg_color:#000000\ntext_color:#000000\nbg_color:#000000\ntooltip_bg_color:#000000" but that didn't seem to help either. I'm making some tweaks to my desktop (Ubuntu 14.04 with Gnome-shell 3.9.90) and I want to get my title bar black. By title bar I mean the thing you double click on to maximize the window or