07:34:00 pm by wdawe, Categories: General

Wondering why my Centos 8 system was behaving so badly tonight, being unresponsive to clicks and acting like it was swapping I fired up top. Top showed me that gnome-shell was quite frequently using 100% cpu. The bad behavior of gnome 3 on this machine has become more of an issue as it's the machine I took home from work to use during the Coronavirus lockdown.

I've was never a fan of gnome 3 and the Classic mode just hides all the ugliness behind an old user interface. I have searched Google on and off over the months, waiting for a prebuilt, rpm based Mate to to be available for Centos 8. The first result Google returns is a page that walks you through compiling mate from source. I might have resorted to that but why reinvent the wheely when someone else might have the done the work already. Luckily reddit user https://www.reddit.com/user/stenstorp/ came to the rescue of frustrated Centos 8 by putting up a repo where you can get the rpm's to install Mate on Centos 8.

I followed his instruction at https://copr.fedorainfracloud.org/coprs/stenstorp/MATE/ , rebooted the my machine and in 10 minutes I was using Mate.

Thanks again stenstorp.

If mate isn't your thing he has also ported the minecraft launcher, the budgie desktop and lightdm to Centos. Check out his repo at https://copr.fedorainfracloud.org/coprs/stenstorp/MATE/


  12:46:00 pm by wdawe, Categories: General

A worthwhile read on why you should not be running sshd in your container https://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/
Difference between RUN, CMD and ENTRYPOINT http://goinbigdata.com/docker-run-vs-cmd-vs-entrypoint/

Remove stopped containers: docker container prune
Run with volume mapping: docker run -v /outside_path7:/inside_path image_name ( add /bin/bash at the end to override the Dockerfile and add -it )
List all containers: docker container ls -all
List images: docker images
Remove image: docker rmi image_name
Export image as tarfile: docker save -o tarfile.tar image_name
Load exported image: docker load -i image.tar (This command works much better than import as it creates a container as part of the loading)
Update image with changes: docker commit container_name image_name
Update image with Dockerfile: docker build -t image_name .


FROM image_name
USER run_as_user
WORKDIR /home/user/directory
CMD run_this_command


  11:47:00 am by wdawe, Categories: General

I installed Centos 7 on an HP Stream which has too small of a drive to allow you to update Windows 10. Everything went well until I tried to connect to the network via wifi. The wifi connected but really didn't work. lspci shows that the machine uses a Realtek RTL8723BE PCIe Wireless Network Adapter.

Some Googling led me to https://askubuntu.com/questions/883673/rtl8723be-wifi-incredibly-weak on askubuntu.com. Running the following command as root and rebooting fixed the problem.
#sudo tee /etc/modprobe.d/rtl8723be.conf <<< "options rtl8723be ant_sel=1"

Recently I upgraded my kernel and ran into weak wifi again, I edited /etc/modprobe.d/rtl8273be.conf and changed ant_sel=1 to ant_sel=2 and everything was fine again.


  03:00:00 am by wdawe, Categories: General

After updating my media center I couldn't get the Yatse remote control app. on my android phone to work. After giving up and installing the official Kodi remote app. I did some looking around and realized that in Yatse host settings use event server was checked on the advanced tab. Unchecking that setting fixed the problem

Evidently the firewall on my media server was blocking that port which caused the remote to stop working when I upgraded my OS.


  05:07:00 am by wdawe, Categories: General

Created with one ls command, one vi command and the following two ffmpeg commands:

Save the names of the dashcam files to another file
ls *.avi > files


add the word file in front of each of the filenames so ffmeg can parse the input file
vi files
:1,$s/^/file /
ZZ (saves the file and exits)

file MOVI8642.avi
file MOVI8643.avi
file MOVI8644.avi
file MOVI8645.avi
file MOVI8646.avi
file MOVI8647.avi
file MOVI8648.avi
file MOVI8649.avi
file MOVI8650.avi
file MOVI8651.avi

Put the files together and speed them up
ffmpeg -f concat -i files -filter:v "setpts=0.0166*PTS" -an TtoOfast.mp4

Add music
ffmpeg -i TtoOfast.mp4 -i ~/Downloads/Curse\ of\ the\ Scarab.mp3 -codec copy -shortest TtoOfast_m.mp4


Cool web tools, EEPC tips and Linux info. Browse around, I'm sure you will find something to interest you.


  XML Feeds

Web Site Builder