Sample Header Ad - 728x90

Unix & Linux Stack Exchange

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

Latest Questions

10 votes
3 answers
3442 views
How to zoom/magnify on linux without compiz (bspwm)
I'd like to have the functionality described in [this video](https://youtu.be/sACNU_819TU?t=2m40s). Basically, use super+scrollup/down or pinch in/out on my touchpad to zoom in a certain area of the screen like on a phone or tablet. Sadly I need compiz to get the described effect. How can I zoom in...
I'd like to have the functionality described in [this video](https://youtu.be/sACNU_819TU?t=2m40s) . Basically, use super+scrollup/down or pinch in/out on my touchpad to zoom in a certain area of the screen like on a phone or tablet. Sadly I need compiz to get the described effect. How can I zoom in without using compiz? I'm using Arch Linux with bspwm + compton. What I've tried: * xzoom, which can zoom but spawns a new window instead of zooming in on the spot. Not what I want. * KDE's kmag, pretty much the same as xzoom but with a nice GUI. * Magnifier , where you can mouse over an area to zoom that area of the screen, which is not really what I want. I want to actually zoom in the whole screen like in the video above. There's are open issues in compton's repositories: * https://github.com/chjj/compton/issues/188 (dead repo) * https://github.com/yshui/compton/issues/43 (new fork)
zjeffer (495 rep)
Jul 6, 2019, 09:43 AM • Last activity: Nov 15, 2023, 11:10 AM
6 votes
2 answers
2187 views
How to get rid of background flickering when switching workspaces?
I am using `compton` as my composite manager with `i3`. When compton is enabled and there is an image (png) on the root X window, you can see flickering while switching workspaces. [![enter image description here][1]][1] There is no issue when compton is disabled or root window is solid color. None...
I am using compton as my composite manager with i3. When compton is enabled and there is an image (png) on the root X window, you can see flickering while switching workspaces. enter image description here There is no issue when compton is disabled or root window is solid color. None of this is acceptable for me. Since the solid color does not cause an issue I was thinking that using low-level tool should fix the problem. I have replaced feh with hsetroot but nothing has changed. I have also tested xloadimage but when compton is enabled it does not work (X root reflects current workspace for unknown reason). Gui app nitrogen produces the same effect. Official repository seems to be too overloaded and issues wait for months to be answered. Compton with i3 (or any other lightweight wm) is quite popular tear-free decision and I do not think that people do not set wallpapers or ignore such annoying things. I start compton (v0.1_beta2.5) with the following command. compton --daemon \ --config /dev/null \ --vsync opengl-swc \ --xrender-sync \ --xrender-sync-fence \ --fading \ --fade-in-step 0.2 \ --fade-out-step 0.2 \ --unredir-if-possible \ --paint-on-overlay \ --backend glx Disabling fading do not solve the problem.
Evgeniy (183 rep)
Feb 3, 2018, 11:08 AM • Last activity: Jun 22, 2022, 07:59 PM
5 votes
1 answers
1408 views
Compton dimming inactive doesn't work with terminal
Running i3 on ubuntu, with compton (all recent installations). I want to use compton to dim inactive windows. It is currently mostly working using `inactive-dim = 0.2` just fine. The problem is that when I run a couple of terminals on the same screen, they're either all dim or all bright - it doesn'...
Running i3 on ubuntu, with compton (all recent installations). I want to use compton to dim inactive windows. It is currently mostly working using inactive-dim = 0.2 just fine. The problem is that when I run a couple of terminals on the same screen, they're either all dim or all bright - it doesn't dim the terminals that aren't active. I imagine this has something to do with how compton figures out if something is active or not - I can run multiple chrome windows or atom windows or whatever, and those work just fine. Any advice about configuring the terminal launcher? (currently just using i3-sensible-terminal which is launching gnome-terminal).
pfooti (151 rep)
May 24, 2017, 05:02 PM • Last activity: May 11, 2022, 11:55 AM
0 votes
0 answers
204 views
My Ubuntu + i3 freezes randomly without any log
I'm using Ubuntu server 21.10 with i3 along with Compton. Everything thing works fine, but sometimes (every 2 or 3 days) it freezes completely and no more action could be taken, nothing works and I couldn't even find any log in journanctl or other places. I have no idea what is going on. My computer...
I'm using Ubuntu server 21.10 with i3 along with Compton. Everything thing works fine, but sometimes (every 2 or 3 days) it freezes completely and no more action could be taken, nothing works and I couldn't even find any log in journanctl or other places. I have no idea what is going on. My computer is on constantly and this happens also when swap or memory has almost 30% or 40% free space. Memory 16 GB Swap 20 GB
qazwsx123 (101 rep)
Dec 14, 2021, 02:40 PM
20 votes
3 answers
4306 views
Chrome window gets too big when maximizing on linux mint xfce
I have following problem. I am new to Linux and went with Mint as my distro. On windows I always used Chrome as my go to browser because I do a lot of webdev and like to have the best support for browser features so I also went for Google Chrome here on Linux. I found out that when I maximize the Sc...
I have following problem. I am new to Linux and went with Mint as my distro. On windows I always used Chrome as my go to browser because I do a lot of webdev and like to have the best support for browser features so I also went for Google Chrome here on Linux. I found out that when I maximize the Screen of Chrome that the Window goes over the bounds of the screen. I couldn't replicate that behavior with any other application so it could be some issue with Chrome. Does Chrome use GTK2 because it also overrides the Style of the installed theme? I changed some dotfiles in my user directory and changed the default compositor to compton. There I just applied some settings to get a blur effect and transparent windows nothing too special. This is my system specs output from neofetch: - OS: Linux Mint 20.2 x86_64 - Host: 20287 Lenovo IdeaPad Z510 - Kernel: 5.4.0-89-generic - Uptime: 10 hours, 50 mins - Packages: 2014 (dpkg) - Shell: bash 5.0.17 - Resolution: 1920x1080 - DE: Xfce - WM: Xfwm4 - WM Theme: Sweet-Dark - Theme: Sweet-Dark [GTK2/3] - Icons: ePapirus [GTK2/3] - Terminal: xfce4-terminal - Terminal Font: Monospace 10 - CPU: Intel i5-4200M (4) @ 3.100GHz - GPU: NVIDIA GeForce GT 740M - GPU: Intel 4th Gen Core Processor - Memory: 1984MiB / 7719MiB enter image description here As you can see in the screenshot the window decorations and scrollbar are outside of the screen which is quite annoying. So my questions is if this could be due to some weird bug on chromes side or maybe due to some misconfigs on my side?
Savo Vuksan (303 rep)
Oct 23, 2021, 08:54 PM • Last activity: Dec 10, 2021, 12:37 AM
3 votes
1 answers
19391 views
Picom Transparency Disable on Specific Windows (websites)
I have Picom (Compton) set up so that non-focussed windows are semi-transparent. I like the look and it works for me. However, if I have something like youtube playing in a non-active window, I don't want the transparency to kick in. Is there any way to get picom to look at the window title and disa...
I have Picom (Compton) set up so that non-focussed windows are semi-transparent. I like the look and it works for me. However, if I have something like youtube playing in a non-active window, I don't want the transparency to kick in. Is there any way to get picom to look at the window title and disable transparency if it detects certain keywords (youtube, netflix, jellyfin etc.)? ---------- System Info: Kernel: 5.8.9-arch2-1\ Display Server: xorg\ Window Manager: i3-gaps (4.16.1-186-gf3fffbae)\ Compositor: picom (vgit-699ff)
ScottishTapWater (187 rep)
Sep 16, 2020, 12:31 PM • Last activity: Jan 31, 2021, 10:07 PM
1 votes
0 answers
257 views
How to mark a window in i3wm to catch it in Compton?
I've set the opacity for inactive windows in my Compton config. But sometimes I need to fix opacity for a window to keep it readability while it is inactive. I wanted to add a certain class to a focused window by pressing a certain key combination. So, now I have a key combination and I already spec...
I've set the opacity for inactive windows in my Compton config. But sometimes I need to fix opacity for a window to keep it readability while it is inactive. I wanted to add a certain class to a focused window by pressing a certain key combination. So, now I have a key combination and I already specified opacity for windows of a certain class but I can't add a class to a focused window in my i3 config file. I was trying to search for a command to add a class to a window but found nothing but xprop (which isn't suitable for this operation). And now I think that I looking in the wrong direction. Maybe there's another way to mark a window somehow, to refer to it in a Compton config?
lyu (11 rep)
Nov 26, 2019, 08:07 PM • Last activity: Sep 17, 2020, 01:51 PM
0 votes
1 answers
605 views
`not a git repository` when following install instructions for picom (a compton fork)
I'm trying to install [Picom][1] compositor on Ubuntu and have installed all the dependencies but when I get to the "To Build" section of the guide of [GitHub][2] I have to run three commands: $ git submodule update --init --recursive $ meson --buildtype=release . build $ ninja -C build None of whic...
I'm trying to install Picom compositor on Ubuntu and have installed all the dependencies but when I get to the "To Build" section of the guide of GitHub I have to run three commands: $ git submodule update --init --recursive $ meson --buildtype=release . build $ ninja -C build None of which seem to work. Running the first returns... fatal: not a git repository (or any of the parent directories): .git So I tried making my own picom folder, running git init. This gets me to command number two which fails, responding with: ERROR: Neither directory contains a build file meson.build. I feel like I'm giving the order to build with bricks that I have yet to download. I would appreciate if someone could point to where I have gone wrong or how I might better troubleshoot my problem.
Solebay Sharp (217 rep)
Aug 22, 2020, 04:09 PM • Last activity: Sep 17, 2020, 01:48 PM
5 votes
2 answers
3518 views
Screen Flickering with NVIDIA drivers
I've recently set up my own Arch linux installation. I'm having some problems with one of the monitors in my dual monitor setup. Every once in a while, seemingly at random, my monitor will go black for a second before refreshing. This is pretty frustrating. It only happens with one of my monitors, t...
I've recently set up my own Arch linux installation. I'm having some problems with one of the monitors in my dual monitor setup. Every once in a while, seemingly at random, my monitor will go black for a second before refreshing. This is pretty frustrating. It only happens with one of my monitors, the other monitor is completely unaffected. I have tried all sort of things and read loads of forum posts, but I'm unable to fix this problem. I am running the nvidia-450 driver, with a GTX 1080 TI. The problem monitor is connected over displayport and is a 2k monitor. The other monitor is also connected over displayport and is a 1080p monitor. Here are some command outputs that might help, edited for relevant sections: lspci - k
08:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
	Subsystem: Gigabyte Technology Co., Ltd Device 374c
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
dmesg
[    5.896505] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  450.66  Wed Aug 12 19:37:58 UTC 2020
[    5.947554] [drm] [nvidia-drm] [GPU ID 0x00000800] Loading driver
[    5.947559] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:08:00.0 on minor 0
[    6.031959] audit: type=1130 audit(1598214227.195:21): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nvidia-persistenced comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    6.034669] usb 1-5: set resolution quirk: cval->res = 384
[    6.034934] uvcvideo: Found UVC 1.00 device  (046d:0825)
[    6.119775] uvcvideo 1-5:1.0: Entity type for entity Extension 4 was not initialized!
[    6.119779] uvcvideo 1-5:1.0: Entity type for entity Extension 6 was not initialized!
[    6.119781] uvcvideo 1-5:1.0: Entity type for entity Extension 7 was not initialized!
[    6.119783] uvcvideo 1-5:1.0: Entity type for entity Processing 2 was not initialized!
[    6.119785] uvcvideo 1-5:1.0: Entity type for entity Extension 3 was not initialized!
[    6.119787] uvcvideo 1-5:1.0: Entity type for entity Camera 1 was not initialized!
[    6.119882] input: UVC Camera (046d:0825) as /devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-5/1-5:1.0/input/input32
[    6.119971] usbcore: registered new interface driver uvcvideo
[    6.119972] USB Video Class driver (1.1.1)
[    6.135659] usbcore: registered new interface driver snd-usb-audio
[    7.092020] audit: type=1103 audit(1598214228.255:22): pid=541 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_permit acct="lightdm" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:0 res=success'
[    7.114373] audit: type=1130 audit(1598214228.278:23): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@976 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    7.124372] audit: type=1101 audit(1598214228.288:24): pid=545 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    7.124392] audit: type=1103 audit(1598214228.288:25): pid=545 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
[    7.124425] audit: type=1006 audit(1598214228.288:26): pid=545 uid=0 old-auid=4294967295 auid=976 tty=(none) old-ses=4294967295 ses=1 res=1
[    7.743903] igb 0000:06:00.0 enp6s0: igb: enp6s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[    7.956953] IPv6: ADDRCONF(NETDEV_CHANGE): enp6s0: link becomes ready
[    9.320055] usb 5-4: device descriptor read/64, error -110
[   24.893783] usb 5-4: device descriptor read/64, error -110
[   25.123356] usb 5-4: new high-speed USB device number 4 using xhci_hcd
[   30.440070] usb 5-4: device descriptor read/64, error -110
[   46.013782] usb 5-4: device descriptor read/64, error -110
[   46.120071] usb usb5-port4: attempt power cycle
[   46.763345] usb 5-4: new high-speed USB device number 5 using xhci_hcd
[   51.863777] xhci_hcd 0000:09:00.3: Timeout while waiting for setup device command
[   57.197078] xhci_hcd 0000:09:00.3: Timeout while waiting for setup device command
[   57.403701] usb 5-4: device not accepting address 5, error -62
[   57.526684] usb 5-4: new high-speed USB device number 6 using xhci_hcd
[   62.530134] xhci_hcd 0000:09:00.3: Timeout while waiting for setup device command
[   67.863370] xhci_hcd 0000:09:00.3: Timeout while waiting for setup device command
[   68.070345] usb 5-4: device not accepting address 6, error -62
[   68.070416] usb usb5-port4: unable to enumerate USB device
[   71.757209] kauditd_printk_skb: 5 callbacks suppressed
Let me know if you need any more info. This problem has been driving me crazy.
Em Eldar (111 rep)
Aug 24, 2020, 02:57 AM • Last activity: Sep 12, 2020, 06:53 AM
2 votes
2 answers
3866 views
How to get tear-free rendering with nvidia proprietary?
I never experienced tearing before since I was using Ubuntu all the time but recently I have switched to **Arch Linux** with **awesome** as my window manager. Since awesome does not use any composite manager I see these annoying glitches while scrolling the web page. I have installed **compton** and...
I never experienced tearing before since I was using Ubuntu all the time but recently I have switched to **Arch Linux** with **awesome** as my window manager. Since awesome does not use any composite manager I see these annoying glitches while scrolling the web page. I have installed **compton** and it works but I have some issues with it enabled. Graphic card: **GeForce GTX 670** with **proprietary** driver (387.34-19)
compton --version: **v0.1_beta2.5** compton --daemon --config /dev/null --backend glx 1. Sometimes terminal emulator I use (xfce4-terminal) does not render output until additional keystroke. The issue is described here , here and here . 2. The google chrome context menu sometimes flickers. Nevertheless, it fixes tearing. compton --daemon --config /dev/null --backend xrender This fixes issues described above but tearing itself. compton --daemon --config /dev/null --backend xr_glx_hybrid This fixes issue #1 and tearing but issue #2. Moreover, screen flush starts to appear randomly. I have found that I can fix issue #2 by passing --fading option but the latter one is still present. So, xrender works pretty well since it does not produce new bugs but I do not think it is good decision to investigate to when I have gpu with proprietary drivers. It seems that compton is a bunch of hacks and tricks, I am tired to make it work properly. I have tried xcompmgr and saw no desired effect - there was tearing during scrolling. Fortunately, there is another solution to make desktop tear-free using ForceCompositionPipeline=On. I have configured my /etc/X11/xorg.conf.d/20-nvidia.conf properly and everything is perfect except input latency. The mouse pointer has become less responsiveness, more smoothed. Perhaps, the keyboard is too but I am not sure (I mean, it takes more time to print the key I have pressed). I am looking for any possibility to get rid of tearing. New composite managers as well as proper compton options are acceptable but the solution for latter issue is preferable since I do not actually need all these features like shadow or fading provided by compositors.
Evgeniy (183 rep)
Jan 22, 2018, 06:25 PM • Last activity: Sep 4, 2020, 09:50 AM
0 votes
1 answers
5992 views
Can't get compton/picom to run with i3 manjaro (community version)
Here is what I get when I execute 'picom': [ 03/01/20 15:24:08.887 parse_config_libconfig WARN ] Option `no-dock-shadow` is deprecated, and will be removed. Please use the wintype option `shadow` of `dock` instead. [ 03/01/20 15:24:08.887 parse_config_libconfig WARN ] vsync option will take a boolea...
Here is what I get when I execute 'picom': [ 03/01/20 15:24:08.887 parse_config_libconfig WARN ] Option no-dock-shadow is deprecated, and will be removed. Please use the wintype option shadow of dock instead. [ 03/01/20 15:24:08.887 parse_config_libconfig WARN ] vsync option will take a boolean from now on. "none" is interpreted as "false" for compatibility, but this will stop working soon [ 03/01/20 15:24:08.887 parse_config_libconfig WARN ] glx-swap-method has been deprecated since v6, your setting "undefined" should be removed. [ 03/01/20 15:24:08.887 parse_config_libconfig WARN ] "clear-shadow" is removed as an option, and is always enabled now. Consider removing it from your config file [ 03/01/20 15:24:08.887 parse_config_libconfig WARN ] "paint-on-overlay" has been removed as an option, and is enabled whenever possible And 'compton': [ 03/01/20 15:42:33.943 parse_config_libconfig WARN ] Option no-dock-shadow is deprecated, and will be removed. Please use the wintype option shadow of dock instead. [ 03/01/20 15:42:33.944 parse_config_libconfig WARN ] vsync option will take a boolean from now on. "none" is interpreted as "false" for compatibility, but this will stop working soon [ 03/01/20 15:42:33.944 parse_config_libconfig WARN ] glx-swap-method has been deprecated since v6, your setting "undefined" should be removed. [ 03/01/20 15:42:33.944 parse_config_libconfig WARN ] "clear-shadow" is removed as an option, and is always enabled now. Consider removing it from your config file [ 03/01/20 15:42:33.944 parse_config_libconfig WARN ] "paint-on-overlay" has been removed as an option, and is enabled whenever possible [ 03/01/20 15:42:33.944 session_init WARN ] This compositor has been renamed to "picom", the "compton" binary will not be installed in the future. This command to check what composite manager is running shows no output: inxi -Gxx | grep compositor I also have this line in my i3 config file: # picom exec_always --no-startup-id picom --config ~/.config/picom/picom.conf I'm not sure what they are asking me to do here as the compton command mentions that 'compton' has no been renamed to 'picom', so I thought I would just have to change the .conf file name etc. but this did not work.
koko (31 rep)
Jan 3, 2020, 03:56 PM • Last activity: Aug 30, 2020, 11:43 AM
0 votes
1 answers
197 views
How to apply strict pattern matching for title names in compton config file?
I have a pretty simple config file for compton, just to set my terminal opacity. ```opacity-rule = ["85:name *= 'st'"];``` However I have found that if any window has a title that contains the letters `st` in it, then the transparency will apply to that window too. Is there any way to get strict pat...
I have a pretty simple config file for compton, just to set my terminal opacity.
-rule = ["85:name *= 'st'"];
However I have found that if any window has a title that contains the letters st in it, then the transparency will apply to that window too. Is there any way to get strict pattern matching in compton when applying opacity, so that opacity is only applied when the title of the window is exactly equal to st, rather than a string containing that substring?
nebb (3 rep)
Aug 9, 2020, 05:30 PM • Last activity: Aug 18, 2020, 05:11 AM
16 votes
3 answers
62792 views
how to determine which composite manager is running
I'm using Arch Linux, and have both Gnome and the i3 window manager installed. When running i3, I'm trying to initiate the composite manager Compton. But trying to do so results in the following error: $ compton [ 04/11/2019 22:32:36.443 register_cm FATAL ERROR ] Another composite manager is already...
I'm using Arch Linux, and have both Gnome and the i3 window manager installed. When running i3, I'm trying to initiate the composite manager Compton. But trying to do so results in the following error: $ compton [ 04/11/2019 22:32:36.443 register_cm FATAL ERROR ] Another composite manager is already running I think this means that Compton is already running, or Mutter is running, but I'm not sure which. **Is there a command I can use to determine which composite manager is currently running?**
Trevor (1739 rep)
Apr 13, 2019, 03:05 AM • Last activity: Jun 29, 2020, 08:05 AM
0 votes
0 answers
3325 views
Why can't I blur alacritty terminal emulator with compton?
I am currently using using i3 with arch linux. I just installed alacritty and compton and I have edited the alacritty configuration file to allow for transparency. So now alacritty is now transparent however I want to make it blurry. I tried using the following solution to change my compton configur...
I am currently using using i3 with arch linux. I just installed alacritty and compton and I have edited the alacritty configuration file to allow for transparency. So now alacritty is now transparent however I want to make it blurry. I tried using the following solution to change my compton configuration file: https://bbs.archlinux.org/viewtopic.php?id=243421 . When I rebooted my computer and tried to open a terminal, it was very slow and the blur didn't even work. Why can't I blur alacritty with this solution? What am I doing wrong?
user398085
May 4, 2020, 05:39 AM
2 votes
0 answers
1202 views
xorg and CPU usage
I have Debian 10 installed on my laptop and I manually installed xorg, i3wm and compton just after Debian. I had some serious tearing issues I solved by installing the nVidia proprietary drivers and tweaking some options in the xorg.conf file: ``` /usr/share/X11/xorg.conf.d/10-nvidia.conf # nvidia-s...
I have Debian 10 installed on my laptop and I manually installed xorg, i3wm and compton just after Debian. I had some serious tearing issues I solved by installing the nVidia proprietary drivers and tweaking some options in the xorg.conf file:
/usr/share/X11/xorg.conf.d/10-nvidia.conf    
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings:  version 390.116
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        Option         "Xinerama" "0"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "Module"
        Load           "dbe"
        Load           "extmod"
        Load           "type1"
        Load           "freetype"
        Load           "glx"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "Monitor"
        # HorizSync source: edid, VertRefresh source: edid
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "FUS P19-3P"
        HorizSync       30.0 - 82.0
        VertRefresh     56.0 - 76.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BusID          "PCI:1:0:0"
        BoardName      "GeForce GTX 670M"
        Option         "NoLogo" "1"
        Option         "MigrationHeuristic" "greedy"
        Option         "AccelMethod" "sna"
        Option         "TearFree"    "true"
        Option "RenderAccel" "True"
        Option "AddARGBGLXVisuals" "True"
        Option "OnDemandVBlankInterrupts" "True"
        Option "InitialPixmapPlacement" "2"
        Option "BackingStore" "True"
        Option "DamageEvents" "True"
        Option "UseEvents" "False"
        Option "Coolbits" "1"
        Option "DisableGLXRootCliping" "True"
        Option "TripleBuffer" "true"
        Option "Coolbits" "24"
        Option "PixmapCacheSize" "300000"
        Option "GlyphCache" "1"
    
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
        Option         "SLI" "Off"
        Option         "MultiGPU" "Off"
        Option         "BaseMosaic" "off"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
and in the compton.conf file:
~/.config/compton.conf
# basic configuration
backend = "glx";
vsync = "opengl-swc";
paint-on-overlay = true
glx-no-stencil = true

glx-copy-from-front = true;
glx-swap-method = 2;
xrender-sync = true;
xrender-sync-fence = true;

# transparancy settings for i3
opacity-rule = [
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"100:class_g = 'Firefox-esr' && !_NET_WM_STATE@:32a",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"92:class_g = 'st-256color' && !_NET_WM_STATE@:32a",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
and invoking compton with
--no-startup-id compton --config ~/.config/compton.conf -CGb --backend glx --paint-on-overlay --vsync opengl-swc
from the i3wm config file. I also attach the output of lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF114M [GeForce GTX 670M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF114 HDMI Audio Controller (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 105 (rev c4)
04:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
The problems apparently disappeared, even though if I test my monitor with a test found on [this website](https://www.testufo.com/framerates#count=1&background=stars&pps=960) I see from time to time (approximately each 10 seconds) the UFO going back for a tiny bit of space and then go forward again... I tried to investigate the issue and I found out that some users complained also about high CPU usage of xorg. I normally do not have high CPU usage (while I'm writing this question each of my 8-core CPU stays below 7%, but if I start resizing the box back and forth, the CPU usage rises up to 70/80%), but if I try to move a floating window in i3, the CPU usage starts rising to 50/60% for some cores (all these results were inspected by using htop) and the culprits are both xorg and compton (and sometimes also the window I move). So the question is: why does this happen? Could this be related to the issues I see on the screen? Isn't the screen be redrawn by the GPU and, if it's the case, why does this have so much impact on the CPU usage? Is there a way to solve this issue which could contribute in causing the little screen artifacts I see? Thanks in advance.
LuxGiammi (377 rep)
Feb 25, 2020, 11:35 AM • Last activity: Feb 25, 2020, 11:49 AM
0 votes
1 answers
111 views
Can't open window manager after fiddling with compton(also the header of my applications are gone)
[![enter image description here][1]][1] That's what it looks like. I was trying to get frosted windows with compton but after making a mistake in my config froze the system and got a black screen on boot. So I went into recovery and purged compton but now there are still those problems. I'm using xu...
enter image description here That's what it looks like. I was trying to get frosted windows with compton but after making a mistake in my config froze the system and got a black screen on boot. So I went into recovery and purged compton but now there are still those problems. I'm using xubuntu lts btw Any ideas?
404 (1 rep)
Dec 24, 2019, 03:41 AM • Last activity: Dec 24, 2019, 03:21 PM
16 votes
2 answers
9611 views
Workspace sliding animation in i3
How could I have a workspace sliding animation in i3 on ArchLinux ? I don't want to use a full DE, I'm right now using compton as a compositor but it only offers fade in/out when switching workspaces, I can't make it perform a sliding animation such as the one in KDE or Gnome. I don't mind installin...
How could I have a workspace sliding animation in i3 on ArchLinux ? I don't want to use a full DE, I'm right now using compton as a compositor but it only offers fade in/out when switching workspaces, I can't make it perform a sliding animation such as the one in KDE or Gnome. I don't mind installing another compositor but I'd like to be able to do it with compton and i3 if it's possible. (I don't mind neither having to use a more low level api and code the animation myself, but I don't know where to start) ---------- The second step would be to have a workspace switching like on MacOs (Or now also on Windows 10) where you drag your fingers on the trackpad and it switches between workspaces smoothly : if you stop draging the workspace will just pop back in place. (I'm talking about this ) That would be really cool to setup on a Linux system. I'm using Libinput (and libinput gestures) but I don't know if there is such a feature. ---------- How could I get the closest to the MacOs/Windows10 workspace switching experience with i3 on ArchLinux ?
tourdetour (452 rep)
Jun 12, 2017, 09:36 AM • Last activity: Oct 27, 2019, 11:29 AM
1 votes
0 answers
797 views
Opacity for colours set within vim
I use a transparent terminal background on URxvt, which I set within my Xresources file: ``` URxvt.background: [85]#2f2f2f ``` In vim I have line numbers on the left hand side with a different background colour, as set in my vimrc: ``` highlight LineNr ctermbg=8 ctermfg=7 highlight CursorLineNr cter...
I use a transparent terminal background on URxvt, which I set within my Xresources file:
URxvt.background: #2f2f2f
In vim I have line numbers on the left hand side with a different background colour, as set in my vimrc:
highlight LineNr ctermbg=8 ctermfg=7
highlight CursorLineNr ctermbg=8 ctermfg=4
Is there any way to set a transparency for ctermbg in vim, such that the background of the line numbers is transparent? (I am aware that if I set the transparency for my terminal through my compton config, instead of setting the background transparency in Xresources, then I could achieve this result. However I have tried this and I am not happy with the way it distorts the colour of my text.)
Harry Cooke (51 rep)
Sep 5, 2019, 01:35 PM
2 votes
0 answers
1366 views
Bspwm: resizing windows creates visual artifacts
I'm having some problems when resizing certain windows in bspwm. Examples: - https://youtu.be/1uOcOCSVsvM. `Visual Studio Code`: this one is obvious - https://youtu.be/PmRwh_S6gIY. 2 `Sublime Text` windows, tiled: This one is more subtle. You can see the scrollbars of both windows glitch out a bit....
I'm having some problems when resizing certain windows in bspwm. Examples: - https://youtu.be/1uOcOCSVsvM . Visual Studio Code: this one is obvious - https://youtu.be/PmRwh_S6gIY . 2 Sublime Text windows, tiled: This one is more subtle. You can see the scrollbars of both windows glitch out a bit. The right window is the most apparant. - https://youtu.be/oDE-CUMr6fI . 2 Thunar windows, tiled: Same issue: you can see the right side of the right window glitch out. - https://youtu.be/Zycu9PV6gMY . Firefox and Konsole, tiled: You can see the firefox window shows a white background when resizing. In the konsole window you can see the scrollbar glitches like the previous 2 points. - https://youtu.be/UqDJcKurbiw . gnome-terminal, tiled: This one is really weird: I resize the window with super+right-click. Only when I release the right mouse button, it shows the resized window. Also when I keep moving the mouse, for example in circles as I did in the video, the window size keeps decreasing. What I've tried: - Testing without compton: same results - Testing with the Nvidia GPU disabled in BIOS: same results - Rebooting - Setting pointer_motion_interval from 17 to 40: slight improvement but the problem doesn't go away. Any higher and resizing windows will lag. - I use Nvidia's DRM KMS to eliminate tearing. I disabled it. Now I have the same problems, but with tearing. I have no idea what to try next to troubleshoot this issue. --- **Specs:** OS: Arch Linux x86_64 Host: 80WK Lenovo Y520-15IKBN Kernel: 5.0.13-arch1-1-ARCH Uptime: 7 hours, 9 mins Packages: 1653 (pacman) Shell: zsh 5.7.1 Resolution: 1920x1080 WM: bspwm Theme: OSX-Arc-Plus [GTK2/3] Icons: Papirus-Light [GTK2/3] Terminal: konsole Terminal Font: Hack 11 CPU: Intel i7-7700HQ (8) @ 3.800GHz GPU: NVIDIA GeForce GTX 1050 Mobile GPU: Intel HD Graphics 630 Memory: 2234MiB / 7867MiB
zjeffer (495 rep)
May 11, 2019, 10:49 PM • Last activity: Aug 22, 2019, 11:53 AM
3 votes
0 answers
4247 views
(i3-gaps + compton) Solid black borders on almost all apps when set to transparent
I am running Fedora 30 with i3-gaps on my laptop and using compton as a compositor. When I try and set transparent borders in my i3 config, borders on most apps appear as solid black. It affects Nautilus, Firefox, Chrome, Spotify, VirtualBox, etc. The borders on urxvt are transparent, as are other p...
I am running Fedora 30 with i3-gaps on my laptop and using compton as a compositor. When I try and set transparent borders in my i3 config, borders on most apps appear as solid black. It affects Nautilus, Firefox, Chrome, Spotify, VirtualBox, etc. The borders on urxvt are transparent, as are other parts of my setup such as polybar and rofi, so compton is not entirely broken. The transparency is set in my i3 config here:
set $bg-color            #ff000050
set $border-color        #ff000050
set $indicator-color     #008cff50
set $inactive-bg-color   #ffffff00
set $text-color          #ababab
set $inactive-text-color #676E7D
set $urgent-bg-color     #E53935
set $ws-focused-bg       #000000

# window colors
#                       border              background         text                 indicator
client.focused          $border-color       $bg-color          $text-color          $indicator-color
client.unfocused        $inactive-bg-color  $inactive-bg-color $inactive-text-color $inactive-bg-color
client.focused_inactive $inactive-bg-color  $inactive-bg-color $inactive-text-color $inactive-bg-color
client.urgent           $urgent-bg-color    $urgent-bg-color   $text-color          $urgent-bg-color
Using the last two digits in the hex to set the alpha value. I also use the line
for_window [class=".*"] border pixel 1
to give the borders with no title bars on i3-gaps. Any ideas on how to fix this? EDIT: My compton config is currently:
detect-client-opacity = true;
shadow-exclude = [
        "class_g = 'Firefox' && argb"
];
frame-opacity = 0.0;
Harry Cooke (51 rep)
Aug 14, 2019, 07:31 PM • Last activity: Aug 17, 2019, 03:55 PM
Showing page 1 of 20 total questions