I did re-install salix-update-notifier. However, the issue still exists.
zenity is there in my system.
when I run the command "salix-update-notifier" from the terminal, nothing happens. It just sits there.
Thanks,
Balaji.
[SOLVED] Update Notifier not working
Re: Update Notifier not working
Thanks atip. But Balaji has zenity, because he is seeing the dialogue. What the notifier does if you answer yes is call gslapt using gksu, so if that works in a terminal, the notifier is unmodified, gslapt is unmodified, I am at a loss as to what may be going wrong.
That is why I also asked
That is why I also asked
Since it works on my system (but it would be great if anyone reading could test theirs, or report any similar trouble they may be having) it must be something you unwittingly changed (or has it been so since you installed?). This can be hard to pin down and for serious problems, or if you find it sufficiently irritating, it may be easiest to reinstall.mimosa wrote:mimosa wrote: Can you remember when you started seeing this behaviour, and anything you did at the time (just beforehand) to change anything?
Re: Update Notifier not working
I don't remember exactly when this issue started happening. It was sometime next week. I do remember two things that I did last week.mimosa wrote:mimosa wrote: Can you remember when you started seeing this behaviour, and anything you did at the time (just beforehand) to change anything?
1. Install chartnexus software.
2. Installing lxmed (LXDE Menu Editor). For some reason, LXDE Menu Editor threw some error message and in order to get it work, I did install libgksu using slapt-get and gksu using slapt-src. This could be the starting point of the issue.
Thanks,
Balaji.
Re: Update Notifier not working
I believe this is what caused your problem. Salix uses gnsu for superuser privelages. When gnsu is install it creates symbolic likes from gksu and gksudo to gnsu. These links where overridden when you installed these packages. Try removing both packages, with spkgpnbalaji wrote:I did install libgksu using slapt-get and gksu using slapt-src. This could be the starting point of the issue.
Code: Select all
$ sudo spkg -d libgksu gksudo
Code: Select all
$ cd /usr/bin
$ ln -s gnsu gksu
$ ln -s gnsu gksudo
Code: Select all
$ sudo slapt-get -i --reinstall gnsu
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Re: Update Notifier not working
Thanks, I will try this once I am home.
Thanks,
Balaji.
Thanks,
Balaji.
Re: Update Notifier not working
Ok, I removed libgksu and gksu and reinstalled gnsu.
When I run the LXDE Menu Editor from command line, I get the following message.
The gksu command in the script /usr/bin/lxmed was something like "gksu --message "some text" '/usr/bin/java -jar LXDEMenuEditor.jar". It looks like the stock version of gksu does not support the --message parameter. So, I edited the script and removed the --message parameter. Now, LXDE Menu Editor runs fine without any issues.
I need to wait for the update notifier to notify of me next updates to see whether the issue is completely fixed or not.
Anyway, thanks for your help. Without the forums, I may not have figured out on my own.
Thanks,
Balaji.
When I run the LXDE Menu Editor from command line, I get the following message.
Code: Select all
bash-4.3$ /usr/bin/lxmed
sudo: unrecognized option '--message'
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-C num] [-g group] [-h host] [-p prompt] [-T timeout]
[-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C num] [-g group] [-h host] [-p prompt] [-T timeout]
[-u user] file ...
I need to wait for the update notifier to notify of me next updates to see whether the issue is completely fixed or not.
Anyway, thanks for your help. Without the forums, I may not have figured out on my own.
Thanks,
Balaji.
Re: Update Notifier not working
Where did you get your lxmed package? The package from Slackbuilds doesn't have the "gksu --message" part of that line. If you would have use the Slackbuild package you would not have run into your problem. Having said that, as it set up, the Slackbuild lxmed doesn't run with root privileges, which result in not being able to edit or change any of the existing menu items. So you were going to need to edit the /usr/bin/lxmed script or the /usr/share/application/ lxmed.desktop file anyway.pnbalaji wrote:The gksu command in the script /usr/bin/lxmed was something like "gksu --message "some text" '/usr/bin/java -jar LXDEMenuEditor.jar".
There really isn't a "stock" version of gksu. Niether Salix nor Slackware includes the gksu package in their main repository. Slackware dropped the gksu package a while back and Salix (gapan) came up with an alternative (http://salixos.blogspot.com/2013/11/the ... oblem.html) to deal with launching applications from the menu with elevated privaleges.pnbalaji wrote: It looks like the stock version of gksu does not support the --message parameter.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Re: Update Notifier not working
I am not sure from where I have downloaded the LXDE Menu Editor. It has been couple of years ago. My favourite DE has been XFCE till now and XFCE does not offer an easy way to edit the menu items. I found this LXDE Menu Editor to be useful to add/make changes to the XFCE menu.
gksu was not in gslapt, but available in sourcery. When I installed gksu using sourcery, it supported the --message parameter.
Thanks,
Balaji.
gksu was not in gslapt, but available in sourcery. When I installed gksu using sourcery, it supported the --message parameter.
Thanks,
Balaji.
Re: Update Notifier not working
Sourcey is a graphical front end to slapt-src. Slapt-src buildd packages from sources an SLACKBUILDs from Slackbuild.org.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Re: Update Notifier not working
Yes, I guess gksu is from slackbuilds.org.
Thanks,
Balaji.
Thanks,
Balaji.