Saturday, October 31, 2015
Wednesday, October 28, 2015
Compile GTK+ project
I have just dropped java swing and start using gtk+. I found pkg-config is not set autometically in Arch . pkg-config <enter> returns error message. pkg-config --libs or pkg-config --cflags returns unexpected results. After long tedious web search i found a right solution which works for me. Here is the syntax --
gcc -Wall -Wextra -std=c99 `pkg-config --cflags --libs gtk+-2.0` file.c -o appName <enter>
and my GTK+ code is compilled successfully.
Update ---
try to find dependencies --
pkg-config --libs --cflags gtk+-3.0
compile -- .c
gcc name.c `pkg-config --libs --cflags gtk+-3.0'
compile --- .c++
g++ name.cpp `pkg-config --libs --cflags gtk+-3.0'
Uff !!!!!!
gcc -Wall -Wextra -std=c99 `pkg-config --cflags --libs gtk+-2.0` file.c -o appName <enter>
and my GTK+ code is compilled successfully.
Update ---
try to find dependencies --
pkg-config --libs --cflags gtk+-3.0
compile -- .c
gcc name.c `pkg-config --libs --cflags gtk+-3.0'
compile --- .c++
g++ name.cpp `pkg-config --libs --cflags gtk+-3.0'
Uff !!!!!!
Friday, October 16, 2015
No Sound : pulseaudio Daemon startup failed [FIXED]
To install pulseaudio server and pavucontrol in Arch , type in terminal ,
pacman -S pulseaudio pavucontrol .
Now start pauseaudio --
pulseaudio --start
and if you are prompted "Daemon startup failed" then just execute the command
--
sudo chown -R username:username /home/username
and try to reload pulseaudio server again.
:-) Enjoy
pacman -S pulseaudio pavucontrol .
Now start pauseaudio --
pulseaudio --start
and if you are prompted "Daemon startup failed" then just execute the command
--
sudo chown -R username:username /home/username
and try to reload pulseaudio server again.
:-) Enjoy
Subscribe to:
Comments (Atom)
Manjaro Linux
I am switching to Manjaro Linux ... But i have always a hidden love for Arch. The main reason behind is stability. I need more stable syst...
-
Yes. You can add fancy color to your pacman. 1. open /etc/pacman.conf 2. add following lines under [options] Color ILoveCandy Yep...
-
When you are completing a serious task and constantly open and close several applications then you need a faster Desktop Environment. Xfce...
-
I am now using Arch Linux. It is cool and simple. And I have just dropped Ubuntu Linux. Installing LAMP [ Linux Apache Mysql PHP] is too ea...

