MarkDH102
Posts: 674
Joined: Fri Feb 13, 2015 3:18 pm

Possible on Bullseye to change taskbar raspberry button menu text? [SOLVED]

Sun Sep 24, 2023 6:25 am

On Buster (64 bit) I used to see "Shutdown" at the bottom of the menu list when clicking the Raspberry icon.
On Bullseye (64 bit) I see "Logout". Yet when the box appears after clicking it, at the top of the options is "Shutdown".
As I always use that particular pathway to shutdown my Pi, can I change the text at the bottom of the menu list to "Shutdown"?
Without a recompile of anything!
Last edited by MarkDH102 on Sun Sep 24, 2023 5:33 pm, edited 2 times in total.

pidd
Posts: 5154
Joined: Fri May 29, 2020 8:29 pm
Location: Wirral, UK

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 6:41 am

Strange, mine is still Shutdown. Have you created a new user?

Have a look at the following two files

~/.config/lxpanel/LXDE-pi/config

Code: Select all

[Command]
Logout=lxde-pi-shutdown-helper
~/.config/lxpanel/LXDE-pi/panels/panel

Code: Select all

 lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
  edge=bottom
  align=left
  margin=0
  widthtype=percent
  width=100
  height=36
  transparent=0
  tintcolor=#000000
  alpha=0
  autohide=0
  heightwhenhidden=2
  setdocktype=1
  setpartialstrut=1
  usefontcolor=0
  fontsize=12
  fontcolor=#ffffff
  usefontsize=0
  background=0
  backgroundfile=/usr/share/lxpanel/images/background.png
  iconsize=36
  monitor=0
  point_at_menu=0
  notifications=0
}
Plugin {
  type=smenu
  Config {
    padding=4
    image=start-here
    system {
    }
    separator {
    }
    item {
      image=system-run
      command=run
    }
    separator {
    }
    item {
      image=system-shutdown
      command=logout
    }
  }
}
Plugin {
  type=space
  Config {
    Size=4
  }
  expand=0
}
Plugin {
  type=launchbar
  Config {
    Button {
      id=lxde-x-www-browser.desktop
    }
    Button {
      id=pcmanfm.desktop
    }
    Button {
      id=lxterminal.desktop
    }
  }
}
Plugin {
  type=space
  Config {
    Size=8
  }
  expand=0
}
Plugin {
  type=taskbar
  expand=1
  Config {
    tooltips=1
    IconsOnly=0
    ShowAllDesks=0
    UseMouseWheel=1
    UseUrgencyHint=1
    FlatButton=0
    MaxTaskWidth=200
    spacing=1
    GroupedTasks=0
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
  expand=0
}
Plugin {
  type=tray
  Config {
  }
}
Plugin {
  type=ejecter
  Config {
    AutoHide=1
  }
}
Plugin {
  type=space
  Config {
    Size=82
  }
  expand=0
}
Plugin {
  type=volumepulse
  Config {
  }
}
Plugin {
  type=micpulse
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=dclock
  Config {
    ClockFmt=%R
    TooltipFmt=%A %x
    BoldFont=0
    IconOnly=0
    CenterText=1
  }
}

MarkDH102
Posts: 674
Joined: Fri Feb 13, 2015 3:18 pm

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 6:53 am

I don't see anything that should make my system any different. I have a few more icons across the bottom for quick launch.
I can't SCROT the screen with the menu open so can't show you but it definitely says "Logout".
Just a standard 'pi' user. No other users.

Code: Select all

[Command]
Logout=lxde-pi-shutdown-helper

Code: Select all

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
  edge=bottom
  align=left
  margin=0
  widthtype=percent
  width=100
  height=36
  transparent=0
  tintcolor=#000000
  alpha=0
  autohide=0
  heightwhenhidden=2
  setdocktype=1
  setpartialstrut=1
  usefontcolor=0
  fontsize=12
  fontcolor=#ffffff
  usefontsize=0
  background=0
  backgroundfile=/usr/share/lxpanel/images/background.png
  iconsize=36
  monitor=0
  point_at_menu=0
}
Plugin {
  type=smenu
  Config {
    padding=4
    image=start-here
    system {
    }
    separator {
    }
    item {
      image=system-run
      command=run
    }
    separator {
    }
    item {
      image=system-shutdown
      command=logout
    }
  }
}
Plugin {
  type=space
  Config {
    Size=4
  }
}
Plugin {
  type=launchbar
  Config {
    Button {
      id=pcmanfm.desktop
    }
    Button {
      id=lxterminal.desktop
    }
    Button {
      id=geany.desktop
    }
    Button {
      id=arduino-arduinoide.desktop
    }
    Button {
      id=realvnc-vncviewer.desktop
    }
    Button {
      id=chromium-browser.desktop
    }
    Button {
      id=thunderbird.desktop
    }
    Button {
      id=zulucrypt-gui.desktop
    }
  }
}
Plugin {
  type=space
  Config {
    Size=8
  }
  expand=0
}
Plugin {
  type=taskbar
  expand=1
  Config {
    tooltips=1
    IconsOnly=0
    ShowAllDesks=0
    UseMouseWheel=1
    UseUrgencyHint=1
    FlatButton=0
    MaxTaskWidth=200
    spacing=1
    GroupedTasks=0
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=tray
  Config {
  }
}
Plugin {
  type=updater
  Config {
  }
}
Plugin {
  type=ejecter
  Config {
    AutoHide=1
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=bluetooth
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=netman
  Config {
  }
}
Plugin {
  type=dhcpcdui
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=volumepulse
  Config {
  }
}
Plugin {
  type=micpulse
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=dclock
  Config {
    ClockFmt=%R
    TooltipFmt=%A %x
    BoldFont=0
    IconOnly=0
    CenterText=1
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=ptbatt
  Config {
  }
}
Plugin {
  type=space
  Config {
    Size=2
  }
}
Plugin {
  type=magnifier
  Config {
  }
}
Plugin {
  type=cputemp
  Config {
  }
}
Plugin {
  type=cpu
  Config {
    ShowPercent=1
    Foreground=rgb(169,169,169)
    Background=rgb(211,211,211)
  }
}

pidd
Posts: 5154
Joined: Fri May 29, 2020 8:29 pm
Location: Wirral, UK

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 8:57 am

Just remembered I'm using openbox, it may be different on the default mutter?

MarkDH102
Posts: 674
Joined: Fri Feb 13, 2015 3:18 pm

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 9:15 am

Yes, I'm a vanilla install raspberry distro Bullseye 64 bit on a pi4.
Thanks for checking anyway.

User avatar
bensimmo
Posts: 6597
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 9:32 am

I'm going back some time in memory, but doesn't Logout appear either if you use the login screen or maybe it's if you start the desktop from a boot to terminal.


In other words, do you have the default auto login to desktop? or another option.

MarkDH102
Posts: 674
Joined: Fri Feb 13, 2015 3:18 pm

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 11:34 am

I have default auto login to desktop.

User avatar
kerry_s
Posts: 6512
Joined: Thu Jan 30, 2020 7:14 pm

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 12:17 pm

look in ~/.config/lxpanel/....

i remember changing the icon 1 time, so it should have name.

MarkDH102
Posts: 674
Joined: Fri Feb 13, 2015 3:18 pm

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 12:24 pm

kerry_s

look in ~/.config/lxpanel/....
I'm not seeing anything else in that folder other than the 2 files already shown earlier in this thread.

User avatar
kerry_s
Posts: 6512
Joined: Thu Jan 30, 2020 7:14 pm

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 12:32 pm

MarkDH102 wrote:
Sun Sep 24, 2023 12:24 pm
kerry_s

look in ~/.config/lxpanel/....
I'm not seeing anything else in that folder other than the 2 files already shown earlier in this thread.
right above image=system-shutdown try putting name=Shutdown

you'll most likely need to reboot for change to show.

MarkDH102
Posts: 674
Joined: Fri Feb 13, 2015 3:18 pm

Re: Possible on Bullseye to change taskbar raspberry button menu text?

Sun Sep 24, 2023 1:12 pm

kerry_s

right above image=system-shutdown try putting name=Shutdown
You're a star. That worked (after a reboot).
Many thanks.

Adam777
Posts: 19
Joined: Sun Nov 17, 2019 10:59 am

Re: Possible on Bullseye to change taskbar raspberry button menu text? [SOLVED]

Wed Sep 27, 2023 11:26 am

I just add, whether your menu says Logout or Shutdown probably depends on which english you have set as language (US vs UK)

MarkDH102
Posts: 674
Joined: Fri Feb 13, 2015 3:18 pm

Re: Possible on Bullseye to change taskbar raspberry button menu text? [SOLVED]

Wed Sep 27, 2023 12:03 pm

I just add, whether your menu says Logout or Shutdown probably depends on which english you have set as language (US vs UK)
For completeness, mine is set to UK. Which one should a UK user get? And why on earth is it different?

Return to “Raspberry Pi OS”