LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-27-2012, 02:38 AM   #1
linuxlicious
Member
 
Registered: May 2011
Posts: 50

Rep: Reputation: 0
dynamic menu in Vtwm - need help getting it done


I have "upgraded" to Vtwm now due to it's improvements over Twm while it still has it's minimalist look and feel, but just like in Twm as soon as I make my own (V)Twmrc (by modifying the system.(v)twmrc file and saving it as .(v)twmrc in home) the the menu stops updating. Can someone help me get it back to the point where the menu is automatically updated?
 
Old 12-27-2012, 07:28 AM   #2
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 120

Rep: Reputation: 29
Hi

I do not understand what you mean by "menu stops updating". Did you have this functionality in twm ?

John
 
Old 12-27-2012, 03:52 PM   #3
linuxlicious
Member
 
Registered: May 2011
Posts: 50

Original Poster
Rep: Reputation: 0
I was kind of surprised by your reply, as if this shouldn't be possible, so to validate my claim I installed something via apt-get and as expected, the menu didn't update. Then I disabled/renamed my current config file so that Vtwm uses it's original system.vtwm file and behold, there is a new entry in the ugly maroon-grey menu. But as soon as I reactivate my custom config, the menu reverts to the state it was before I installed the program. Why does this happen? My custom config file is basically a copy of the system.vtwmrc file and I didn't touch the menu section! How do I get the dynamic menu working again?
 
Old 12-27-2012, 06:39 PM   #4
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 120

Rep: Reputation: 29
Hi,

I understand now, I was thinking you had somekind of dynamic menu where it would change without you having to change ~/.vtwmrc

My first guess is there may be a typo in your file, maybe a missing/extra quote. I have seen vtwm ignore the whole file or pieces of a file if something unexpected is seen.

Finding a typo is not the easiest thing to do, I have this issues plenty of times. But feel free to post ~/.vtwmrc or put it somewhere and I will try it on my system.

John
 
Old 02-28-2013, 11:23 PM   #5
linuxlicious
Member
 
Registered: May 2011
Posts: 50

Original Poster
Rep: Reputation: 0
Dang, I can't believe I forgot about this post. To get back at it - there was no typo in the config file, at least not any that I could detect. I was since forced to do a new install of Debian since I screwed something up and it wouldn't even boot anymore but now I'm back on VTWM with the same problem as in the menu refuses to update when I use a custom/modified config file (I copied the contents of 'system.vtmrc' to a file '.vtwmrc' and edited the desktop settings) but I'm now starting to think that the original config is somehow regularly put together with the menu output appended to it. The problem is that any changes that I do on the original config file disappear after some time (every time I install a program, I suspect) so how do I configure my vtwm desktop without losing my dynamic menu and wise versa?

PS: I wonder if I could use sed or something in a script to cut and paste the menu part into the custom .vtwmrc file and run it on startup? Would that work?

Last edited by linuxlicious; 02-28-2013 at 11:32 PM.
 
Old 03-03-2013, 08:46 AM   #6
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 120

Rep: Reputation: 29
Hi,

If I understand the issue, while inside vtwm, you changed something in a menu that is part of ~/.vtwmrc, once changed you expect the modification to be noticeable when you access the menu in vtwm ?

If that is what you are trying to do, you will need to perform a restart "f.restart" after the menu changed. I know of no other way for changes to take affect when ~/.vtwmrc is updated while executing vtwm. As far as I know updates to .vtwmrc while in vtwm are ignored until a restart happens.

John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
some icon file disappeared from the place menu in the main menu of ubuntu 11.04 how t shevos37 Linux - Newbie 1 10-10-2011 02:59 PM
Remove installer boot menu menu for Xubuntu live usb Claxton Linux - Software 4 09-22-2011 09:32 AM
Restricting Dynamic Ipaddress by based on Dynamic DNS host names karthik9110 Linux - Newbie 5 12-13-2009 11:46 PM
Fresh Install Of Distr From Network - Boot Menu, Need to pull up a menu of OS dist to SupermanInNY Linux - Distributions 0 01-22-2006 11:48 AM
Dynamic name resolution for dynamic IP merlin740 Linux - Software 2 10-04-2004 05:56 PM


All times are GMT -5. The time now is 01:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration