Questions tagged [window-managers]

A Window Manager is a service on most modern OSes which provides the UI for manipulating the location and sizes of windows.

A Window Manager is a service on most modern operating systems which provides the UI for manipulating the location and sizes of windows. Some go further, and provide the ability to open or close applications, and display applets.

For example, since Vista, Microsoft Windows has used Desktop Window Manager to handle the display and composition of windows.

The many desktop environments available for Unix/Linux, such as GNOME (Mutter) and KDE (KWin), all provide window managers, among other software.

440 questions
5
votes
2 answers

requestFocus() returning false

I am inflating a view when a button is pressed. The inflated view is like a dialog box, however when I try to get focus on the dialog box with requestFocus(), requestFocus() returns false means I am not getting focus on the view, but when I manually…
Naruto
  • 1,710
  • 7
  • 28
  • 39
5
votes
2 answers

xmonad: move new floating windows

As described in this and this issue, my floating windows are sometimes rendered behind other windows when using xmonad together with compton. One possible workaround I want to try is to make xmonad move new floating windows slightly, which should…
Xyrox
  • 53
  • 1
  • 5
5
votes
1 answer

Remove titlebar in Gnome

I have a window in Gnome whose titlebar I would like to remove. This was easy in FVWM2: I just set the window style to include NoTitle. In Gnome there does not appear to be a similar option. I recently learned to use wmctrl to modify…
dg99
  • 5,456
  • 3
  • 37
  • 49
4
votes
2 answers

How do the GUI toolkits communicate with the window managers on Linux?

What is the basic mechanism that make GUI toolkits (such as Qt, GTK) work together with the window managers? As far as I understood, GUI toolkits can draw their own main window without requiring any window manager. However the point that confuses me…
tantuni
  • 671
  • 1
  • 8
  • 19
4
votes
1 answer

Change taskbar menu in Tauri

I'm using Tauri and would like to change the menu items shown when clicking my application in the taskbar using the right mouse button (Windows/Linux) or double click (MacOS). For example Firefox shows "Open a New Window" and music players often…
Mark
  • 18,730
  • 7
  • 107
  • 130
4
votes
0 answers

"WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS" doesn't work on Android 11

I hope you can help me. I have a problem with "WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS", on Android 11 it doesn't work while on previous versions it does. I state that I have an OnePlus with the beta of Android 11 but also on the emulator…
4
votes
2 answers

How to start up xmonad with apps on other workspaces

I'm trying to write an xmonad.hs which, at startup, launches some apps on some workspaces. Several of these apps (e.g., atop) will run within a terminal (urxvt being my preference). This has been asked a few times before, e.g, here, here, and is…
user3416536
  • 1,429
  • 9
  • 20
4
votes
2 answers

i3 - Move container to next/previous ws (also if nonexisting)

I'm running i3 version 4.16 I would like to bind a shortcut to move the current container to the next/previous workspace whether existing or not. With help from this post using jq, I have a 'sort of' working solution but it is very flaky (sometimes…
RavenHeart
  • 71
  • 9
4
votes
2 answers

python wnck not returning any data until after a pdb.set_trace()

On Ubuntu Linux / Gnome, I am trying to use python's wnck binding to get a list of all the open windows. My code looks like this: #! /usr/bin/python from pprint import pprint import wnck screen =…
Amandasaurus
  • 58,203
  • 71
  • 188
  • 248
4
votes
1 answer

How to change default Window Manager for XRDP

I don't know if this question makes any sense, but here it's the problem: I have a virtual Debian machine that I only use terminal. Most of the time, I'm using it via ssh. I installed gparted to manage some disk, so I had to install xorg, lightdm…
Rafael
  • 113
  • 2
  • 7
4
votes
1 answer

How do I change window managers with Yocto Project tools?

My Intent I have an image generated by BitBake on which I'm interested in changing the window manager to metacity or maybe something similar. My Process I've added require recipes-graphics/images/core-image-x11.bb into my core recipe, which provides…
karobar
  • 1,250
  • 8
  • 30
  • 61
4
votes
4 answers

Active windows in Windows and QWidget::activateWindow()

The Qt documentation for QWidget::activateWindow() states: On Windows, if you are calling this when the application is not currently the active one then it will not make it the active window. It will change the color of the taskbar entry…
Jake Petroules
  • 23,472
  • 35
  • 144
  • 225
4
votes
0 answers

Android Animation to load viewgroup / layout on drag/swipe the view(Button)

I need help on showing a layout(Screen) with animation on WindowManager Screen1: WindowManager having Button < while drag/ swipe the button viewgroup/ layout need to load on the screen which is visibility was gone previously. Like a…
4
votes
2 answers

Remove floating button from WindowManager when power key pressed

My app has a service that add a floating button to WindowManager. I want to remove my floating button from WindowManager When user press the power key and turn screen off. So when user turn screen on my floating button does not conceal (mask)…
Jessica
  • 685
  • 1
  • 9
  • 23
4
votes
1 answer

The View.OnSystemUiVisibilityChangeListener is not work in android Service

I was wondering whether to display SystemUI and Listenering. The window is created in Service package com.example.testwindow; import android.app.Service; import android.content.Context; import android.content.Intent; import…
Frank.Zeng
  • 41
  • 1
  • 3