Skip to content

Replace of XKeycodeToKeysym

When I try to build my code with the X11 headers in Ubuntu 12.04 What is the expected result? Compiles. What happens instead? As a result of https://bugs.freedesktop.org/show_bug.cgi?id=5349 XKeycodeToKeysym is now properly marked as being deprecated. How to fix my code for warning free and correct build? Tha…

iconv any encoding to UTF-8

I am trying to point iconv to a directory and all files will be converted UTF-8 regardless of the current encoding I am using this script but you have to specify what encoding you are going FROM. How can I make it autdetect the current encoding? dir_iconv.sh terminal line Answer Maybe you are looking for enca…

mysql_upgrade not found

I’ve just upgrade my system, but Mysql don’t start: so I am asked to run myslq_upgrade, but it’s not present on the system… Any help? Answer Finally, I had to manually remove some of the package, rename old database and configuration file, reinstall things and it worked, but still no m…

How to create a zip file without entire directory structure

I am trying to create a zip file and want to preserve most of the directory structure, but not the rootdir as defined from the command line. The command I’m using is: I’d like it to recurse through bar and add all files with preserved directory structure (which it does). However I do not want &#82…

CMake complains “The CXX compiler identification is unknown”

I am following this thread and this one to build my own KDE without a sudo permission. Since there was no Git and CMake installed on the workstation. I just had them both installed under /home/< user> and added /home/< user>/bin and /home/< user>/lib to both PATH and LD_LIBRARY_PATH. Since K…