Page 1 of 1

LXDE mark active browser window

Posted: Thu Jul 04, 2024 1:13 pm
by Adlermania
Hey guys,

is there a way in LXDE to mark the active window in the taskbar in some way? Maybe with another background color? I can´t find any options for that and all windows look the same. I have to do a task where I need approximately 30 open browser windows and where I always have to open the next window. As there is no good hotkey for that, at least I want to know in which browser window I am now, to change to the next one per mouse click.

Re: LXDE mark active browser window

Posted: Thu Jul 04, 2024 1:17 pm
by Eadwine Rose
With all help requests, please share your full Quick System Info, found in the menu. Press the Copy for forum button, then click paste in a reply.. thanks.

Re: LXDE mark active browser window

Posted: Thu Jul 04, 2024 1:40 pm
by Adlermania

Code: Select all

System:    Kernel: 6.1.0-21-amd64 [6.1.90-1] x86_64 bits: 64 compiler: gcc v: 12.2.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-21-amd64 root=UUID=<filter> ro quiet splash 
           init=/lib/systemd/systemd 
           Desktop: LXDE 0.10.1 info: lxpanel wm: Openbox 3.6.1 vt: 7 dm: SDDM 
           Distro: MX-23.3_x64 Libretto November 11 2020 base: Debian GNU/Linux 12 (bookworm) 
Machine:   Type: Desktop Mobo: ASUSTeK model: H110M-A/M.2 v: Rev X.0x serial: <filter> 
           UEFI: American Megatrends v: 2003 date: 09/19/2016 
CPU:       Info: Quad Core model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S 
           family: 6 model-id: 5E (94) stepping: 3 microcode: F0 cache: L2: 8 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 63999 
           Speed: 800 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 
           5: 800 6: 800 7: 800 8: 800 
           Vulnerabilities: Type: gather_data_sampling status: Vulnerable: No microcode 
           Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable 
           Type: reg_file_data_sampling status: Not affected 
           Type: retbleed mitigation: IBRS 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: conditional; RSB filling; 
           PBRSB-eIBRS: Not affected; BHI: Not affected 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort mitigation: TSX disabled 
Graphics:  Device-1: Intel HD Graphics 530 vendor: ASUSTeK driver: i915 v: kernel bus-ID: 00:02.0 
           chip-ID: 8086:1912 class-ID: 0300 
           Device-2: Logitech C922 Pro Stream Webcam type: USB driver: snd-usb-audio,uvcvideo 
           bus-ID: 1-3:2 chip-ID: 046d:085c class-ID: 0102 serial: <filter> 
           Display: x11 server: X.Org 1.21.1.7 compositor: compton v: 1 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: HDMI-2 res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.5x11.5") 
           diag: 598mm (23.5") 
           OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 23.1.2-1~mx23ahs 
           direct render: Yes 
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403 
           Device-2: Logitech C922 Pro Stream Webcam type: USB driver: snd-usb-audio,uvcvideo 
           bus-ID: 1-3:2 chip-ID: 046d:085c class-ID: 0102 serial: <filter> 
           Sound Server-1: ALSA v: k6.1.0-21-amd64 running: yes 
           Sound Server-2: PulseAudio v: 16.1 running: yes 
Network:   Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel port: f040 
           bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 447.13 GiB used: 264.69 GiB (59.2%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: TR150 size: 447.13 GiB block-size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 12.3 
           scheme: GPT 
Partition: ID-1: / raw-size: 195.31 GiB size: 191.19 GiB (97.89%) used: 39.51 GiB (20.7%) fs: ext4 
           dev: /dev/sda2 maj-min: 8:2 
           ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 288 KiB (0.1%) fs: vfat 
           dev: /dev/sda1 maj-min: 8:1 
           ID-3: /home raw-size: 251.32 GiB size: 246.31 GiB (98.01%) used: 225.18 GiB (91.4%) 
           fs: ext4 dev: /dev/sda3 maj-min: 8:3 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: 2947 note: see --pkg apt: 2929 lib: 1556 flatpak: 18 
           Active apt repos in: /etc/apt/sources.list 
           1: deb https://repo.protonvpn.com/debian unstable main
           Active apt repos in: /etc/apt/sources.list.d/atom.list 
           1: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
           2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
           Active apt repos in: /etc/apt/sources.list.d/hluk-ubuntu-copyq-lunar.list 
           1: deb http://ppa.launchpad.net/hluk/copyq/ubuntu lunar main
           Active apt repos in: /etc/apt/sources.list.d/home:bgstack15:aftermozilla.list 
           1: deb http://download.opensuse.org/repositories/home:/bgstack15:/aftermozilla/Debian_Unstable/ /
           No active apt repos in: /etc/apt/sources.list.d/leap.list 
           Active apt repos in: /etc/apt/sources.list.d/librewolf.list 
           1: deb [arch=amd64] http://deb.librewolf.net bookworm main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bookworm main non-free
           2: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bookworm ahs
           Active apt repos in: /etc/apt/sources.list.d/nodesource.list 
           1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x bookworm main
           2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x bookworm main
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https://repo.skype.com/deb stable main
           No active apt repos in: /etc/apt/sources.list.d/various.list 
           Active apt repos in: /etc/apt/sources.list.d/waydroid.list 
           1: deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ bookworm main
Info:      Processes: 269 Uptime: 3h 39m wakeups: 0 Memory: 15.52 GiB used: 6.42 GiB (41.4%) 
           Init: systemd v: 252 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 12.2.0 
           alt: 10/12 Client: shell wrapper v: 5.2.15-release inxi: 3.3.06 
Boot Mode: UEFI

Re: LXDE mark active browser window

Posted: Thu Jul 04, 2024 2:31 pm
by dolphin_oracle
this appears to be controlled by the system gtk theme. there should also be a "pressed button" look to the active window.
Image

Re: LXDE mark active browser window

Posted: Thu Jul 04, 2024 4:28 pm
by Adlermania
Image

I took another theme but the taskbar stays dark :frown:

Re: LXDE mark active browser window

Posted: Thu Jul 04, 2024 4:54 pm
by Eadwine Rose
There is a PPA in those repo links.

Re: LXDE mark active browser window

Posted: Thu Jul 04, 2024 8:12 pm
by dolphin_oracle
having "flat buttons" enabled in the tasklist settings will cause that effect.

Re: LXDE mark active browser window

Posted: Thu Jul 04, 2024 11:37 pm
by figueroa
"Flat Buttons" don't work for me. Unchecking flat buttons is what works for me. However, I suspect this may be very dependent upon the user's theme.

Re: LXDE mark active browser window

Posted: Fri Jul 05, 2024 11:22 am
by Adlermania
Unchecking flat buttons did the magic :number1: Thank you!
How can I change the blue color into red of the active buttons? I already changed it in /usr/share/themes/Breeze-Dark in the gtk2 gtkrc file. But it´s still blue.

Image

Re: LXDE mark active browser window

Posted: Fri Jul 05, 2024 12:19 pm
by dolphin_oracle
I believe lxde is gtk3, so you'll need to change the gtk3 theme.

Re: LXDE mark active browser window

Posted: Fri Jul 05, 2024 12:25 pm
by AVLinux
dolphin_oracle wrote: Fri Jul 05, 2024 12:19 pm I believe lxde is gtk3, so you'll need to change the gtk3 theme.
Wait, isn't LXDE in Debian still GTK2? I thought the GTK3 fork was never released and was only available to those who compiled it from source themselves? Mind you I haven't tried LXDE since MX-21, I know back then it was definitely GTK2..

Re: LXDE mark active browser window

Posted: Fri Jul 05, 2024 1:33 pm
by dolphin_oracle
AVLinux wrote: Fri Jul 05, 2024 12:25 pm
dolphin_oracle wrote: Fri Jul 05, 2024 12:19 pm I believe lxde is gtk3, so you'll need to change the gtk3 theme.
Wait, isn't LXDE in Debian still GTK2? I thought the GTK3 fork was never released and was only available to those who compiled it from source themselves? Mind you I haven't tried LXDE since MX-21, I know back then it was definitely GTK2..

You are probably correct. Lxappearance will set gtk3 themes but there are not any gtk3 libs as lxpanel depends.

Re: LXDE mark active browser window

Posted: Fri Jul 05, 2024 2:46 pm
by Adlermania
I already changed in gtk3 the blue colors to red in the gtk.css in this part

Code: Select all

*
* Button Colors
*
*/
@define-color theme_button_background_normal_breeze #ff0000;
@define-color theme_button_decoration_hover_breeze  #ff0000;
@define-color theme_button_decoration_focus_breeze  #ff0000;
@define-color theme_button_foreground_normal_breeze #fcfcfc;
@define-color theme_button_foreground_active_breeze #fcfcfc;
@define-color theme_button_background_insensitive_breeze        rgba(45, 49, 54, 0.35);
@define-color theme_button_decoration_hover_insensitive_breeze  rgba(37, 164, 230, 0.35);
@define-color theme_button_decoration_focus_insensitive_breeze  rgba(37, 164, 230, 0.35);
@define-color theme_button_foreground_insensitive_breeze        rgba(229, 229, 229, 0.35);
@define-color theme_button_foreground_active_insensitive_breeze rgba(229, 229, 229, 0.35);
@define-color theme_button_background_backdrop_breeze        #ff0000;
@define-color theme_button_decoration_hover_backdrop_breeze  #ff0000;
@define-color theme_button_decoration_focus_backdrop_breeze  #ff0000;
@define-color theme_button_foreground_backdrop_breeze        #fcfcfc;
@define-color theme_button_foreground_active_backdrop_breeze #fcfcfc;
@define-color theme_button_background_backdrop_insensitive_breeze        rgba(45, 49, 54, 0.35);
@define-color theme_button_decoration_hover_backdrop_insensitive_breeze  rgba(37, 164, 230, 0.35);
@define-color theme_button_decoration_focus_backdrop_insensitive_breeze  rgba(37, 164, 230, 0.35);
@define-color theme_button_foreground_backdrop_insensitive_breeze        rgba(229, 229, 229, 0.35);
@define-color theme_button_foreground_active_backdrop_insensitive_breeze rgba(229, 229, 229, 0.35);
/*
Not sure if this has any effect as its commented out, but I don´t see any changeable colors in the gtk.css. There are too many lines :frown: . Any idea which part to change for that?