Saturday, October 31, 2015

Where is my Desktop Icons ? Gnome Files

To enable desktop icons on Gnome Desktop ,
just open terminal and type this command ,
 gsettings set org.gnome.desktop.background show-desktop-icons true
 
 
 

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 !!!!!!
 

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


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...