Installing rsvg lib on second install of Python

I have two installs of python on my RHEL server, one at version 2.4.x (which is the general install by RHEL, updated using yum) and a 2.6.x version that I use for Django as well as just everyday scripting (installed from source). I’d like to get the rsvg library working for Python 2.6.x. It is … Read more

X11 from ssh on Mac OSX to Linux server doesn’t work — Gtk-WARNING **: cannot open display

I installed a program wireshark on my remote linux box and I’m trying to run it with X11 from my mac computer using SSH. Here’s my terminal… macosx$ echo $DISPLAY /tmp/launch-f4w6k6/:0 macosx$ ssh -X root@myserver.com root@myserver.com’s password: remoteubuntu:~# echo $DISPLAY remoteubuntu:~# wireshark (wireshark:18927): Gtk-WARNING **: cannot open display: Here’s a few lines from /etc/ssh/sshd_config X11Forwarding … Read more

dpkg reports gtk is installed, but make can’t find it

I’m trying to compile a non-commercial biological database system on an AMD64 ubuntu machine (running 14.04), and I can’t get it to work yet. The database relies on gtk+-2.0, but can’t find it. I did this: % dpkg -l libgtk2.0-0 libgtk-3-0 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii … Read more

Dpkg broken pipe error when using os.popen in Python [closed]

This question was closed because it is not about an official Ubuntu flavor. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Ask Ubuntu. Closed 6 years ago. Improve this question I’m experimenting with Gtk+ 3 and I’m creating a program which gets the output of … Read more

Flatpak themes glitching out?

Today I installed a Flatpak, but it was acting weird. I installed two more, and they also were acting weird. I am aware that Flatpak themes do not use GTK themes, rather their own theme, but why is this happening?It seems that the Adwaita theme is reversed on some flatpaks (Adwaita turned into Adwaita-dark!) but … Read more

Avahi gtk style provider error/ avahi-daemon won’t start

So, just got a Raspberry Pi, and I’m trying to connect to it via mDNS. However, when trying to start avahi-daemon on my WSL2 kali-linux distribution sudo service avahi-daemon start I get Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon failed! I already installed avahi-daemon avahi-discover avahi-utils libnss-mdns and mdns-scan. Also, when I run avahi-discover Unable to init … Read more

gtk themes on kde unreadable

I am running Manjaro KDE and today I discovered that my gtk themes aren’t working, instead gtk applications tend to have white on white = unreadable. How can I fix this? I have tried setting the env variable gtk2rc. I have tried deleting .gtkrc-2.0 file. example anydesk Answer From white-on-off-white Go to Kde system settings, … Read more