You are not logged in.

#1 2013-11-01 15:50:20

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

[Solved] IceWM menu and placing gedit there

Hi all. I want to add gedit to menu of IceWM and to do this I add

prog    Gedit               /usr/share/help/ar/gedit/figures/gedit-icon.png              'GDK_CORE_DEVICE_EVENTS=1 gedit'

to "~/.icewm/menu". The problem is that with "GDK_CORE_DEVICE_EVENTS=1" this menu line won't show in menu. It will only if I add the line this way:

prog    Gedit               /usr/share/help/ar/gedit/figures/gedit-icon.png              gedit

I tried

prog    Gedit               /usr/share/help/ar/gedit/figures/gedit-icon.png              "GDK_CORE_DEVICE_EVENTS=1 gedit"

and

prog    Gedit               /usr/share/help/ar/gedit/figures/gedit-icon.png              GDK_CORE_DEVICE_EVENTS=1 gedit

No luck. But without "GDK_CORE_DEVICE_EVENTS=1" mouse wheel scrolling doesn't work. What would be a solution?

Last edited by Mr. Alex (2013-11-01 17:43:36)

Offline

#2 2013-11-01 16:20:43

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [Solved] IceWM menu and placing gedit there

I don't have exactly your case, but try the following:

prog    Gedit               /usr/share/help/ar/gedit/figures/gedit-icon.png          bash -c    "GDK_CORE_DEVICE_EVENTS=1 gedit"

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2013-11-01 17:43:21

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: [Solved] IceWM menu and placing gedit there

Yeah, thanks, it helped!

Offline

Board footer

Powered by FluxBB