Giter Site home page Giter Site logo

9menu's Issues

no focus?

I am using 9menu on Ubuntu 18 with Xfce.
Everyting works fine, but the 9menu window never gets the focus, so I cannot use the keyboard (UP, DOWN, ENTER), but have to use the mouse.
Is it a problem with 9menu or Xfce?

What about using Meson?

I have tried to build 9menu using xmkmf, but it complained about not finding 9menu.man

So I wrote a simple meson.build file:

# meson.build for 9menu
# license: public domain
project ('9menu', 'c')

executable ('9menu', '9menu.c',
            install: true,
            dependencies: [ dependency('x11'),
                            dependency('xext') ])
install_man ('9menu.1')

And it compiled just fine.

geometry option seems to have no effect

It seems that 9menu ignores the geometry option on Debian Jessie with Mate unless I am missing something obvious. :)
9menu -geometry 50*50 -fg black -bg green ...

Regardless of geometry settings the location does not change.

/edit
Well, I don't know what the heck happened after a reboot all is good!

menitem starting with - in a file fails with usage error

I tried to use "-------" (as a delimiter sign) as a menitem in a file, but this leads to error usage:

framstag@juhu:~: 9menu -popup -file /home/framstag/.9menu/main
usage: 9menu [-display displayname] [-font fname] [-file filename] [-path][-geometry geom] [-shell shell] [-label name] [-popup] [-popdown] [-iconic] [-teleport] [-warp] [-version] menitem:command ...

framstag@juhu:~: cat /home/framstag/.9menu/main
xxterm:exec xxterm
mutt:exec xxterm -e mutt -R
chromium
thunar
[ssh]:exec 9mm ssh

xkill
xfce4-settings-manager
xfce4-about
chvt 1
logout:xfce4-session-logout
exit

I suspect 9menu parses the content of a file as arguments, which makes no sense.

Best solution (for me) would be a dedicated not-cklickable delimiter symbol similar to HML


menu stops being visible under Openbox

I realize Openbox is not the target environment, but if anyone has suggestions I'd appreciate them, because 9menu works well for me generally & would be perfect for what I want to do in this case if the menu would quit spontaneously hiding. This is under a plain Openbox under a light Ubuntu 18.04 built up from the mini.iso.
This command gives a menu:
9menu -label 'viewnior image - persistent floating 9menu' -font "-*-dejavu sans-medium-r-*-*-40-*-*-*-*-*-*-*" -bg "#000000" -fg "#ffffff" rename 'move to' 'copy to' "<---> flip" "^v flip" "90 Right" 180 '90 Left' junk exit
but it disappears after a while without any evident reason.
wmctrl -l shows it's still running & wmctrl -a will make it visible again, but it doesn't show up on Openbox's menu of running windows (kind of like a task bar).
My Openbox rc.xml has 2 stanzas, which should keep it visible, but don't. Code tags chopped off the first of this for some reason so I'll try multiple pastes:
<application class="9menu">
<decor>yes</decor>
<focus>yes force="yes"</focus>
<layer>above force="yes"</layer>
<maximized>no</maximized>
<skip_taskbar>no</skip_taskbar>
<iconic>no</iconic>
<skip_pager>no</skip_pager>
<skip_taskbar>no</skip_taskbar>
</application>
And this one specific for the window should take precedence:
<application title="viewnior image - persistent floating 9menu">
<decor>no</decor>
<focus>no</focus>
<layer>above force="yes"</layer>
<maximized>no</maximized>
<skip_taskbar>no</skip_taskbar>
</application>

[Esc] for exit?

I have a feature request:

It would be nice to have [Esc] for exit/close!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.