phillbush / xmenu

a x11 menu utility
Other
296 stars 26 forks source link

How to run examples #53

Closed Daniel-Lau-Malaysia closed 10 months ago

Daniel-Lau-Malaysia commented 10 months ago

Can somebody help me to run the examples with the Xresources file ? I try running it using sh xmenu.sh -N /home/daniel/xmenu/examples/Xresources . It shows the xmenu but does not seem to read the Xresource file as I have increase the font size and nothing happens

phillbush commented 10 months ago

Can somebody help me to run the examples with the Xresources file ? I try running it using sh xmenu.sh -N /home/daniel/xmenu/examples/Xresources . It shows the xmenu but does not seem to read the Xresource file as I have increase the font size and nothing happens

You should load the resources into X's resource database with xrdb:

$ xrdb -merge /home/daniel/xmenu/examples/Xresources

Then XMenu will read the resources from the resource database.

The -N option is meant for XMenu to read resources from a different name. For example, if you have these resources:

XMenu.background: blue
custommenu.background: red

Then running xmenu will use the first resource, while xmenu -N custommenu will read the second.