Showing posts with label Debian Wheezy. Show all posts
Showing posts with label Debian Wheezy. Show all posts

Saturday, October 18, 2014

Debian Wheezy 64 bit: installing correctly skype

I assume you've downloaded skype from site.
The Debian 7 multiarch package.

I have some problem during skype installation on my 64 bit architecture.
Something like this:

package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
skype

So, I need to do these steps:

dpkg --add-architecture i386
apt-get update
apt-get install qt-at-spi:i386
dpkg -i  skype-debian_4.3.0.37-1_i386.deb
(where skype-debian_4.3.0.37-1_i386.deb is the file version I currently downloaded..)

Now It goes like a charm....

Bye...

Debian Wheezy a good cd ripper(but not with default installation): setup asunder

Hi all,

I need to rip some old cds.
But I don't like the default installed sound-juicer.
It cannot give me(easly) the way to set the bitrate.

So I remove it and I try another: asunder
Very very simply and good!!!
apt-get remove sound-juicer
apt-get install asunder
dmesg | grep CD
give me this output
[    2.229627] scsi 1:0:0:0: CD-ROM            HL-DT-ST DVDRAM GUA0N     AL00 PQ: 0 ANSI: 5
[    2.252941] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.253162] sr 1:0:0:0: Attached scsi CD-ROM sr0
You see the last word..? Is sr0.
It's indicate where asunder have to read the cd
So after the installation launch asunder, go under Preferences
General tab, and insert /dev/sr0 (or what is for you) in the CD-ROM device text field.

All is done.

Bye....

Debian Wheezy and Lenovo G50: setup sound card

One of the problem I have after debian installation is that it seems controller and sound card seems to be recognize.
Giving the commands:

lspci | grep audio
lsmod | grep snd
speaker-test  
 
may help you to see what has been recognized.
In my case all seems to be recognized, but I hear no sounds.

From gdm right-clicking up on the right, on the volume control and choosing sound preferences I see only this voice:
Built-in Audio Digital Stereo(HDMI)
and above in the combo menu list I see only
HDMI / Display port

This not give me assurances.
So after some try I install some other modules:

apt-get install firmware-linux-nonfree
dpkg-reconfigure alsa-base
aslactl init
alsamixer

Into alsamixer giving F6 key I see that there were 2 sound card.
Now I see that I have two sounds card(exactly the same I see with the other commands by sheel).

Now clicking on the volume icon(sound preferences) I see also here(and I select it(under Output and Hardware tabs)) the view on the correct sound card(in my case Built-in Analog Stereo, and under connector the possibility to choose among Headphones or Speakers).

Now all seems solved....

Bye

Monday, October 6, 2014

Encoding a DVD under Debian

Need to encode a dvd under your Debian distribution?
Edit /etc/apt/sources.list and add this line....

deb http://www.deb-multimedia.org wheezy main non-free

Than give these command from command line....

apt-get update
 apt-get upgrade
apt-get install deb-multimedia-keyring
apt-get upgrade
apt-get update

apt-get install h264enc

Now you are ready to encode your first dvd.
This to facilitate you to encode the first time:

h264enc -1p -p vhq

There will prompted to you a series of settings to apply to your encoding operation...

+=============================================================+
|<<<<<<< h264enc - the interactive shell script ripper >>>>>>>|
|-------------------------------------------------------------|
|<<<<<< version: 9.4.9 - (C) 2006-2012, Grozdan Nikolov >>>>>>|
+=============================================================+

Select the Input type [file/dir/dvd/vcd]: dvd

Input Selection
~~~~~~~~~~~~~~~
0 -> Encode from a DVD disc/drive
1 -> Encode from a DVD ISO image
2 -> Encode from a DVD VIDEO_TS directory

Select the input [default is 0]: 0


See the h264enc manual to see all features....

Bye

Thursday, October 2, 2014

Installing Debian on Lenovo G50...

I'm currently installing Debian 7.6.0 on my new Laptop Lenovo G50.
I execute the normal installation process starting from the net-inst distribution.

During the installation I needed to connect the net cable.
The wi-fi desn't been recognized.
Argh!!!!! (but this is another story in another post!!!)...
At the end of the installation a warning message notify me that gdm3 isn't started for some problems.

I see after, in a rapid check that also the the webcam in video modality has some problem(test with cheese application).

At the end of the process we have three problems to solve:
- wi-fi card unrecognized
- web-cam or video card to optimize
- gdm3 doesn't start

Next posts we try to solve these....

Bye..

P.S.: 18/10/14 review....: also audio doesn't funtcion.....[SOLVED see here]

Sunday, March 23, 2014

Play DVD under Debian Wheezy

Edit /etc/apt/sources.list and add this line....

deb http://www.deb-multimedia.org wheezy main non-free
(refer to this link for more info )

Than give these command from command line....

apt-get update
 apt-get upgrade
apt-get install deb-multimedia-keyring
apt-get upgrade
apt-get update

apt-get install libavcodec54 libdvdcss

Now you are ready.....
Last thing.....
I suggest to use VLC as player
So if you have not installed it, give(from command line):

apt-get install vlc

Bye...


Wednesday, February 5, 2014

Debian Wheezy and Apache: enabling mod rewrite

Hi all,

I'm currenting trying the GetSimpleCMS.
During the installation, it's required to enable "rewrite" module of apache.
Ho to do it?

From command line(as root) give this:

a2enmod rewrite

and after restart apache:

/etc/init.d/apache2 restart

All is do it...

Bye..

Saturday, November 23, 2013

Debian Wheezy: you are looking for chrome? You have Chromium!!!

Chromium is the Google's open source chromium web browser.
It's included into debian repositories...

Having these repositories into the sources.list(see here), give these commands as root...

apt-get update

apt-get install chromium


Look into internet application menu or give chromium from command line..

Bye....
  

Wednesday, November 6, 2013

Debian Wheezy: change desktop resolution from command line

From command line execute xrandr command to display a list of available resolutions.

xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       59.9*+
   1024x768       60.0 
   800x600        60.3     56.2 
   640x480        59.9 


The * is the current selected.

xrandr -s 1024x768

for set a resolution(one from the availables)


Bye..

Wednesday, October 30, 2013

Debian Wheezy repositories

Example of a default-starting sources.list content

deb http://http.debian.net/debian wheezy main
deb-src http://http.debian.net/debian wheezy main

deb http://http.debian.net/debian wheezy-updates main
deb-src http://http.debian.net/debian wheezy-updates main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

Bye..

Monday, October 28, 2013

Debian Wheezy: resize/scale images from command line.

First of all you need to have installed imagemagick.
If no, install it from terminal as root so:

apt-get install imagemagick

Now you are ready to convert input.jpg file into output.jpg file for a 1000 pixels of width and 500 pixels of height....

convert -scale 1000x500 input.jpg output.jpg 

The scale method, in this case, depends of the height and the weight of your image.
So if your image is 2 pixels of width and 1 pixels of height the perform will gone exactly.

Differently the perform will be approximated.

If you want to force the scale performing to make a image of gived dimensions...

convert -scale 1000x500! input.jpg output.jpg

If you have multiple files to convert use this:

for i in $( ls *.JPG); do convert -resize 1300x500 $i $i; done
 
Bye.

Wednesday, October 23, 2013

Debian Wheezy: mounting windows shared folder

First of all install cifs-utils smbclient packets, to browse and mount net folders..
So from command line:
apt-get install smbclient cifs-utils

Then you need to create a local folder to map remote folder
mkdir /home/username/example_folder

Then you can mount the remote folder by executing this:
mount -t cifs -o username=remote_pc_username //remote_pc_ip_address/remote_folder_shared_name /home/username/example_folder

Where:
remote_pc_username is the username of remote pc
remote_pc_ip_address is the remote ip address
remote_folder_shared_name is the name that the shared folder has into the local net.

Example 2:
mount -t cifs -o username=pippo //192.168.1.2/shared /home/pluto/example_folder


Terminal will prompts to you the password request....
Give it and then you will have correctly mapped your remote folder into your local example_folder


Bye..


Tuesday, October 8, 2013

Debian Wheezy 7.1: quick samba setup

From command line

apt-get install samba smbclient


during installation, it performs default configuration
after....
 
adduser guest --home=/home/public --shell=/bin/false --disabled-password

to create a guest user to use only as samba default user...

chmod -R 0700 /home/public
chown -R guest.guest /home/public
 
These commands configure the sharing in way of every user can create a content(file or folder)
into the shared folder.
No one may edit the content created by someone others.... 
If you want some of differently, change the permission mask.....
Now edit /etc/samba/smb.conf
adding after the row obey pam restrictions = yes
 
insert these rows: 
 
guest account = guest
invalid users = root

 
and in the *Authentication* section,  this row.....: 
 
security = share

In the sharing section add:
# SHARED DIR
[shared]
   comment = shared
   read only = no
   path = /home/public
   guest ok = yes
   guest only = yes
   create mask = 0600
   directory mask = 0700

 
Fine...... restart samba:
 /etc/init.d/samba restart

and all is done.....

Bye...