Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
0 answers
11 views
Is it possible to change screen resolution without a desktop environment or a window manager
I looked up how I can use commands to resize the display, but all of them seem to require a window manager or a desktop environment, for example‌, `xrandr`, but it says `No display found`. I'm assuming that just means that I didn't install Xorg (but I could be wrong though.) I am using the Arch Linu...
I looked up how I can use commands to resize the display, but all of them seem to require a window manager or a desktop environment, for example‌, xrandr, but it says No display found. I'm assuming that just means that I didn't install Xorg (but I could be wrong though.) I am using the Arch Linux installation ISO. Since I don't have a desktop environment or a window manager, it seems that I can't resize the display. Is it possible that even without a desktop environment or window manager, I can change the screen resolution, let's say from something like 1280x800 to 1366x720? If yes, how? Does the installation ISO already let me do that?
Sul4ur (9 rep)
Aug 7, 2025, 05:33 AM
1 votes
1 answers
4312 views
How to fix/reset windows manager?
I am unable to see the running applications in the panel. I can't switch between open windows. How can I fix it? I tried to open windows manager and windows tweak manager but they won't open. So far I have tried resetting Xfce settings and using dconf-editor to reset all settings to default which di...
I am unable to see the running applications in the panel. I can't switch between open windows. How can I fix it? I tried to open windows manager and windows tweak manager but they won't open. So far I have tried resetting Xfce settings and using dconf-editor to reset all settings to default which didn't work either. Please help.
TheWhiteFang (183 rep)
Aug 31, 2021, 05:24 AM • Last activity: Aug 4, 2025, 01:03 PM
0 votes
1 answers
1885 views
Separate workspace per monitor
I have a laptop and a separate screen I plugged via HDMI what I want to do that I use the laptop screen for workspace1 and external screen for workspace2 this may explain butter: - each workspace will be "glued" to one monitor. - when a workspace is selected as "active" it receives the mouse + keybo...
I have a laptop and a separate screen I plugged via HDMI what I want to do that I use the laptop screen for workspace1 and external screen for workspace2 this may explain butter: - each workspace will be "glued" to one monitor. - when a workspace is selected as "active" it receives the mouse + keyboard inputs. - windows which have been opened on (active or non-active workspaces) remain displayed on the monitors. right now I'm using manjaro and Xfce and AMD GPU what I find out from my research is that Xfce doesn't support this future so I want to know what are the best windows managers options to do such a thing and how to do it
omer khan (1 rep)
Nov 4, 2022, 08:23 PM • Last activity: Aug 1, 2025, 05:04 AM
2 votes
3 answers
2918 views
i3wm: How to automatically switch workspace when a window of a specific application requests focus?
I tried `focus_on_window_activation` with `focus`, but it doesn't do anything. I guess it only works on same workspace. Or maybe I am using it wrong? ``` for_window [class="Chromium"] focus_on_window_activation focus ``` For example in a Thunderbird when I click on a link, I want Chromium to get foc...
I tried focus_on_window_activation with focus, but it doesn't do anything. I guess it only works on same workspace. Or maybe I am using it wrong?
for_window [class="Chromium"] focus_on_window_activation focus
For example in a Thunderbird when I click on a link, I want Chromium to get focus and switch to its workspace (only Chromium, not all applications). Currently it only gets the urgency flag (I believe its usually visualized by a red background of a workspace "button" in a bar).
menfon (262 rep)
Aug 22, 2022, 06:52 AM • Last activity: Jul 28, 2025, 11:05 AM
0 votes
1 answers
5454 views
How to install and run a window manager on Ubuntu Server?
I am a noob in configuring and understand unix architecture so please bare with me. I want to install Ubuntu Server on my laptop for learning purposes. Just want to add a simple window manager like spectrwm but so far I haven't been able to get any info on how to run it. What I did so far: 1. instal...
I am a noob in configuring and understand unix architecture so please bare with me. I want to install Ubuntu Server on my laptop for learning purposes. Just want to add a simple window manager like spectrwm but so far I haven't been able to get any info on how to run it. What I did so far: 1. install Ubuntu 20.04 server 2. install xinit (which should be the display manager) 3. install spectrwm - the actual window manager However, I can't find how to run the window manager. NOTE: i don't want to install a desktop enviroment, i'm not interrested in that EDIT: I found a wiki on how to run openbox but i can't find anywhere how to run spectrwm. If i do "sudo spectrwm" i just get > spectrwm: Cannot open display
vladimir.gorea (143 rep)
May 16, 2020, 06:56 AM • Last activity: Jul 17, 2025, 03:06 PM
0 votes
0 answers
20 views
With the Openbox window manager, can I force a window to have window decorations?
I am running a closed-source Java application in the Openbox window manager. The application runs, but the application's main window is displayed without window decorations. Presumably, the application itself is requesting that its main window be displayed without window decorations. I would prefer...
I am running a closed-source Java application in the Openbox window manager. The application runs, but the application's main window is displayed without window decorations. Presumably, the application itself is requesting that its main window be displayed without window decorations. I would prefer that the application's main window have window decorations. My question is: Is it possible to forcefully add window decorations to an already created and displayed window? If not, why not? Possibly relevant X properties:
$  obxprop  |  grep  DEC
_OL_DECOR_DEL(ATOM) = _OL_DECOR_HEADER, _OL_DECOR_RESIZE, _OL_DECOR_CLOSE
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _OB_WM_ACTION_UNDECORATE
I have tried the following: 1. Selecting Un/Decorate in the window’s Openbox client menu. 2. Setting the following in Openbox’s rc.xml file.
yes
3. Removing the _OL_DECOR_DEL property with xprop -remove _OL_DECOR_DEL. None of the above have had any effect. The window refuses to display decorations.
mpb (1831 rep)
Jul 8, 2025, 08:06 PM
3 votes
1 answers
5623 views
How do I suppress the title bar and window decorations on a maximized window in Gnome 3.12?
I'm trying to get rid of the top title bar on a fullscreen-sized window under Gnome 3.12.2, using the gnome-shell WM. In earlier versions of Gnome this was not difficult to do, but it apparently has become impossible in recent versions. The "Maximus" extension doesn't work correctly for me (https://...
I'm trying to get rid of the top title bar on a fullscreen-sized window under Gnome 3.12.2, using the gnome-shell WM. In earlier versions of Gnome this was not difficult to do, but it apparently has become impossible in recent versions. The "Maximus" extension doesn't work correctly for me (https://extensions.gnome.org/extension/354/maximus/) ; it makes the title bar narrower but doesn't remove it. What are my options, if any, for making this work?
Ryan M (141 rep)
Jul 16, 2014, 08:47 PM • Last activity: Jul 8, 2025, 05:02 PM
1 votes
2 answers
2067 views
Qtile doesn't install on Ubuntu 20.04
I'm trying to install Qtile on a fresh install of Ubuntu 20.04. According to the [Qtile installation documentation][1], Qtile is no longer supported by `apt`, and an installation from source is advised. Instructions are provided [here][2]. When I follow those instructions to the letter, I get an err...
I'm trying to install Qtile on a fresh install of Ubuntu 20.04. According to the Qtile installation documentation , Qtile is no longer supported by apt, and an installation from source is advised. Instructions are provided here . When I follow those instructions to the letter, I get an error that the command errored out with the following message:
ERROR: Command errored out with exit status 1:
     command: /home/yehuda/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv = '"'"'/tmp/pip-install-kvdwotq7/qtile_78329e7437d44395920938573a2554c8/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kvdwotq7/qtile_78329e7437d44395920938573a2554c8/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ja04qda9/install-record.txt --single-version-externally-managed --compile --install-headers /home/yehuda/anaconda3/include/python3.8/qtile
         cwd: /tmp/pip-install-kvdwotq7/qtile_78329e7437d44395920938573a2554c8/
    Complete output (21 lines):
    Failed to find pulseaudio headers. PulseVolume widget will be unavailable
    running install
    Traceback (most recent call last):
      File "", line 1, in 
      File "/tmp/pip-install-kvdwotq7/qtile_78329e7437d44395920938573a2554c8/setup.py", line 91, in 
        setup(
      File "/home/yehuda/anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/home/yehuda/anaconda3/lib/python3.8/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/home/yehuda/anaconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/home/yehuda/anaconda3/lib/python3.8/distutils/dist.py", line 984, in run_command
        cmd_obj.ensure_finalized()
      File "/home/yehuda/anaconda3/lib/python3.8/distutils/cmd.py", line 107, in ensure_finalized
        self.finalize_options()
      File "/tmp/pip-install-kvdwotq7/qtile_78329e7437d44395920938573a2554c8/setup.py", line 46, in finalize_options
        if not self.cairo_xcb_check():
      File "/tmp/pip-install-kvdwotq7/qtile_78329e7437d44395920938573a2554c8/setup.py", line 40, in cairo_xcb_check
        cairo.cairo_xcb_surface_create
    ffi.error: symbol 'cairo_xcb_surface_create' not found in library 'libcairo.so.2': /home/yehuda/anaconda3/lib/python3.8/site-packages/../../libcairo.so.2: undefined symbol: cairo_xcb_surface_create
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/yehuda/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv = '"'"'/tmp/pip-install-kvdwotq7/qtile_78329e7437d44395920938573a2554c8/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kvdwotq7/qtile_78329e7437d44395920938573a2554c8/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ja04qda9/install-record.txt --single-version-externally-managed --compile --install-headers /home/yehuda/anaconda3/include/python3.8/qtile Check the logs for full command output.
What is happening, and how can I properly install Qtile on a Debian-Ubuntu system?
Yehuda (331 rep)
Mar 18, 2021, 08:34 PM • Last activity: Jun 23, 2025, 07:02 PM
4 votes
2 answers
9727 views
How do I change Xfce 4 "theme" tab colors?
I recently switched over to Xfce and really enjoy it. However, when I went in to my settings to change the appearance, the theme that I liked best was "Xfce-dusk" with one exception: The default colors for application tabs are so dark that it's hard to tell where they are. I hunted around for a litt...
I recently switched over to Xfce and really enjoy it. However, when I went in to my settings to change the appearance, the theme that I liked best was "Xfce-dusk" with one exception: The default colors for application tabs are so dark that it's hard to tell where they are. I hunted around for a little while looking anywhere I could to see where the styles for the tabs are set in the theme configuration file and couldn't find anything that looked like it would do what I need. The file I've found to define the theme was: /usr/share/themes/Xfce-dusl/gtk-2.0/gtkrc But looking through that file, I can't find anything that seems to apply. Any suggestions? Normally I'm a command-line only sort of guy and don't really know much about WMs or theming, and don't even know the terms of what I'm trying to modify, so my Google searches are coming up painfully empty. Here is a screenshot of the type of tabs I want to modifya screenshot of the type of tabs I want to modify.
Eric Ryan Harrison (151 rep)
Sep 1, 2010, 11:10 PM • Last activity: Jun 22, 2025, 11:05 PM
5 votes
1 answers
2585 views
Diagnosing a mdm/Cinnamon freezing problem?
I use Linux Mint 16 64-bit Cinnamon. I've just deployed it on two computers and (again) suffer from spontaneous freezing of the graphics terminal. Fortunately the rest of the system seems to be running OK, and I can switch to another virtual terminal and do stuff to diagnose the problem. Logs (syslo...
I use Linux Mint 16 64-bit Cinnamon. I've just deployed it on two computers and (again) suffer from spontaneous freezing of the graphics terminal. Fortunately the rest of the system seems to be running OK, and I can switch to another virtual terminal and do stuff to diagnose the problem. Logs (syslog, Xorg.0.log, mdm/:0.log) don't reveal anything except for AIGLX: Suspending AIGLX clients for VT switch which is normal when you switch to another virtual terminal. Unfortunately, this log entry never gets coupled with the entry that tells it is resuming... Symptoms: * Freezing happen spontaneously, ca once per 8 hours. So far I cannot find anything that can correlate with the freezing event. * No screen update under the graphical terminal. * I can still switch between virtual terminals with Alt+Ctrl+Fx * All applications still work; music plays, and I can still interact with running applications, like VirtualBox (if it is currently running). I didn't test xdotool and wmctrl * Mouse cursor icon is visible and you can control it with the mouse. Clicks are ignored. * **Mouse cursor icon changes while hovering under different zones of windows drawn on the screen, just like it would if the system was working normally**. * It looks like the keyboard is ignored too; except for Ctrl+Alt+Backspace (if a correct script is loaded which intercepts this key combination). Ctrl+Alt+T (to display terminal), Alt + F2 (to show "Run command..." dialog) are ignored. The problem is concerning only the Linux Mint 16 (I never experienced anything like that on Linux Mint 15). I am able to reproduce these symptoms on two computers: desktop PC with ASUS 990FX motherboard, and on ASUS N56VZ notebook. **The previous installation of Linux Mint 16 on the notebook was free from the problem.** Unfortunately I decided to expand the hard drive and reinstalled the system. I still posses the HDD with the previous installation, so I can theoretically I can do some form of diff between them. But both installations should be the same - the only thing I really changed was a bigger hard drive, but unless you use some form automation (like Puppet), you are never able to install two systems identically. --------------- Edit: This specific problem seems to be related to the event of desktop change. It can be reproduced by: 1. Install the Linux Mint 16 with Cinnamon 2.0 64 bit 2. Install a program that changes wallpaper (tested on variety, and wallch) and set it to start changing wallpaper as the background task. 3. Wait for background to change several times. The bug doesn't kick in on the first background change, you need to wait a moment. 4. On the .xsession.errors you will see something like that .
Adam Ryczkowski (5859 rep)
Feb 14, 2014, 09:08 AM • Last activity: Jun 22, 2025, 02:06 AM
0 votes
1 answers
3387 views
I can't change the default config of qtile on arch
I have been trying since about a week with installing arch and Qtile, but the problem is that everytime I install it, even if I change the file default_config.py with what i want, when i reboot it shows the default config of qtile. I don't know why it happens cause i tried compiling the file config....
I have been trying since about a week with installing arch and Qtile, but the problem is that everytime I install it, even if I change the file default_config.py with what i want, when i reboot it shows the default config of qtile. I don't know why it happens cause i tried compiling the file config.py and it doesn't show a problem on sintaxis nor anything else. I leave here my config: import os import re import json import socket import subprocess from os import listdir from os import path from typing import List # noqa: F401 from libqtile.command import lazy from libqtile import layout, bar, widget, hook from libqtile.config import Key, Screen, Group, Drag, Click qtile_path= path.join(path.expanduser("~"), ".config", "qtile") icons_path= path.join(qtile_path, "icons") img = {} # map image name to its path img_path = path.join(qtile_path, "img") for i in listdir(img_path): img[i.split(".")] = path.join(img_path, i) mod = "mod4" # Set the mod key as SUPER/WINDOWS myTerm = "alacritty" # My terminal of choice myConfig = path.join(qtile_path, "config.py") # The Qtile config file location #"/home/bluetrainer/.config/qtile/config.py" colors = [ [ "#0f101a", "#0f101a" ], [ "#5c5c5c", "#5c5c5c" ], [ "#f1ffff", "#f1ffff" ], [ "#F07178", "#F07178" ], [ "#a151d3", "#a151d3" ], [ "#282a36", "#282a36" ], # panel background [ "#434758", "#434758" ], # background for current screen tab [ "#ffffff", "#ffffff" ], # font color for group names [ "#ff5555", "#ff5555" ], # border line color for current tab [ "#8d62a9", "#8d62a9" ], # border line color for other tab and odd widgets [ "#668bd7", "#668bd7" ], # color for the even widgets [ "#e1acff", "#e1acff" ] # window name ] keys = [ ### The essentials MOD4 + CONTROL + KEY Key( [mod, "control"], "o", lazy.shutdown(), desc='Shutdown pc' ), Key( [mod, "control"], "k", lazy.window.kill(), desc='Kill active window' ), Key( [mod, "control"], "r", lazy.restart(), desc='Restart Qtile' ), Key( [mod], "Tab", lazy.next_layout(), desc='Toggle through layouts' ), ### Switch focus to specific monitor (out of two) MOD4 + SHIFT + CONTROL + KEY Key([mod, "shift", "control"], "q", lazy.to_screen(0), desc='Keyboard focus to monitor 1' ), Key([mod, "shift", "control"], "w", lazy.to_screen(1), desc='Keyboard focus to monitor 2' ), ### Switch focus of monitors MOD4 + . / MOD4 + , Key([mod], "period", lazy.next_screen(), desc='Move focus to next monitor' ), Key([mod], "comma", lazy.prev_screen(), desc='Move focus to prev monitor' ), ### Treetab controls MOD4 + CONTROL + U /J Key([mod, "control"], "u", lazy.layout.section_up(), desc='Move up a section in treetab' ), Key([mod, "control"], "j", lazy.layout.section_down(), desc='Move down a section in treetab' ), ### Window controls MOD4 + SHIFT + KEY Key( [mod, "shift"], "s", lazy.layout.down(), desc='Move focus down in current stack pane' ), Key( [mod, "shift"], "w", lazy.layout.up(), desc='Move focus up in current stack pane' ), Key( [mod, "shift"], "d", lazy.layout.right(), desc='Move focus right in current stack pane' ), Key( [mod, "shift"], "a", lazy.layout.left(), desc='Move focus left in current stack pane' ), Key( [mod, "shift"], "d", lazy.layout.shuffle_down(), desc='Move windows down in current stack' ), Key( [mod, "shift"], "e", lazy.layout.shuffle_up(), desc='Move windows up in current stack' ), Key( [mod, "shift"], "n", lazy.layout.normalize(), desc='normalize window size ratios' ), Key( [mod, "shift"], "m", lazy.layout.maximize(), desc='toggle window between minimum and maximum sizes' ), Key( [mod, "shift"], "f", lazy.window.toggle_floating(), desc='toggle floating' ), ### Stack controls Key( [mod, "shift"], "space", lazy.layout.rotate(), lazy.layout.flip(), desc='Switch which side main pane occupies (XmonadTall)' ), Key( [mod, "control"], "space", lazy.layour.rotate(), desc='Swap panes of split stack' ), Key( [mod], "space", lazy.layout.next(), desc='Switch window focus to other pane(s) of stack' ), Key( [mod, "control"], "Return", lazy.layout.toggle_split(), desc='Toggle between split and unsplit sides of stack' ), ### Dmenu scripts launched with ALT + CTRL + KEY Key( ["mod1", "control"], "b", lazy.spawn("firefox"), desc='Starts firefox browser' ), Key( ["mod1", "control"], "f", lazy.spawn("thunar"), desc='Starts firefox browser' ), Key( ["mod1", "control"], "Return", lazy.spawn(myTerm), desc='Launches Terminal' ), # ------------ Hardware Configs ------------ # Volume Key([], "XF86AudioLowerVolume", lazy.spawn( "pactl set-sink-volume @DEFAULT_SINK@ -5%" )), Key([], "XF86AudioRaiseVolume", lazy.spawn( "pactl set-sink-volume @DEFAULT_SINK@ +5%" )), Key([], "XF86AudioMute", lazy.spawn( "pactl set-sink-mute @DEFAULT_SINK@ toggle" )), #Brightness Key([], "XF86MonBrightnessUp", lazy.spawn("brightnessctl set +10%")), Key([], "XF86MonBrightnessDown", lazy.spawn("brightnessctl set 10%-")) ] #GROUPS groups = [Group(i) for i in ["NET", "DEV", "TERM", "FILE", "MEDIA", "MISC"]] for i, group in enumerate(groups): # Each workspace is identified by a number starting at 1 actual_key = str(i + 1) keys.extend([ # Switch to workspace N (actual_key) Key([mod], actual_key, lazy.group[group.name].toscreen()), # Send window to workspace N (actual_key) Key([mod, "shift"], actual_key, lazy.window.togroup(group.name)) ]) # for i in groups: # keys.extend([ # # mod1 + letter of group = switch to group # Key([mod], i.name, lazy.group[i.name].toscreen()), # # mod1 + shift + letter of group = switch to & move focused window to group # Key([mod, "shift"], i.name, lazy.window.togroup(i.name)), # ]) #LAYOUTS layout_theme = {"border_width" : 1, "margin" : 4, "border_focus" : colors, "border_normal": colors } layouts = [ layout.Max(**layout_theme), layout.MonadTall(**layout_theme), layout.MonadWide(**layout_theme), layout.Matrix(columns=2, **layout_theme), layout.VerticalTile(border_width= 2, margin= 6, border_focus= colors, border_normal= colors, name= "verticaltile" ), layout.Floating(**layout_theme), layout.Tile(shift_windows = True, **layout_theme), layout.Stack(num_stacks = 2) ] #WIDGETS # Reusable configs for displaying different widgets on different screens def base(fg=2, bg=0): return { 'foreground': colors[fg], 'background': colors[bg] } sep={ **base(), 'linewidth': 0, 'padding': 5, } group_box={ **base(), 'font': 'Ubuntu Bold', 'fontsize': 10, 'margin_y': 5, 'margin_x': 0, 'padding_y': 8, 'padding_x': 5, 'borderwidth': 1, 'active': colors, 'inactive': colors, 'rounded': False, 'highlight_method': 'block', 'this_current_screen_border': colors, 'this_screen_border': colors, 'other_current_screen_border': colors, 'other_screen_border': colors } window_name={ **base(fg='primary'), 'font': 'Ubuntu Bold', 'fontsize': 11, 'padding': 5 } systray={ 'background': colors, 'padding': 5 } text_box={ 'font': 'Ubuntu Bold', 'fontsize': 15, 'padding': 5 } pacman={ 'execute' : "alacritty", 'update_interval' : 1800, 'foreground' : colors, 'background' : colors } net={ 'interface' : "wlp2s0", 'format' : "{down} ↓↑ {up}", 'foreground' : colors, 'background' : colors, 'padding' : 5 } current_layout_icon={ 'custom_icon_paths' : [icons_path], 'foreground' : colors, 'background' : colors, 'padding' : 0, 'scale' : 0.7 } current_layout={ 'foreground' : colors, 'background' : colors, 'padding' : 5 } clock ={ 'format' : "%A, %B %d [ %H:%M ]" } def workspaces(): return [ widget.Sep(**separator), widget.GroupBox(**group_box), widget.Sep(**separator), widget.WindowName(**window_name) ] def powerline_base(): return [ widget.CurrentLayoutIcon( **base(bg = 4), **current_layout_icon ), widget.CurrentLayout( **base(bg = 4), **current_layout ), widget.Image( filename = img ), widget.TextBox( **base(bg = 3), **text_box, text = ' 🕒' ), widget.Clock( **base(bg=3), **clock ) ] laptop_widgets = [ *workspaces(), widget.Sep( **separator ), widget.Systray( **systray ), widget.Sep( **separator ), widget.Image( filename = img['bg-to-secondary'] ), widget.TextBox( **base(bg=4), **text_box, text = ' ⟳' ), widget.Pacman( **base(bg=4), **pacman ), widget.Image( filename = img ), widget.TextBox( **base(bg=3), **text_box, text = ' ↯' ), widget.Net( **base(bg=3), **net ), widget.Image( filename = img ), *powerline_base() ] monitor_widgets = [ *workspaces(), widget.Image( filename = img['bg-to-secondary'] ), *powerline_base() ] widget_defaults = { 'font': 'Ubuntu Mono', 'fontsize': 13, 'padding': 2 } extension_defaults = widget_defaults.copy() #SCREENS screens = [ Screen(top=bar.Bar(laptop_widgets, 24, opacity=0.95)) ] # check connected monitors monitors_status = subprocess.run( "xrandr | grep 'connected' | cut -d ' ' -f 2", shell=True, stdout=subprocess.PIPE ).stdout.decode("UTF-8").split("\n")[:-1] if monitors_status.count("connected") == 2: screens.append( Screen(top=bar.Bar(monitor_widgets, 24, opacity=0.95)) ) # screens = [ # Screen( # bottom=bar.Bar( # [ # widget.GroupBox(), # widget.Prompt(), # widget.WindowName(), # widget.TextBox("default config", name="default"), # widget.Systray(), # widget.Clock(format='%Y-%m-%d %a %I:%M %p'), # ], # 24, # ), # ), # ] #MOUSE # Drag floating layouts. mouse = [ Drag([mod], "Button1", lazy.window.set_position_floating(), start=lazy.window.get_position()), Drag([mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size()), Click([mod], "Button2", lazy.window.bring_to_front()) ] #OTHER STUFF dgroups_key_binder = None dgroups_app_rules = [] # type: List main = None follow_mouse_focus = True bring_front_click = fALSE cursor_warp = False ##### FLOATING WINDOWS ##### floating_layout = layout.Floating(float_rules=[ {'wmclass': 'confirm'}, {'wmclass': 'dialog'}, {'wmclass': 'download'}, {'wmclass': 'error'}, {'wmclass': 'file_progress'}, {'wmclass': 'notification'}, {'wmclass': 'splash'}, {'wmclass': 'toolbar'}, {'wmclass': 'confirmreset'}, # gitk {'wmclass': 'makebranch'}, # gitk {'wmclass': 'maketag'}, # gitk {'wname': 'branchdialog'}, # gitk {'wname': 'pinentry'}, # GPG key password entry {'wmclass': 'ssh-askpass'}, # ssh-askpass ], border_focus=colors ) auto_fullscreen = True focus_on_window_activation = "smart" ##### STARTUP APPLICATIONS ##### @hook.subscribe.startup_once def startup(): #home = os.path.expanduser('~') script = path.join(qtile_path, "autostart.sh") #subprocess.call([home + '/.config/qtile/autostart.sh']) subprocess.call([script]) # XXX: Gasp! We're lying here. In fact, nobody really uses or cares about this # string besides java UI toolkits; you can see several discussions on the # mailing lists, GitHub issues, and other WM documentation that suggest setting # this string if your java app doesn't work correctly. We may as well just lie # and say that we're a working one by default. # # We choose LG3D to maximize irony: it is a 3D non-reparenting WM written in # java that happens to be on java's whitelist. wmname = "LG3D" Can somebody tell me what is the problem? Have I need to install something more than just "qtile" and lightdm lightdm-gtk-greeter lightdm-gtk-greeter-config and begin lightdm.service? Thank you for your time :)
Maria Rosa Cambero (101 rep)
May 10, 2020, 11:56 AM • Last activity: Jun 21, 2025, 10:06 PM
0 votes
2 answers
5686 views
How do I bind apps to specific tags in dwm?
I am using dwm with tags labelled with `font-awesome` icons. I don't know how to bind applications to specific tags, e.g `Sublime` to tag 3. I've attached my tag setup in the image [![these are my all 5 tags][1]][1] [1]: https://i.sstatic.net/nc3tG.png
I am using dwm with tags labelled with font-awesome icons. I don't know how to bind applications to specific tags, e.g Sublime to tag 3. I've attached my tag setup in the image these are my all 5 tags
user332337 (1 rep)
Jan 19, 2019, 03:37 PM • Last activity: Jun 11, 2025, 12:03 AM
1 votes
1 answers
3520 views
Urxvt and tmux - set window title
When I use tmux from urxvt, window title is not updated. Normally when I use just urxvt, window title is updated every time I change directory and it is in form of "$USER@$HOST:$PWD", but when I run tmux from urxvt, window title stays the same as it was before running tmux. I have tried different se...
When I use tmux from urxvt, window title is not updated. Normally when I use just urxvt, window title is updated every time I change directory and it is in form of "$USER@$HOST:$PWD", but when I run tmux from urxvt, window title stays the same as it was before running tmux. I have tried different set terminal-overrides in tmux.conf as suggested in some answers I found on google, but none worked. Has anybody managed to make it work? I use Xmonad as WM, but same config works if I run tmux from xterm (title changed accordingly to set-titles-string in tmux.conf), so I guess that tmux and urxvt does not really understand each other. Versions of software: > rxvt-unicode (urxvt) v9.21 - released: 2014-12-31 > > tmux 1.9 My dotfiles: https://github.com/overlordtm/dotfiles
Andraz (111 rep)
Jul 15, 2015, 08:56 AM • Last activity: May 21, 2025, 01:01 PM
94 votes
6 answers
202195 views
i3wm : start applications on specific workspaces when i3 starts
How can I start applications on specific workspaces in i3 when it starts? Why is this not working in my config file? : workspace 1; exec firefox; workspace 2; exec chromium; workspace 1
How can I start applications on specific workspaces in i3 when it starts? Why is this not working in my config file? : workspace 1; exec firefox; workspace 2; exec chromium; workspace 1
Gradient (3749 rep)
Oct 19, 2013, 10:27 PM • Last activity: May 5, 2025, 07:57 PM
1 votes
2 answers
6147 views
Debian: How to revert back to KDE after switching to GNOME?
MY machine is running Debian 8 "Jessie". I installed Gnome desktop environment by > sudo apt-get install gnome now every time my machine is switched on I'm presented with Gnome desktop environment whereas **I want to go back to KDE** (login screen doesn't let me change). How to fix this? I tried wit...
MY machine is running Debian 8 "Jessie". I installed Gnome desktop environment by > sudo apt-get install gnome now every time my machine is switched on I'm presented with Gnome desktop environment whereas **I want to go back to KDE** (login screen doesn't let me change). How to fix this? I tried with **sudo update-alternatives --config x-window-manager** but apparently the windows manager is just a part of the whole GUI system.
dragonmnl (2419 rep)
Mar 12, 2016, 06:41 PM • Last activity: Apr 26, 2025, 08:26 PM
0 votes
1 answers
2330 views
No Settings -> Window Manager in XFCE4
I am under Ubuntu 20.04, using XFCE4. When I click *Menu (Upper left cross)* -> *Settings* in the *Applications Menu* (added to the panel via this) [![enter image description here][1]][1] I expected to have *Window Manager* available (PS: I needed that to setup keyboard shortcuts for [window tiling]...
I am under Ubuntu 20.04, using XFCE4. When I click *Menu (Upper left cross)* -> *Settings* in the *Applications Menu* (added to the panel via this) enter image description here I expected to have *Window Manager* available (PS: I needed that to setup keyboard shortcuts for window tiling , which were not set by default).
But I don't have that menu entry, this is what I have. enter image description here I can go to the *Window Manager* via CLI with xfwm4-settings (source , and related old post ). By typing xfce4-+Tab (for tab completion), and likewise for xfwm4-, I realized there are quite a few other settings that do not show under *Menu (Upper left cross)* -> *Settings*. Of all tab completion alternatives (shown below), I checked executing some of them at the CLI, and then if they show in the menus. None of them were present (and perhaps none of the others as well!). These are marked with an asterisk. xfce4-about xfce4-accessibility-settings *xfce4-appearance-settings xfce4-appfinder xfce4-color-settings xfce4-display-settings xfce4-find-cursor *xfce4-keyboard-settings xfce4-mime-settings *xfce4-mouse-settings xfce4-notifyd-config xfce4-panel xfce4-popup-applicationsmenu xfce4-popup-directorymenu xfce4-popup-windowmenu xfce4-session xfce4-session-logout xfce4-settings-editor xfce4-settings-manager xfce4-session-settings xfwm4 *xfwm4-settings *xfwm4-tweaks-settings *xfwm4-workspace-settings The CLI settings available above seem a completely disjoint set compared to the menu entries. So: 1. Why are these menu entries not present? (I guess they should be automatically included) 2. How can I have them shown?
sancho.s ReinstateMonicaCellio (2998 rep)
Sep 28, 2021, 06:24 AM • Last activity: Apr 25, 2025, 08:05 AM
0 votes
2 answers
3038 views
How to KDE + awesomewm?
Is there a way to configure awesomewm as windows manager but running KDE as desktop environment?
Is there a way to configure awesomewm as windows manager but running KDE as desktop environment?
ProgXIVe (1 rep)
Dec 8, 2022, 05:04 PM • Last activity: Apr 12, 2025, 07:06 PM
0 votes
0 answers
26 views
i3 wm is changing my window size when i come back to gnome
I recently installed i3 Window Manager and am still getting used to it. When I switch back to GNOME, my terminal and other applications retain the tiling layout from i3, requiring me to manually resize them each time. Is there a way to prevent this and have my applications open in their default size...
I recently installed i3 Window Manager and am still getting used to it. When I switch back to GNOME, my terminal and other applications retain the tiling layout from i3, requiring me to manually resize them each time. Is there a way to prevent this and have my applications open in their default sizes in GNOME?
lightning space (1 rep)
Mar 6, 2025, 09:55 AM • Last activity: Mar 6, 2025, 04:48 PM
3 votes
2 answers
4179 views
How can I get maximized windows not to hide behind the menu bar on primary external?
I didn't have this happening on Mint 17.1 MATE. On the MATE version of Mint versions 18.1, 19.3, and 20.3, with a dual-monitor setup, and the external monitor being primary, the menu bar covers up the lower part of any maximized window (Firefox, Terminal, etc.) making some screen content inaccessibl...
I didn't have this happening on Mint 17.1 MATE. On the MATE version of Mint versions 18.1, 19.3, and 20.3, with a dual-monitor setup, and the external monitor being primary, the menu bar covers up the lower part of any maximized window (Firefox, Terminal, etc.) making some screen content inaccessible. This is especially a problem with Terminal, since I can then never see the prompt and what I'm typing there. Terminal in particular for some reason has different results depending on what I set the "Application font" to in the Appearances applet, which affects the size of the menu bar but not the size of the Terminal output. At 16 pt font it only half-covers the last line: The menu bar covering only the lower half of the words But at 14 pt font, it covers the whole last line: The menu bar covering the entire prompt line of a maximized Terminal window. 16 pt seems to be a sweet spot---10 pt or less and 20 pt for example both cover most or all of the last Terminal line, just like 14 pt. More than 20 pt starts to cover multiple lines. But in any case, it's a no-go for Terminal windows and also for the bottom of web sites being hidden in browser windows. If I make the laptop built-in primary, I do *not* have this issue on that screen. Only the external. The problem is, I don't want the tiny screen to be where apps launch by default, otherwise I wouldn't have an external in the first place. Unmaximizing and remaximizing a window does not solve the issue. Is there any way to fix this? If not, is there any way to move the menu bar to the laptop screen, but have the external screen still be considered primary for the purpose of new window creation? **Update regarding potential workarounds** 1. If I disable the laptop screen, and just use the external, the problem goes away. (Obviously this isn't a solution though if I want to use both screens.) 2. The "Autohide" and "Show hide buttons" options do not work for my case because while the menu bar is hidden, I cannot see (at a glance) unread status indicators in app title bars, the clock, or system tray icons. 3. Side orientation doesn't work well for me because I need to make the bar huge in order to have the same amount of app title bar width for readability, and also makes my app windows skinnier than works for me (Google Docs in a web browser, for instance, creates a horizontal scrollbar, when there's a comment column and it's zoomed in for readability.) 4. Top orientation seemed promising---Fitz' law for closing apps apparently died sometime in the mid-90's on most OSes for supposed aesthetic reasons anyway---but Chromium, oddly, does not play well with it all, taking up the whole screen and covering up the menu bar even though it's not supposed to be coverable. (Could be a bug in Chromium, MATE, or both...but that's already true of the main issue here in bottom orientation as well.)
Kev (1759 rep)
Jan 20, 2017, 02:14 PM • Last activity: Feb 13, 2025, 01:05 PM
0 votes
0 answers
87 views
In KWin, how to snap windows to side independently on separate virtual desktops?
[Fedora KDE] Assume I have two virtual desktops (or activities, the issue appears there too). I have two windows open on desktop 1 - one snapped to the left edge and one to the right edge. Similarly on desktop 2 - one window snapped left, one window snapped right. That is, I have four windows, each...
[Fedora KDE] Assume I have two virtual desktops (or activities, the issue appears there too). I have two windows open on desktop 1 - one snapped to the left edge and one to the right edge. Similarly on desktop 2 - one window snapped left, one window snapped right. That is, I have four windows, each covering half the monitor. On desktop 1, I grab the divider between the windows and change the size of the windows. For example, let's make the left window cover 3/4 of the total desktop. Now, what bugs me is that the sizes of the windows on desktop 2 changes as well. I don't know where in the settings to stop this behavior, and I suspect there may not be an easy setting, *because* is identical for virtual desktops and for plasma activities, so it seems to me that the problem is fairly deep. But: I don't know. Perhaps there is a way of correcting this - so my question is, if that can be corrected, how would I do that? Searching only gave me various forms of "here's how to enable snapping in kwin" or several year old "check out my script for enabling window snapping in kwin". I haven't installed (I don't think?) any such script so I suspect I've been using something that's now built-in but I haven't figured out where to find the documentation of that particular functionality. Thanks!
Persilja (1 rep)
Feb 11, 2025, 06:00 PM
Showing page 1 of 20 total questions