ugly linux gui

Avast for Linux has a very ugly GUI. The interface doesn’t use my gtk theme and its fonts are horribly rendered. It’s probably because Avast uses a statically linked gtk libraries instead of dynamically linked ones.
I’m using Ubuntu 7.10.
See the attached screenshot.

Yeah… it will be good a great improvement on the GUI for Linux…
Welcome to avast forums.

Hallo,
there’s a wrapper that checks for compatible libs on your machine, and when there’s an error, it uses its own basic version libs that come with the application.

sinclair:/mnt/storage/t/10-3-08/buildF# objdump -x /usr/lib/avast4workstation/bin/avastgui

Dynamic Section:
NEEDED libgthread-2.0.so.0
NEEDED libgtk-x11-2.0.so.0
NEEDED libgdk-x11-2.0.so.0
NEEDED libatk-1.0.so.0
NEEDED libgdk_pixbuf-2.0.so.0
NEEDED libm.so.6
NEEDED libpangox-1.0.so.0
NEEDED libpango-1.0.so.0
NEEDED libgobject-2.0.so.0
NEEDED libgmodule-2.0.so.0
NEEDED libdl.so.2
NEEDED libglib-2.0.so.0
NEEDED libesmtp.so.5
NEEDED libpthread.so.0
NEEDED libavastengine-4.so.7
NEEDED libc.so.6
NEEDED libX11.so.6
SYMBOLIC 0x0

pc

Sorry to bring back this old topic but his there a way to find out which libraries Im missing? Im sure I have all of them already but it still gives me that ugly interface

well ,

to avoid this ugly GUI , use avast in commandline mode !!!

that’s what I do and it’s easier and faster. :wink:

having them = avast will use them, probably with this ugly result.
having NOT them = avast will use its own libs, which will give standard result

you can edit the wrapper script to confuse the checks and forcing use of packed-in libs:
if test “x$AVAST_FAILSAFE” != “x1” ; then
if test “x$AVAST_PREFIX/bin/testlibs-avastengine 2>/dev/null” = xOK ; then
has_avastengine=1
fi
if test “x$AVAST_PREFIX/bin/testlibs-esmtp 2>/dev/null” = xOK ; then
has_esmtp=1
fi
if test “x$AVAST_PREFIX/bin/testlibs-x11 2>/dev/null” = xOK ; then
has_x11=1
fi
if test “x$AVAST_PREFIX/bin/testlibs-gtk 2>/dev/null” = xOK ; then
has_gtk=1
fi
fi

… just comment this out (or change those =1 to -0). this would do the job.

Yes, that’s what I would say too :). There are plenty of tasks where the command line does the job better… but some people dislike this oldskool wonder … maybe because it reminds the times when computers were really computers :).;

pc

Follow these instructions for a nicer GUI:

If you like to use GTK 2.x then work your way to the avast directory. Code:

cd /usr/lib/avast4workstation

Then just remove the

sudo rm -rf lib-x11/

and

sudo rm -rf lib-gtk2/

http://ubuntuforums.org/showthread.php?t=229128

Those commands work great! However, in order to avoid a difficult-to-reverse error, might I suggest you use the the following alternate commands that are non-destructive:

cd /usr/lib/avast4workstation
sudo mv lib-x11 lib-x11~
sudo mv lib-gtk2 lib-gtk2~

as you could easily restore the directories.

But thanks for the post! I registered just to acknowledge that this did the trick wonderfully!

Thanks Mark, but the advice was from the Ubuntu forum, so they deserve the thanks.

Does the avast4server have a GUI thingy too? I would love to have one.

hallo,
it’s a daemon, in the fact → a thing that starts silently from sysv-init structure at the beginning, and thus, any user-interaction dependence is not what we want here. yes, we can think about some gui for setting its configuration file, but - aren’t vi or emacs the best tool for it? :).

regards,
pc

I see. I was hoping for a more visual type than using the avastcmd (that comes with avast4server) for manually scanning the system. The server is actually in my work client’s machine. They know very very little of Linux and are used to Windows that they kinda need a GUI. Nevertheless, it’s fine at the moment.

avastcmd has nothing to do with the avastd’s server suite - it’s a standalone cmdline tool, working on its own. maybe you are talking about avastlite? for local scans, there’s avastgui (with gui, of course).

regards,
pc