2010/11/19 Waluyo Adi Siswanto <[email protected]>:
>> It works by using this command (from the terminal)
>>
>> QT_X11_NO_NATIVE_MENUBAR=1 lyx
>>
>
> Perhaps, for those using Ubuntu Netbook and have the same problem;
>
> a) Create a file lyx_command.sh
> #!/bin/sh
> QT_X11_NO_NATIVE_MENUBAR=1 lyx
> b) Change permission to "Allow executing file as program"
> c) Replace the previous lyx command (lyx %f) by browsing to lyx_command.sh
>
> Now clicking LyX menu under applications -> office, can see LyX with
> normal menus.
Proper script is that:
#!/usr/bin/env sh
QT_X11_NO_NATIVE_MENUBAR=1 lyx "$@"
Such version allows passing of invocation arguments.
--
Manveru
jabber: [email protected]
gg: 1624001
http://www.manveru.pl