Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
0
answers
51
views
Logitech K120 Spanish keyboard composite key
I'm using MX Linux 23.2, my keyboard is Logitech K120 Spanish, during installation, I chose 104key-pc keyboard, but when trying to configure composite key to create accent char (such as á, à, ã, ç, etc.), it does not work, either the accent does not show up or only showed up afte...
I'm using MX Linux 23.2, my keyboard is Logitech K120 Spanish, during installation, I chose 104key-pc keyboard, but when trying to configure composite key to create accent char (such as á, à, ã, ç, etc.), it does not work, either the accent does not show up or only showed up after several tries, which keyboard should I choose with my keyboard to enable composite key?
michaelbr
(111 rep)
Feb 13, 2024, 02:28 PM
0
votes
1
answers
1751
views
Picom compositor conflicts
I am on Arch using Xorg, lightdm, and Cinnamon. When I try to run Picom in Cinnamon I get: ``` ~$ picom [ 11/20/22 23:52:28.630 session_init FATAL ERROR ] Another composite manager is already running ``` I understand that there is another compositor running apparently, so I installed inxi to check,...
I am on Arch using Xorg, lightdm, and Cinnamon. When I try to run Picom in Cinnamon I get:
~$ picom
[ 11/20/22 23:52:28.630 session_init FATAL ERROR ] Another composite manager is already running
I understand that there is another compositor running apparently, so I installed inxi to check, and when I run ~$ inxi -Gxx | grep compositor
it returns nothing. I have used i3 with Picom on this same installation and it works flawlessly. I don't see why it's not working in Cinnamon.
My question is, can I change the settings to give Picom override permissions over other compositors? If not, how should I solve this problem?
beyonson
(3 rep)
Nov 21, 2022, 05:01 AM
• Last activity: Jan 20, 2023, 09:18 PM
1
votes
1
answers
1067
views
Linux: Redshift is blinking
I am using Arch linux with i3wm and picom as compositor. I would like to be able to use `redshift`. But when I launch `redshift`, it turns itself on and off every two seconds, resulting in annoying screen blinking. What can I do to stop this blinking and use `redshift` in peace?
I am using Arch linux with i3wm and picom as compositor. I would like to be able to use
redshift
. But when I launch redshift
, it turns itself on and off every two seconds, resulting in annoying screen blinking.
What can I do to stop this blinking and use redshift
in peace?
Jan Černý
(1723 rep)
Jan 9, 2022, 07:16 PM
• Last activity: Jan 19, 2022, 11:47 PM
126
votes
8
answers
100906
views
Why is video tearing such a problem in Linux?
I've used many variants of Linux(mostly Debian derivatives) for over a decade now. One problem that I haven't seen solved satisfactorily is the issue of horizontal tearing, or Vsync not being properly implemented. I say this because I use used 5 different distros on 4 different computers with variou...
I've used many variants of Linux(mostly Debian derivatives) for over a decade now. One problem that I haven't seen solved satisfactorily is the issue of horizontal tearing, or Vsync not being properly implemented.
I say this because I use used 5 different distros on 4 different computers with various monitors and Nvidia/AMD/ATI/Intel graphics cards; every time, there has been an issue with video tearing with even slight motion.
This is a big problem, especially since even Windows XP doesn't have these issues on modern hardware. If anyone is going to use Linux for anything, why would they want constant defects to show up when doing anything non-CLI?
I'm guessing that either few developers know about this problem or care enough to fix it. I've tried just about every compositor out there, and usually the best they can do is minimize the issue but not eliminate it. Shouldn't it be as simple as synchronizing with the refresh rate of the monitor? Is there some politics among the OSS community that's preventing anyone from committing code that fixes this?
Every time I've asked for help on this issue in the past, it either gets treated as an edge case(which I find difficult to believe it is given the amount of times I've replicated the problem) or I get potential solutions that at most minimize the tearing.
Ten Bitcomb
(1370 rep)
Feb 4, 2015, 04:01 AM
• Last activity: Jan 9, 2021, 09:04 PM
16
votes
3
answers
62794
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
2
votes
1
answers
1702
views
Recursively execute imagemagick composite command in directory tree
I have a large directory tree with many sub-folders and lots of images within each one. I found a script that applies watermark to all images within a directory, in-place, overwriting the original image. I'm looking for the best way to iterate trough all the folders and subfolders and run the "compo...
I have a large directory tree with many sub-folders and lots of images within each one. I found a script that applies watermark to all images within a directory, in-place, overwriting the original image. I'm looking for the best way to iterate trough all the folders and subfolders and run the "compose" command for each image on my linux server.
Here is the original script I found
#!/bin/bash
###########################################
# NAME: wn-ow
# AUTHOR: Linerd (http://tuxtweaks.com) , Copyright 2009
# LICENSE: Creative Commons Attribution - Share Alike 3.0 http://creativecommons.org/licenses/by-sa/3.0/
# You are free to use and/or modify this script. If you choose to distribute this script, with or
# without changes, you must attribute credit to the author listed above.
# REQUIRES: ImageMagick, coreutils
# VERSION: 1.0
# DESCRIPTION: A script to add a watermark and overwrite all images in a directory.
#
# This script will watermark all of the images in a directory. Warning! This will overwrite the files.
###########################################
# Initialize variables
WM=$HOME/public_html/image/catalog/logo-website/watermark.png # This is the path to your watermark image
SCALE=100 # This sets the scale % of your watermark image
# Warning
echo -e "This will overwrite all of the images in this directory."\\n"Are you shure want to continue? {Y/n}"
read REPLY
if
[ "$REPLY" != "n" ] && [ "$REPLY" != "N" ]
then
file -i * | grep image | awk -F':' '{ print $1 }' | while read IMAGE
do
echo Watermarking $IMAGE
composite -dissolve 40% -gravity SouthEast -quality 100 \( $WM -resize $SCALE% \) "$IMAGE" "$IMAGE"
done
else
echo exiting
exit 0
fi
exit 0
Should I use a combination of "find . -name *.jpg" or something else?
Roberto C
(121 rep)
Oct 4, 2015, 10:37 PM
• Last activity: Sep 12, 2019, 12:01 AM
2
votes
0
answers
90
views
Webcam and Desktop composite with v4l2loopback?
Is there anyway to do a composite video setup where the webcam is overlain onto the desktop and output as a video device (simulated webcam)?
Is there anyway to do a composite video setup where the webcam is overlain onto the desktop and output as a video device (simulated webcam)?
Bob R
(303 rep)
Nov 11, 2018, 04:53 AM
0
votes
0
answers
21
views
Automatic rights change when virtual COM ports are enumerated
I am developing a uC device which enumerates as three virtual COMs (actually it is a composite device). Everything works perfect except one small thing. Those ports belong to the `dialout` group and can be accesses only if the user has the root privileges or belongs to this group. Is there any way o...
I am developing a uC device which enumerates as three virtual COMs (actually it is a composite device). Everything works perfect except one small thing. Those ports belong to the
dialout
group and can be accesses only if the user has the root privileges or belongs to this group. Is there any way of automatic rights or group change during the enumeration?
0___________
(103 rep)
Jun 11, 2018, 08:58 AM
0
votes
0
answers
1372
views
Composite manager for i3wm
Is there any composite manager to use with i3 except Compton. I am having serious tearing and ghosting. I have been using various Compton configuration none of which are working. So if there is a composite manager which I can use with i3wm or if there is a workaround this please let me know. Followi...
Is there any composite manager to use with i3 except Compton. I am having serious tearing and ghosting. I have been using various Compton configuration none of which are working. So if there is a composite manager which I can use with i3wm or if there is a workaround this please let me know.
Following Compton configuration I had tried,
Official sample configuration
Compton config for tearing problem
**Hardware Information:**
**VGA:**
`[root@arif arif]# lspci -v -s $(lspci | grep -i 'vga\|3d\|2d' | awk '{print $1}')
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device d000
Flags: bus master, fast devsel, latency 0, IRQ 125
Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at [disabled]
Capabilities: Vendor Specific Information: Len=0c
Capabilities: Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: Process Address Space ID (PASID)
Capabilities: Address Translation Service (ATS)
Capabilities: Page Request Interface (PRI)
Kernel driver in use: i915
Kernel modules: i915`
**Memory**: 16GB
**Processor:** Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
**OS:** Centos 7
`
arif
(1589 rep)
Dec 5, 2017, 04:24 AM
• Last activity: Dec 6, 2017, 04:21 AM
8
votes
1
answers
736
views
Difference between server-side and client-side compositing in Xorg?
xcompmgr provides the following option: -s Server-side compositing with hard-edged shadows. From experimentation, I can say that this is much, much faster than the "client side" options. But what exactly is it doing? In Xorg, what is the difference between client- and server-side compositing? And, m...
xcompmgr provides the following option:
-s Server-side compositing with hard-edged shadows.
From experimentation, I can say that this is much, much faster than the "client side" options. But what exactly is it doing? In Xorg, what is the difference between client- and server-side compositing?
And, more to the point: what set of Xorg functions would I have to use, if I wanted to implement server-side compositing in e.g. a window manager?
DanL4096
(851 rep)
Apr 25, 2015, 08:47 PM
• Last activity: Apr 28, 2015, 10:33 AM
12
votes
2
answers
9639
views
XFCE or pure X11 commands, toggle compositing immediately without restarting X
How can i disable compositing via the command line? I need to disable temporarily for some games, like Nexuiz, for use in a wrapper script to toggle compositing status.
How can i disable compositing via the command line? I need to disable temporarily for some games, like Nexuiz, for use in a wrapper script to toggle compositing status.
daisy
(55777 rep)
Oct 5, 2011, 07:53 AM
• Last activity: Aug 15, 2012, 07:06 PM
3
votes
1
answers
1847
views
Scroll between tags in Awesome WM
How can I add smooth scrolling between tags in the Awesome WM? I realize I can't run compiz with Awesome. Is there something comparable that I can run? I don't need any other effects, switching between tags quickly is just disoreinting when it jumps as it does. EDIT: While I didn't find an exact ans...
How can I add smooth scrolling between tags in the Awesome WM? I realize I can't run compiz with Awesome. Is there something comparable that I can run? I don't need any other effects, switching between tags quickly is just disoreinting when it jumps as it does.
EDIT: While I didn't find an exact answer, cairo-compmgr gives smooth fading between tags and clients. I'm satisfied :)
nona
(83 rep)
Jul 27, 2011, 04:05 AM
• Last activity: Jul 29, 2011, 09:31 PM
2
votes
1
answers
707
views
Will there be third party compositing with Gnome 3, or will it be limited?
Will we still be able to use Compiz?
Will we still be able to use Compiz?
trusktr
(4353 rep)
Mar 31, 2011, 07:17 AM
• Last activity: Apr 30, 2011, 08:42 AM
10
votes
3
answers
23486
views
Disable Composite without restarting X
In order for me to watch HD videos without tearing, I need to disable my Composite setting in `xorg.conf` Section "Extensions" Option "Composite" "Disable" EndSection But I love my transparency, so, how do I enable and disable it without restarting X? (Preferably using command line)
In order for me to watch HD videos without tearing, I need to disable my Composite setting in
xorg.conf
Section "Extensions"
Option "Composite" "Disable"
EndSection
But I love my transparency, so, how do I enable and disable it without restarting X? (Preferably using command line)
Amree
(3237 rep)
Nov 23, 2010, 10:19 AM
• Last activity: Nov 29, 2010, 10:49 AM
Showing page 1 of 14 total questions