From quanta Sat Oct 24 04:33:22 2009 From: "David C. Rankin" Date: Sat, 24 Oct 2009 04:33:22 +0000 To: quanta Subject: Re: [Quanta] Lost menu bar Message-Id: <200910232333.22399.drankinatty () suddenlinkmail ! com> X-MARC-Message: https://marc.info/?l=quanta&m=125635884804693 On Thursday 27 August 2009 12:36:30 am marbux wrote: > Hi, all, > > I was wrestling with another issue and without thinking long enough, > hid the Quanta menu bar. Now I can't get it back. Is there a keyboard > shortcut that will turn it back on? I checked the list archives but > didn't pop anything. > > Best regards, > > Paul > Sorry for the late reply, but I wanted to add something so it will be present in the archive. To get around the problem with updates over-writing my quanta toolbar (the system wide toolbar) I just include a check in my .bashrc file that checks to make sure the toolbar is mine and not the default. If a newer version has overwritten my toolbar, then the check routine copies mine back. For most distros, this will require sudo or root access. If you are interested, simply include the following function in your ~/.bashrc file and then every time you login, it will check to make sure your toolbar is still yours (of course the lines beginning with '#' are just comments): #--------------------------------------------------------------------------# ## functions #--------------------------------------------------------------------------# chkquantatb() { qpath=/opt/kde3/share/apps/quanta/toolbars/html stdtb=standard.toolbar.tgz dcrtb=standard.toolbar.tgz.dcr if ! diff ${qpath}/${dcrtb} ${qpath}/${stdtb} > /dev/null 2>&1; then sudo cp ${qpath}/${dcrtb} ${qpath}/${stdtb} fi } #--------------------------------------------------------------------------# # config checks #--------------------------------------------------------------------------# chkquantatb Just make sure you use the correct qpath path above and save a copy of your toolbar either in the directory where it normally resides under a different name (mine is 'standard.toolbar.tgz.dcr' above) or you will need to adjust the location in the copy call here: sudo cp ${qpath}/${dcrtb} ${qpath}/${stdtb} ^^^^^^^^^^^^^^^^^ This just keeps the installer from outsmarting me :p -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com _______________________________________________ Quanta mailing list Quanta@mail.kde.org https://mail.kde.org/mailman/listinfo/quanta