Tag: Gnome

Pidgin with Gadu-Gadu account enabled crashes or hangs fix

I like Pidgin because it allows me to have all communicator accounts in one place. However few weeks ago I was forced to use Kadu as my Gadu-Gadu client. Pidgin started to hang while trying to connect to Gadu-Gadu (or few seconds after it). Happily there is am easy way to fix this. First of all, we need to disable Gadu-Gadu account. To do so, we need to edit ~/.purple/accounts.xml file:

vim ~/.purple/accounts.xml

Now we need to find Gadu-Gadu section. There should be a tag like this:

<setting name='auto-login' type='bool'>1</setting>

We need to change the value to 0, so the Gadu-Gadu account won't start automatically. Thanks to this, it won't crash or hang whole Pidgin communicator.

<setting name='auto-login' type='bool'>0</setting>

Then start Pidgin, go to Accounts -> Add/Edit, edit the Gadu-Gadu account:

settings-1

Select the "Proxy" tab (the last one) and choose "No proxy" option. Click "Save" and restart Pidgin. Gadu-Gadu protocol should work like a charm.settings-2

Gnome 3 autocomplete crash, Filezilla drag&drop crash and shutdown without admin password

Since I'm using those hints from time to time, I've decided to put them here, so I don't need to google everytime I need them.

Gnome 3 autocomplete crash fix

Well to me honest, this isn't a fix but just a workaround, but hey! Wokrs for me ;)

sudo chattr +i ~/.local/share/recently-used.xbel

Filezilla drag&drop crash

sudo apt-get install curl
curl http://apt.wxwidgets.org/key.asc | sudo apt-key add -

Now let's add to /etc/apt/sources.list file:

deb http://apt.wxwidgets.org/ natty-wx main
deb-src http://apt.wxwidgets.org/ natty-wx main

and then:

sudo apt-get update
sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n

Ubuntu shutdown without admin password

To do this, we just need to change the policy for shutting down. Edit the /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy file and replace:

<action id="org.freedesktop.consolekit.system.stop-multiple-users">
  <description>Stop the system when multiple users are logged in</description>
  <message>System policy prevents stopping the system when other users are logged in</message>
  <defaults>
    <allow_inactive>no</allow_inactive>
    <allow_active>auth_admin_keep</allow_active>
  </defaults>
</action>

to:

<action id="org.freedesktop.consolekit.system.stop-multiple-users">
  <description>Stop the system when multiple users are logged in</description>
  <message>System policy prevents stopping the system when other users are logged in</message>
  <defaults>
    <allow_inactive>no</allow_inactive>
    <allow_active>yes</allow_active>
  </defaults>
</action>

Same for rebooting:

<action id="org.freedesktop.consolekit.system.restart-multiple-users">
  <description>Restart the system when multiple users are logged in</description>
  <message>System policy prevents restarting the system when other users are logged in</message>
  <defaults>
    <allow_inactive>no</allow_inactive>
    <allow_active>auth_admin_keep</allow_active>
  </defaults>
</action>

to:

<action id="org.freedesktop.consolekit.system.restart-multiple-users">
  <description>Restart the system when multiple users are logged in</description>
  <message>System policy prevents restarting the system when other users are logged in</message>
  <defaults>
    <allow_inactive>no</allow_inactive>
    <allow_active>yes</allow_active>
  </defaults>
</action>

Copyright © 2022 Closer to Code

Theme by Anders NorenUp ↑