System Tray Config?
  • Mr_LinuxMr_Linux
    PMPosts: 72
    I right click a panel, add / remove panel items. 

    image

    +Add button, System Tray

    image

    Here is my question, how do I set the items in the system tray?  The Preferences are greyed out.

    image

    I did some research and found, ~/.config/lxpanel/LXDE/panels/panel

    has this in the file but no clues as to how to use it?

    Plugin {
      type=tray
      Config {
      }
    }

    I assume I should be able to assign programs and services to the system tray.
  • lxlelxle
    PMPosts: 2,656
    It's the notification area. It houses icons like network control etc.
  • Mr_LinuxMr_Linux
    PMPosts: 72
    I understand the function of the tray, to display the status of networks, batteries, printers, etc.. However, should I have some control as to the visibility of the controls within the block? 

    Maybe the designer's vision was to keep it simple as Lightweight is the "L" in LXpanel. 

    Meanwhile, during my browsing of various blogs and forum threads, I found the notifier is very fun to play around with;
    $ notify-send "Warning! System will self-destruct in 10 seconds."
    Linking this command to a common keyboard hot key and having anyone peeking... 
  • lxlelxle
    PMPosts: 2,656
    notify-send is what I used to display the keyboard shortcuts
  • Here is some fun tweaks to explore in lxpanels...
    -------8<----cut here---------->8-----------
    # menu style - place inside $HOME/.config/lxpanel/LXDE rename to gtkrc
    style "menu"
    {
       # menu background color 
       bg[NORMAL] = "#000000"
       # left and right menu border size
       xthickness  = 10
       # top and bottom menu border size
       ythickness  = 10
    }

    # menu items style
    style "menu_item"
    {
       # item colors by state
       bg[PRELIGHT] = "#0000dd"
       fg[NORMAL]   = "#00000a"
       fg[PRELIGHT] = "#ffffff"

       # horizontal spacing before and after menu items
       xthickness   = 10
       # vertical spacing between menu items
       ythickness   = 10

       # menu items font: family - style - size
       font_name    = "monospace 14"
    }

    # Warning, I commented this stuff out as over time it seems to break
    # the lxpanels icons.  I think it maybe conflicting with the application settings?
    # Experimental:
    # gtk-icon-sizes = "gtk-menu=30,30"

    #gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-menu=16,16:gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:gtk-button=16,16"
    -------8<----cut here---------->8-----------

    If you have issues (as I do) see the fonts, I set mine to monospace 14.