вторник, 15 май 2018 г.

Skype for linux under Slackware simple

Remove all skype packages

download RPM from skype site

do installation with:

rpm -i --nodeps -F /home/user/skypeforlinux-64.rpm

or
 rpm -i --nodeps -F --noscript /home/user/skypeforlinux-64.rpm

or

 rpm -i --nodeps --noscripts  /home/user/skypeforlinux-64.rpm

if DB error:
rpmdb --rebuilddb

Start skype

P.S.

After minimize skype can't be seen in tray. Start again raise window up.


rpm -i --nodeps --noscripts  /home/iv/downloads/skypeforlinux-64\(1\).rpm

неделя, 26 ноември 2017 г.

kvm "Guest has not initialized the display" yet

I has the problem with new VM for KVM.

just find good UEFI Variable file ( i just replace mine and that fix initial display problem)

So in all cases it's wrong option!

in my case it was 128kb  but in last compile from GIt was 512kb


Some notes:
https://firmware.intel.com/blog/accessing-uefi-variables-linux

zgrep CONFIG_EFI /proc/config.gz

https://github.com/tianocore/tianocore.github.io/wiki/OVMF

https://wiki.gentoo.org/wiki/Sakaki%27s_EFI_Install_Guide/Configuring_Secure_Boot






понеделник, 3 юли 2017 г.

wine 32 on 64 slack freetype touble

Missing freetype development files when try to compile wine 32 on 64 bit slack.

on my case:

less config.log

error in:

 configure:12631: freetype2 cflags: -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include

Error was missing function in zlib called from: libpng16

i just update zlib to last version and everything goes ok.

P.S.
I use 64 bit slackware with multilib
so i upgrade with:

convertpkg-compat32 -i zlib-1.2.11-i586-1.txz
upgradepkg /tmp/zlib-compat32-1.2.11-x86_64-1compat32.txz


teamviewer 12 font buttons troubles

Team viewer use wine 32 bit

you just need to INSTALL ( not upgrade): libpng-1.4.12-i486-1.txz
or similar it contains libpng 12 and 14

P.S.
install and delete script this lib's need ta stay just for teamviewer, if not remote /var/log/script/libpng-1.4.... next time when update system will delete them.

if you mistake and upgrade lib, just need to get previous version and upgrade whit him: libpng16 now

I use multi lib on 64 bit Slack so i: convertpkg-compat32 -i libpng-1.4.12-i486-1.txz
and install /tmp/libpng-compat32-1.4.12-x86_64-1compat32.txz

that's all

вторник, 29 октомври 2013 г.

smart phone tablet mtp kde slackware

My phone is LG p880 i think this will work with any phone MTP device.

( i have problem with speed that other tools provide )

Slackware 14 Current

1. mtpfs - http://www.adebenham.com/mtpfs/
- may be this is not really needed but ...
- by default you must have libmtp installed
- and big number of mtp commands.

2. put file in: /etc/udev/rules.d/69-libmtp.rules from

http://paste.ubuntuusers.de/407832/

file Look like:

# UDEV-style hotplug map for libmtp
# Put this file in /etc/udev/rules.d

ACTION!="add", GOTO="libmtp_rules_end"
ENV{MAJOR}!="?*", GOTO="libmtp_rules_end"
SUBSYSTEM=="usb", GOTO="libmtp_usb_rules"
GOTO="libmtp_rules_end"

LABEL="libmtp_usb_rules"

.
.
.

# nVidia CM9-Adam
ATTR{idVendor}=="0955", ATTR{idProduct}=="70a9", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Isabella Her Prototype
ATTR{idVendor}=="0b20", ATTR{idProduct}=="ddee", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

# Autoprobe vendor-specific, communication and PTP devices
ENV{ID_MTP_DEVICE}!="1", ENV{MTP_NO_PROBE}!="1", ENV{COLOR_MEASUREMENT_DEVICE}!="1", ENV{libsane_matched}!="yes", ATTR{bDeviceClass}=="00|02|06|ef|ff", PROGRAM="mtp-probe /sys$env{DEVPATH} $attr{busnum} $attr{devnum}", RESULT=="1", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

LABEL="libmtp_rules_end"

if not see you device in file add it manually.

3. restart UDEV daemon

4. when you connect Phone via USB - will see Device notifier Icon Slideup
 - choose between Camera mode and File Mode

 Must see something like:

mtp:/Your phone name

сряда, 7 август 2013 г.

hostapd with RTL8188cus without nl80211 on Raspberry Pi

 Just another branch of hostapd:( Raspberry Pi)

For: RTL8188cus - idVendor=0bda, idProduct=8176 ( module 8192cu )

http://www.jenssegers.be/blog/43/Realtek-RTL8188-based-access-point-on-Raspberry-Pi


1. remove original package

2. get source and compile and install:
wget https://github.com/jenssegers/RTL8188-hostapd/archive/v1.1.tar.gz
tar -zxvf v1.1.tar.gz
 
2.1 on the net you can find precompiled Binary! 

2.2 Set in hostapd.conf 
 
 driver=rtl871xdrv

3. start hostapd

четвъртък, 6 юни 2013 г.

Diablo 3 wine

Slow D3 and Update Start Trouble:
Slow problem:
Disable SGLS from Regedit - will cause some strange effects but add 10 fps.
Update Problems:
https://us.battle.net/support/en/article/deleting-battlenet-tools-folder-pc?utm_source=internal&utm_medium=support_forums&utm_campaign=BlizzardCS https://us.battle.net/support/en/article/deleting-the-battlenet-cache-folder-pc?utm_source=internal&utm_medium=support_forums&utm_campaign=BlizzardCS
Delete:
cd ~/.wine/drive_c/users/Public/Application Data rm -r Blizzard\ Entertainment/ Battle.net/ Launch Game normally - Agent will update and D3 start.
Check:
D3Debug.txt - in Diablo 3 Installation Dir

Diablo 3 Slow Log Out,
 Auction House disconnect after couple operations,
 Can't do multiple login logout,
 can't create another game without restart,
 can't change Hero without restart game: 

if you have second IP on Inet Interface try removing it and down other interfaces
 See if problem persist?
 In my case i have local IP on Internet interface and D3 is somehow use it so it cause trouble but not every time so it is difficult to find it.

I Hope it helps.