Support thread for jgmenu
jgmenu is now in the Arch community repo
Excellent.
Iām sure I saw a screenshot showing power off, reboot icons etc? Is this possible with Jgmenu @malm?
I didnāt think the utility of another menu would be much use to me but Iāve found myself using jgmenu more and more & itās incredibly easy to modify. Really nice @malm & thanks.
I donāt use it often as I normally use Rofi to launch anything, but I really like jgmenu.
Thanks.
This includes an example of how you can implement poweroff, etc.
This is how we used it before lx, pmenu and xdg existed.
https://github.com/johanmalm/jgmenu/blob/master/docs/default.csv
With the current ArchLabs setup, if you add the following to ~/.config/jgmenu/append.csv you get something similar
Exit to prompt,openbox --exit,system-log-out
Suspend,systemctl -i suspend,system-log-out
Reboot,systemctl -i reboot,system-reboot
Poweroff,systemctl -i poweroff,system-shutdown
If you set the following in ~/.config/jgmenu/jgmenurc
csv_cmd = ob
you get the āArchLabsā (~/.config/openbox/menu.xml) menu. This can be quite useful on Window Managers other than openbox.
You could also build this into the current menu using ^pipe()
Is append.csv a current file? I donāt seem to have anything but jgmenurc in ~/.config/jgmenu
Put this in your ~/.config/jgmenu folder as append.csv
Web Browser,firefox,firefox
File Manager,pcmanfm,system-file-manager
Terminal,xterm,utilities-terminal
Music Player,pgrep mpd || mpd; xterm -e āncmpcppā,multimedia-player
Lock,i3lock -c 000000,system-lock-screen
Run,dmenu_run -fn ā--dejavu sans-medium-r----------*ā,system-run
Settings and Admin,^checkout(settings),folder
Exit,^checkout(exit),system-shutdownSettings and Admin,^tag(settings)
Wifi,xterm -e āsudo wifi-menuā,network-wireless
Sound,pavucontrol,multimedia-volume-control
Printers,firefox http://localhost:631/admin,printer
Background image,nitrogen ~/bg/,preferences-desktop-wallpaper
Colour Picker,yad --color --button=OK --undecorated --center,color-picker
Update system,xterm -e āsudo pacman -Syyu; bashā,system-software-updateExit,^tag(exit)
Exit to prompt,openbox --exit,system-log-out
Suspend,systemctl -i suspend,system-log-out
Reboot,systemctl -i reboot,system-reboot
Poweroff,systemctl -i poweroff,system-shutdown
I copied this from @malmās link. Works well here.
Hmmm, for whatever reason⦠To add āonlyā the logout commands to jgmenu I needed to do this:
Exit,^checkout(exit),system-shutdown <ā(This line needed to be retained)
Exit,^tag(exit)
Logout,openbox --exit,system-log-out
Reboot,systemctl -i reboot,system-reboot
Poweroff,systemctl -i poweroff,system-shutdown
Good stuff.
You can use both prepend.csv and append.csv.
See tutorial ālesson 9ā
@anon37345411
Yes.
See āLesson 6ā in the tutorial for some notes on ^tag() and ^checkout()
Thanks malm itās working perfectly & I will
i change repo my arch labs my start menu keep not showing
We should soon get that sorted.
Could you paste the output to the following:
sudo pacman -Ss jgmenu
pacman -Qi jgmenu
jgmenu --version
What happens if you run jgmenu
from a terminal?
Could you also do
pacman -Qs jg
A jgmenu user has reported an issue with xinerama with a new gaphics card (github issue #61)
Iāve replaced xinerama with xrandr on branch ādevā and
tested it on my machine.
If anyone has a multi-monitor setup and feels taking it for a quick test drive, Iād be most grateful. Itās the sort of change that could break things and Iām keen to gain some confidence before merging with the āmasterā branch.
The steps would be as follows
git clone -b dev https://github.com/johanmalm/jgmenu
cd jgmenu
make
killall jgmenu
JGMENU_SCREEN_INFO=1 ./jgmenu
Press F10 to exit jgmenu
Move pointer to a different monitor
JGMENU_SCREEN_INFO=1 ./jgmenu
Hey, first of all thank you for jgmenu, itās one of those great tools that remind me what I love about Linux. I guess this is more of a bspwm question than a jgmenu question, so feel free to ignore it, Iāll repost it in the forums.
Do you have any idea on how can I bind jgmenu with bspwm/sxhkd to launch it when right clicking on the desktop? I love the Openbox root menu and the tiling of bspwm and I would like to combine the best of both worlds . I saw itās possible with other WMs, but I canāt figure out how to do it with bspwm.
Even a small push in the right direction will be greatly appreciated.
Thanks!