Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-11-05 10:27:29

dino66
Member
Registered: 2024-11-05
Posts: 2
Windows 10Firefox 132.0

Question About Error XFCE PANEL RC

Hi,
I am a MX linux user, w/ XFCE DE,
Everytime I launch an mx app via bash command, I see this message,

/usr/share/themes/Greybird-dark-mx/gtk-2.0/apps/xfce-panel.rc:7: error: unexpected keyword 'bg', expected string constant

Someone could tell me why  ?
Given that the said file starts this way

style "theme-panel" = "dark"
{
    xthickness    = 1
    ythickness    = 1

    bg[NORMAL]    = #393F3F
    bg[ACTIVE]    = #393F3F    << SEEMS TO BE THE FAULTY LINE
    bg[PRELIGHT]    = shade (0.85, @selected_bg_color)
    bg[SELECTED]    = @selected_bg_color

    fg[NORMAL]    = shade (0.9, @base_color)
    fg[PRELIGHT]    = @base_color
    fg[ACTIVE]    = shade (0.9, @base_color)
    fg[SELECTED]    = shade (0.9, @base_color)

    text[NORMAL]    = shade (0.9, @base_color)
    text[PRELIGHT]    = @base_color
    text[ACTIVE]    = shade (0.9, @base_color)
    text[SELECTED]    = shade (0.9, @base_color)

    engine "murrine" {
        roundness    = 0
        glowstyle    = 0
        glazestyle    = 0
        textstyle    = 1
        text_shade    = 0.2
    }
}
[...]


Thanks

Last edited by dino66 (2024-11-05 10:29:48)

Offline

#2 2024-11-06 00:41:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
LinuxFirefox 132.0

Re: Question About Error XFCE PANEL RC

Hello and welcome.

That line looks good. What happens if you delete it? Does the error disappear?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-11-06 14:12:36

dino66
Member
Registered: 2024-11-05
Posts: 2
Windows 10Firefox 132.0

Re: Question About Error XFCE PANEL RC

It says the same about L8.
I've tried to put double quotes around the HEX color on L6 (and then L7 after first check OK).
i.e.

bg[NORMAL]     = "#393F3F"
bg[ACTIVE]      = "#393F3F"

It fixes it.
Is it OK if I put double quotes ?
It seems so but I mean, according to the specs ?

Offline

#4 2024-11-07 00:44:00

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,512
LinuxFirefox 132.0

Re: Question About Error XFCE PANEL RC

If double quotes work, then use double quotes. I don't recall the specifics on gtk2 tweaks.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 531.27 KiB (Peak: 532.12 KiB) ]