Results 1 to 5 of 5

Thread: Changing window button size on xfce4-panel

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Location
    Sheffield, UK
    Beans
    5
    Distro
    Ubuntu 9.10 Karmic Koala

    Changing window button size on xfce4-panel

    Hi all
    Hoping some XFCE guru can help me here:

    I'm trying to customize XFCE 4.8's panel so that the window buttons on the panel have no labels but are a bit wider than just the icon (50ish pixels or so). The settings menu on the panel only seems to offer the 2 extremes, not a specific width setting.

    Is there a way to do this, maybe a config file somewhere? I'm using Xubuntu 11.10 but if it can be done on another distro I'd be happy to switch.

    Thanks

  2. #2
    Join Date
    Dec 2011
    Beans
    Hidden!

    Re: Changing window button size on xfce4-panel

    i would be interested in this, too!
    *bump*

  3. #3
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Changing window button size on xfce4-panel

    You can configure the Window Buttons applet to not display labels by either:
    1. Right-click on the windows button applet (try right-clicking just to the right of the last button) and selecting properties (from the "Window Buttons" menu) OR
    2. Right-click somewhere on the panel, select Panel->Panel Preferences->Items tab, selecting Window Buttons and clicking on the "Edit" button.

    When you get to the Window Buttons configuration dialog, uncheck "Show button labels".

    The size of the icons is not directly configureable, but if you change the size of the panel itself, the size of the icons will change.

  4. #4
    Join Date
    Dec 2011
    Beans
    Hidden!

    Re: Changing window button size on xfce4-panel

    thanks toz,
    but as far as i understand th op, we want to specify the (max.) width of the window buttons. which is not an option in the properties gui.
    at least that's what i'd like to do

  5. #5
    Join Date
    Dec 2011
    Beans
    Hidden!

    Re: Changing window button size on xfce4-panel

    i found it.
    add this to ~/.gtkrc-2.0:

    style "xfce-tasklist-style"
    {

    # The maximum length of a button before the label ellipsizes.
    # When this value is set to -1 the button will expand to the
    # entire available space.
    XfceTasklist::max-button-length = 50 # pixels. or whatever size you like

    }
    class "XfceTasklist" style "xfce-tasklist-style"
    please stick to the facts and be kind.
    what else can you do when you don't know each other.
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . my avatar

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •