Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running lubuntu-desktop (quantal quetzal) which I installed after having started with the standard ubuntu install. It all works fine but when I run an application from the command line I get warnings in the terminal. For example emacs gives me

** (emacs:25391): WARNING **: Invalid borders specified for theme pixmap:
    /usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
borders don't fit within the image

** (emacs:25391): WARNING **: Invalid borders specified for theme pixmap:
    /usr/share/themes/Lubuntu-default/gtk-2.0/images/scrollbar_vertical.png,
borders don't fit within the image

Is there a way to stop this or is there another way to run emacs that works better for lubuntu-desktop?

share|improve this question
is there any effected functionality, or just the error message? You can use emacs in the terminal with emacs -nw (no window). – psny18 Dec 4 '12 at 3:00
I get this message when I run smplayer from the command line (using the ppa - ppa.launchpad.net/rvm/smplayer/ubuntu ) – Menachem Feb 26 at 18:41

2 Answers

This bug report says it is an issue with the theme, not the specific program running: https://bugs.launchpad.net/qbittorrent/+bug/789905

This page says the solution is to run sudo apt-get install lubuntu-.: http://www.richelbilderbeek.nl/CppMiscErrorInvalidBordersSpecifiedForThemePixmap.htm

I ran this solution and the problem went away (I was experiencing the problem when running smplayer [from the ppa] from the command line), but it seems like a bit of an overkill. I'm not sure which specific package was needed to install, since this command installed 17 packages for me:

blubuntu-look blubuntu-session-splashes blubuntu-theme blubuntu-wallpapers chromium-codecs-ffmpeg-extra gtk2-engines-murrine human-theme ldm ldm-lubuntu-theme lubuntu-artwork-10-04 lubuntu-artwork-10-10 lubuntu-artwork-11-04 lubuntu-artwork-11-10 lubuntu-artwork-12-04 lubuntu-elementary-icon-theme lubuntu-restricted-addons lubuntu-restricted-extras


dpkg -S '/usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png' tells me that null.png comes fromthe lubuntu-artwork package, so it is probably that one.

share|improve this answer

I'm running Kubuntu 12.10 and emacs package from

sudo add-apt-repository ppa:cassou/emacs

and I get

Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-toolbar-style' of type `GtkToolbarStyle' from rc file value "((GString*) 0x1357640)" of type `GtkToolbarStyle'

on start-up.

Before using the package I used to build emacs myself. And I had no warnings. So I guess the warnings are due to the package. Any way I can't see any problems with emacs even with this warning.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.