Categorie

Archivio Articoli

Categorie

Commenti recenti

Shutter: The Best Screen Capture Tool for Linux [screenshot]

Create mount and copy floppy disks images under linux « A fork in the roadShutter: The Best Screen Capture Tool for Linux.

[Linux] Change virtual screen size in xorg.conf

Linux

 

 

 

 

 

 

 

If when you try to set a dual monitor with xrandr obtain the message:

$ xrandr: screen cannot be larger than widthXheight (desired size mywidthXmyheight)

You can solve creating a new file in:

$ /usr/share/X11/xorg.conf.d/

e.g.:

$ sudo nano /usr/share/X11/xorg.conf.d/50-default-screen.conf

With the following content:

Section "Screen"
     Identifier      "Default Screen"
     SubSection "Display"
            Virtual         4096 4096
     EndSubSection
EndSection

 

Then restarting the session!
Enjoy.

Adding a library to Eclipse CDT C/C++ Project

eclipse-logo

 

 

 

 

 

 

Adding a library to Eclipse CDT

If you want to add a library (e.g: libxml2) to your C/C++ project in CDT Eclipse:

1. Add the library (xml2) in Project Properties -> C/C++ Build -> Settings -> GCC C Linker -> Libraries

Adding-libraries-to-Eclipse-CDT-01

 

2. Add the library directory (/usr/include/libxml2) in Project Properties -> C/C++ Build -> Settings -> GCC C Compiler -> Includes

Adding-libraries-to-Eclipse-CDT-02

Enjoy