[Howto] GTK+ and poppler (minimal example)

posted in: computer | 0

minimal working example, which creates a GTK-window and displays the first page of the given pdf-file.(compile with command: gcc example.c -o example `pkg-config –cflags –libs gtk+-3.0 poppler poppler-glib`) versions: GTK+ 3.24.23-2 and poppler-20.09.0-2

[Howto] GTK+ and cairo (minimal example)

posted in: computer | 0

minimal working example, which creates a GTK-drawing-area and draws ‘Test.’ inside.(compile with command: gcc example.c -o example `pkg-config –cflags –libs gtk+-3.0`) versions: GTK+ 3.24.23-2 and cairo 1.16.0-4

[FAQ] QElectroTech

posted in: computer, electronics | 0

Q: How to show power-contacts in contact-table?A: menu “project” –> menu-entry “project-properties” –> Tab “new folio” –> Tab “cross-references” –> type-entry “coil” –> enable “show the power contacts in the cross” Q: What is the difference between “label formula” and … Continued

[Howto] OpenBox – default to maximized windows

posted in: computer | 0

The following configuration let openbox open all windows maximized per default: edit ~/.config/openbox/rc.xml and insert in the <applications>-tags: reconfigure running openbox (Desktop –> rightclick –> reconfigure) or restart openbox. Now all applications open in maximized windows. further informations: http://openbox.org/wiki/Help:Applications If … Continued

[Howto] GTK3 with CSS (minimal example)

posted in: computer | 0

It is a working example for a button, which changes its color while mouse-over. gtk-version:   3.24.12-1 note:  the css-property “background-image: none” is sometimes mandatory, because the default theme prevents displaying the css-defined background-color. The workaround is to set the … Continued

[Howto] FreeBSD v12 and TP-Link TL-WN725N WLAN-Stick

posted in: computer | 0

OS: FreeBSD 12.0-RELEASE-p4 amd64 WLAN hardware: TP-Link TL-WN725N (builtin REALTEK RTL8188EU chipset) insert the USB WLAN-stick to your computer check, if the kernel recognizes the usb-stick: dmesg and check the output load the corresponding kernel-modules: kldload rtwn.ko and kldload if_rtwn_usb.ko … Continued