Hot answers tagged

5

Try to add a last line kill %1 In interactive shells at least you can kill the pid of the background job this way. Otherwise look if the process can write a pid file or use killall, if you're sure, there's only one process of this wm


3

There's no similar mechanism, because the reasons are completely different. A garbled text terminal comes from having multiple sources all writing to the terminal, with no coordination between them. So you end up with text where it doesn't belong, which is solved by making the application whose text you do want to see redisplay what it wants. xrefresh is ...


2

The role of an X11 window manager is quite complex. First, learn more about X core protocol and X architecture. Then read EWMH if you need to understand the conventional roles of WMs (also known and respected by X11 toolkits like GTK, Qt, etc...). Even single-application but multiple-windows (e.g. popups) programs practically need some WM Then you could ...


2

You need xfce4-session, or else your desktop will not run properly (yes, I'm serious). Are you running xfwm4? Do you have a saved session? Is xfsettingsd running? Oh, and don't use Xfce4.8 anymore. It's horrible outdated and does things the wrong way (like thunar-vfs).


2

Well, thanks to @Basile's comment, I learned a lot and came up with following working sample: #!/usr/bin/python3 import Xlib import Xlib.display disp = Xlib.display.Display() root = disp.screen().root NET_WM_NAME = disp.intern_atom('_NET_WM_NAME') NET_ACTIVE_WINDOW = disp.intern_atom('_NET_ACTIVE_WINDOW') ...


2

xseticon allows you to do exactly that.


2

If you're trying to develop something like a public kiosk where users should be able to only open the available applications and only in full screen mode, then I would say that having the launcher also be the window manager is a valid strategy. On the other hand, leveraging an existing window manager that can be configured to provide the restricted user ...


1

Enlightenment is a Windows Manager but with additional features, however, Cinnamon does not currently have any sort of support for other Window Managers than Muffin (Cinnamons default one). The reason you had to logout to use Enlightenment is not because it's "more than a Windows Manager". It's simply because it's not Cinnamon. So what you tried to do is to ...


1

Menu should be generated from the $XDG_DATA_DIRS/applications/*.desktop files, where $XDG_DATA_DIRS usually points to at least one directory: /usr/share. Each file describes several menu entry's properties such as its name, program to be run, icon, categories, etc. This file should be generated during program installation, so probably something went wrong ...


1

Thx to answer to this question: Cannot change global keyboard shortcuts in Linux Mint XFCE I found quite an easy way to propagate all made changes to other user accounts on a system. Just copy your local configuration file named xfce4-keyboard-shortcuts.xml (located here: ~/.config/xfce4/xfconf/xfce-perchannel-xml/) over the same file in other accounts. ...


1

I experienced this problem and I believe I've pinned it down to happening after installing nVidia graphics driver. The behaviour I experienced was that I could not add any workspaces and when showing multitasking view, none of my open applications displayed (hence gala not letting me make more workspaces). Reverting back to regular open source graphics ...


1

The qtcurve config file is ~/.config/qtcurve/stylerc. You can copy the contents of your downloaded xxxx.qtcurve file into that file. You can customise many aspetcs of your theme. To understand the functions of keys (activeTabAppearance, appearance, …) you can examine this file. Yet I couldn't find a reference for values (darkinverted, origselected, …). ...


1

from digging through the XML file in Matchbox's Git repo: The window manager has redefinable shortcut keys which can be used to perform window operations or launch applications. The location of the config file is PREFIX/share/matchbox/kbdconfig, this can be overridden by the user having a ~/.matchbox/kdbconfig file. The config file is made up of one ...


1

kill -TERM -$$ (kill current process group) should also do it in a race condition-safe manner. This or kill % should be preferred to killing by pid or by name.


1

I had the same issue in mint 17 xfce (with both wm shortcuts like Ctrl-F1 and keyboard shortcuts like Alt-F2). I don't like the way how I fixed it but I could not find a better solution. First, I searched for all keyboard configuration files: $ locate xfce4-keyboard-shortcuts.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml ...


1

As far as I know, the only supported values in Mutter are "menu" "minimize" "maximize" "spacer" and "close". It doesn't appear to be possible to add a button for always on top.


1

Additionally to using gsettings and instead of using the deprecated gconf-editor, you can install the newer dconf-editor and find and change relevant keys there. Searching "resize with" will find its key regardless of used WM.


1

I had this exact same problem. So I wrote a shell script that I bound to a hotkey. When I hit the hotkey, it gets the window id of the currently active window (the one that has focus). Then it gives you a popup dialog where you enter the title you want that window to have. Then every time that window changes its name, it changes it back to the title you ...



Only top voted, non community-wiki answers of a minimum length are eligible