You are not logged in.

#1 2014-04-14 06:53:00

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

How do I make TWM/VTWM menu update itself on startup/restart?

New to Arch and loving it! One problem though - I'm a big fan of TWM/VTWM, and during my Debian days I used to run a little script that appends the contents of menudefs.hook (located in /etc/X11/vtwm/) to my special custom (v)twmrc file whenever I started or restarted (V)TWM. To make it work I had to adjust the user rights of menudefs.hook so that my (user)script can read it's contents. Anyways, I degress - since there is no such thing as menudefs.hook in Arch and /etc/X11/(v)twm, I tried my luck with using archlinux-xdg-menus, followed the instructions for using update-menus, and it works fine and good, but.. it doesn't update the menu automatically like it did in Debian and Gnome or KDE. I have to manually do sudo update-menus. That's not exactly how I wanted it to be. I want the menus to be update automatically on startup/restart or better when ever I install something. I don't want to have to terminal and type in a sudo password every time. Is there an easy way to automate this with little to no intervention?

Last edited by bloodyhell (2014-04-14 06:55:06)

Offline

#2 2014-04-14 07:04:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How do I make TWM/VTWM menu update itself on startup/restart?

Not a scripting issue, moving to Apps and DEs...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB