The workaround is (risky)

sudo apt-get install gksu
gksu-properties

Set identification mode as sudo and close a window

Use only:

gksu goldendict

It causes the dictionaries recognition process only once and works normally.
The main disadvantage is an invisibility of the resident icon in the top panel 
(but the program stays resident in the memory!). If You close a dictionary 
window You may run gksu goldendict (or sudo goldendict until next 
reboot/logoff) again. Until next reboot goldendict can not be run as a user 
with the following error in backtrace (the program stays in the memory as root):

The program 'goldendict' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 395 error_code 10 request_code 33 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


Also using Internet dictionaries as root possibly can be helpful for attackers.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1198972

Title:
  GoldenDict can not import stardict dictionaries

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/goldendict/+bug/1198972/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to