LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2011, 05:23 AM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,382

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
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?
 
Old 07-25-2011, 05:38 AM   #2
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,382

Original Poster
Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
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.

Last edited by kikinovak; 07-25-2011 at 05:41 AM.
 
Old 07-25-2011, 05:59 AM   #3
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,382

Original Poster
Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
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
 
1 members found this post helpful.
Old 07-25-2011, 10:32 AM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,382

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

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing KDE menu items from XFCE menu kr4ey Slackware 8 03-14-2011 03:29 AM
KDE - increasing menu text size, icon size? arcanem4 Fedora 1 12-06-2007 02:08 PM
trying xfce: where's the start button? walterbyrd Linux - Software 3 07-08-2005 02:02 PM
Start Menu button (keyboard) --> K menu? apachedude Slackware 5 03-12-2005 02:46 AM
increase point size size when printing PDF files newlin Red Hat 0 09-27-2003 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration