LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Increase menu button size in XFCE? (https://www.linuxquestions.org/questions/slackware-14/increase-menu-button-size-in-xfce-893597/)

kikinovak 07-25-2011 05:23 AM

Increase menu button size in XFCE?
 
Hi,

I'm running Slackware 13.37 with XFCE. I'm trying to increase the menu button size. I remember having succeeded in doing this with XFCE 4.2, but I unfortunately forgot to write down how I did that.

Any suggestions?

kikinovak 07-25-2011 05:38 AM

OK, I know now how I did increase the menu button size in XFCE 4.4 (not 4.2), but things seem to work differently with XFCE 4.6.

I've found an old series of SlackBuild scripts I wrote back in 2007, and here's the trick I used. After building the gtk-xfce-engine package, I did this:

Code:

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --sysconfdir=/etc/xfce \
  --enable-static=no

make
make install DESTDIR=$PKG

# Default to bigger icons
for FILE in `find $PKG/usr/share/themes -name 'gtkrc'`; do
        if grep -q 'gtk-icon-sizes = "gtk-menu=24,24"' $FILE ; then
                continue
        else
                echo " " >> $FILE
                echo "# Default to bigger menu icons:" >> $FILE
                echo "gtk-icon-sizes = \"gtk-menu=24,24\"" >> $FILE
        fi
done

Now I took a peek in /usr/share/themes, but the respective gtkrc files seem to have adopted a radically different syntax in the meantime.

Any clues?

PS: you may ask why I do this. This will eventually become the "production desktop" to install in our public libraries. A significant number of users who will use these desktops are older persons, and I try as much as possible to take various impairments into account, so I configure a huge panel with big icons, I choose the biggest window decorations I can find, and so the menu icon size is the last problem I have to solve here.

kikinovak 07-25-2011 05:59 AM

OK, I just stumbled over the solution. Looks like things have changes significantly from XFCE 4.4 to 4.6. The latter has adopted a gconf style configuration method. Here's the secret command:

Code:

xfconf-query -c xsettings -p '/Gtk/IconSizes' -s 'gtk-menu=24,24'
Looks nice, BTW. I'll send a screenshot as soon as I have installed a screenshooter app :)

kikinovak 07-25-2011 10:32 AM

Post scriptum: here's the screenshot I promised, so you see what it actually looks like.

http://www.microlinux.fr/images/xfce_bigmenu.png


All times are GMT -5. The time now is 06:35 AM.