Linux.com

Home Linux Community Community Blogs

Community Blogs



Major gaps of Open Office Impress versus Microsoft Power Point: what do you think?

Yesterday Sergio, a user of OpenOffice Impress, sent to the OpenOffice.org discussion list his list of the “Major Gaps of OpenOffice Impress 3.3 vs. Microsoft Office PowerPoint” because “after struggling for over 1 year, sadly he had to stop using Open Office Impress and go back to Microsoft Power Point”. After speaking with Sergio, I reformatted and put online his list of complaints to gather more feedback. Please have a look at it. I am particularly curious to know if with LibreOffice it would be different.

 

Seven photo-archiving tips and the Linux tools to help you

I recently posted my favourite seven rules to manage digital photographs under Linux. What are yours?

 

 

 

openSUSE Weekly News 181 is out!

We are pleased to announce our new openSUSE Weekly News 181.

In this Issue:

  • openSUSE Milestone 2
  • Google Summer of Code Reports
  • Sebastian Kügler: Plasma Active updates
  • ZDNet/Steven J. Vaughan-Nichols: Firefox 5: New, but improved?
  • and many more ...

You can download it there:

We hope you enjoy the reading :-)

If you want to help us collecting interesting articles for the openSUSE Weekly News, so you can all your stuff into our new ietherpad: http://os-news.ietherpad.com/2.

Found Bugs? Please place it in our Bugtracker: http://developer.berlios.de/bugs/?group_id=12095

Features, Ideas and Improvements can placed in our Featuretracker: http://developer.berlios.de/feature/?group_id=12095

Older content can be found there.

 

 

MultiPath TCP in the Linux Kernel

MultiPath TCP is an extension to TCP to transmit data of a single connection over multiple interfaces simultaneously. (http://datatracker.ietf.org/wg/mptcp)

This allows a better throughput and better resilience in case of link-failures.

We have an implementation of MultiPath TCP in the Linux Kernel.

Visit http://inl.info.ucl.ac.be/mptcp/ to try out and contribute to our open-source project.

 

 

 

Read more... Comment (0)
 

Mageia Linux

I installed the 64 bit version of Mageia, on a 500 gig HD. It was the only OS on the disk. I had tried the 32 bit CD, but had multiple problems, and after posting on the forums was advised to try the 64 bit DVD. The install was almost identical to Mandriva, and like Mandriva, I had to find, and install the correct, proprietary driver for my Nvidia 8400 GS card. I then proceeded to download, a few graphic intense games. The first game I tried to play would not even load. As I recall, this was one of the reasons I left Mandriva, and switched to PCLOS. I discovered several applications which would not load also. There are a few things that are annoying about this distribution, but nothing that would  prevent me from installing it again, once they have  some of the rough edges smoothed out. I have never been a fan of their software installer, plus the repositories were not loaded automatically. I had to set up the internet connection after the install, manually. Never did get my Netgear USB wireless device to connect. They have some of the best people from Mandriva working on it, and I'm sure they can fix the minor problems. I didn't find it good enough to replace Mint, Peppermint2, PCLOS. The specs on my machine are: MSI 760GM-E51 mobo, AMD 640 quad core processor, 600 watt power supply, 16 gig DDR3, 1.5 TB HD, Nvidia 8400GS, 512 meg video card, and a 500 gig HD, which I use for testing different distributions.

 

Video: How to install applications in Fedora 15

The new GUI for Fedora (Gnome 3) can be at times a bit confusing for new users, specially if they are used to other operating systems. During the last couple of weeks i have seen a raise of people asking on the IRC challnel #fedora-latam regarding how to install *.exe files or how to install programs in general.

The main advantage of using applications from an official Fedora repository is that all programs that are placed there have a 'digital signature' that validates and warranties the authenticity of this program. This means that the program or application that you install from the repositories is 100% compatible with Fedora and that it has passed a quality control and test period. So if you are coming from windows, you don't have to worry about cracks, or having to click on ten thousand websites before beginning the download. It is that simple.

 

Here is a short video of how to install applications on Fedora using the user interfaces:

 

 

 

Source (spanish): ¿Como instalar programas en Fedora 15?

Video URL: http://blip.tv/orvtech/instalando-programas-en-fedora-15-5283899

 

Slackware Essentials

Being a new user to Slackware I want to share my experience  , the mistakes I made and the solutions I found.

p { margin-bottom: 0.08in; }

1. startx

In slackware the default run level is 3, which is a multi user mode. For most of the people , who are all the new users of linux may get afraid due to this run level. Because, it welcomes the user by showing shell with some cute messages. From the shell, firing "startx" will take the user to a user friendly GUI.

In order to start with GUI always, we need to edit the file "/etc/inittab" as a super user and change the run level to 4. We have the following choices,

0 = halt

1 = single user mode

2 = unused (but configured the same as runlevel 3)

3 = multiuser mode (default Slackware runlevel)

4 = X11 with KDM/GDM/XDM (session managers)

5 = unused (but configured the same as runlevel 3)

6 = reboot

One nice thing here is "root" account also can be opened in Xserver [ GUI ], which is not possible in some few distros like Fedora

 

2.Workspace:

In Xserver run level [ runlevel 4 ], we can have workspaces to classify the work we are doing. But, at the beginning[after fresh install] , if we open any window, that window task bar will appear in all workspaces.

In order to changes this, we need to play with settings. The flow is,

kde start menu -> computer-> system settings

From there we can change the things as we want. If you have more RAM space, you can enable all those 3D stuffs to enhance the system look wise.

 

3. Bluetooth

During installation of slackware, if the user enabled bluetooth daemon means , no problem, they can start to use blue tooth according to their needs.[browse,file transfer, accessing Internet etc].

By any chance if the user missed to enable means, it can be enabled by [as root user]

"/etc/rc.d/rc.bluetooth start"

we can do stop and restart the service, by giving "stop" and "restart" respectively instead of "start" in above command.

The most important thing is , that should be in executable mode. If not, it wont throw any error message, simply you will get your shell prompt in next line. So, be sure to check the permission mode using "ls -l", and if it don't have execute permission means make it as executable using, "chmod +x rc.bluetooth".

Until you finish till above step, whenever you try to start blue tooth manager, you may get

"Bluez daemon is not running,blueman manager can not continue".

after changing the mode, start the blue tooth service. Then the blue tooth manager can be used to communicate to the external blue tooth device[mobiles etc].

4. Accessing Internet using a LAN

In most of the linux distros if we plug in the LAN cable, distros will take care of most of the thing. Mostly we need to change the IP address,subnet mask and gateway address according to the user's local network. These changing also very easy to do using various tools came up with distro itself [Yast for examble in SUSE].

As usual, in Slackware it is a bit tricky. fire the command "netconfig" in the terminal as root user. A shell based menu welcomes you . That will ask some details to setup the connection for you. First it will ask for Hostname then it will ask for Domain Name. Enter these two according to your need. Then choose static IP option to configure the settings according to your local network. It will ask for ip address , netmask, and gateway address one by one. Enter these details. Then it will ask about nameserver. Choose yes then enter a nameserver address whatever nameserver you like. Generally, you can enter 4.2.2.2 for nameserver , if you dont know the DNS of your service provider. Thats it. The setup is over.

If you have some experience in Linux, you can directly change in the file

/etc/rc.d/rc.inet1.conf”

Then you need to reboot the system, since we changed some network related information. Remember,

"/etc/rc.d/rc.inetd restart "

this alone don't help.

 

5. Configuring USB modem in Slackware:

For this you need to have dialer scripts for your modem. Once you got the script, it is easy to configure the USB modem. The script for my USB MTS modem is,

[Dialer Defaults]

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Modem Type = Analog Modem

Phone = #777

ISDN = 0

Username = This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Init1 = ATZ

Password = MTS

Modem = /dev/ttyUSB0

Baud = 9600

Stupid Mode = yes

 

Execute the command, "pppsetup" . Slackware will welcome you with one shell menu. Just answer for the fields it is asking. It will be easy if you have your modem dialer script. Finish the setup.

Then open the file "/etc/ppp/options" as root. In that file change the line "/dev/some_thing/" to "/dev/ttyUSB0". [ That some thing is a device, which you chose during "pppsetup" . Mostly, "ttyUSB0" wont be there during configuration for the question, "what is your modem /dev/ttyS ? " . So, choose something as you wish that time , then change it now ]

Thats it. using "ppp-go" you can start the connection and using "ppp-stop" you can disconnect the connection. After disconnection, you will get the bytes you transferred. From that you can know your data usage too.

 

6.LILO

The LInux LOader , which is a default boot loader for Slackware. If you have some other OS and want to change something regarding booting the machine, this is the file you need to use. Once the changes you made with this file you can save and close the file. After that you should execute, the command “lilo” . Then only the changes will take effect. [ This is not the case with GRUB. If you change the file in "/boot/grub" , that is enough. No need to execute any commands. ] . Simple "lilo" will overwrite current MBR . So, if you want to install Slack ware boot loader lilo, in different place, they need to give "lilo -b /dev/xxx " . xxx- is the place that you want to install lilo.

 

7. will “shutdown -P now?” shutdown the system?

By seeing the command, if you say “yes”, am sorry. It won't. If you google for Slackware, in links you found , you can get something like, “the Slackware community does not modify the source or add and remove functions from software beyond the author's design. All packages are built using the original source code in which only official patches are applied”

An example for the above statement is, what we are dealing now.

From any runlevel if you issue “shutdown -P now” command in Slackware , the system will go to runlevel 1, it wont do shutdown.

But, with other distro which I used,[Fedora,SUSE,Mint] the same command will do a proper shutdown.

So, why is this difference in result when executing a same command?. Which functionality is implemented in the Kernel core?

Of cource the one, which is carried out by Slackware*. The other distros changed the functionality** which suits for the command name. At this point, we can realize the freedom by/for the Linux to change the code according to the users.

*,** - Discussed in linux.com forum and conformed by Linux Gurus



 

 

 

Working at the Telematics Freedom Foundation

In addition to the other things I was doing, I'm now the new (part time) program director of the Telematics Freedom Foundation, a non profit organization whose goal is to promote and develop "free as in freedom" hardware and software to protect civil rights. Wish me good luck and let me know your opinion about the foundation!

 

How to convert a video file to an iso to burn to dvd

I have been looking for this stuff for a while, and while it is out there, the documentation is fragmented. I am posting here the steps that I am using to create dvds from regular video files with completely free software. I use Linux, and I don't know if the tools are available in Windows or not. This tutorial is for linux. There are probably gui tools to do all of this stuff, but I have found that the command line tools are much more efficient and just work a lot better. They don't crash near as often, and give you a lot better errors if you have errors.

Use your package manager to install ffmpeg, dvdauthor, growisofs and genisoimage. You may want to install vlc just to test that the iso file is what you want before you burn it. I use debian, so my commands would be like this:

sudo apt-get install ffmpeg dvdauthor genisoimage growisofs vlc

Now, you have all the tools you need to convert your video file to an iso to burn to a dvd and it will play on regular dvd players.

Before you begin, it is best to do a

export VIDEO_FORMAT=NTSC

so that you don't get errors from dvdauthor. You can set this in /etc/profile if you want. Of course, if your default video format is PAL, replace NTSC with PAL.

There is a trick that I have found to getting widescreen movies to format right for the dvd, and that is to pass the "-aspect 16:9" option to ffmpeg. It will make the .mpg file look squished, but the dvd will burn correctly. This is why I recommend installing vlc to test the .iso file before you waste a dvd.

Ok, lets get to it!
Get you a video file. I have used all kinds, but mostly I convert .mkv files to mpg to use. I don't really care how you got the video file either.

Now that you have a video file, you want to convert it to a dvd readable format, which is .mpg. We will use ffmpeg to do this, and this is how:

ffmpeg -i yourfile.mkv -target ntsc-dvd yournewfile.mpg

First, we call the program, "ffmpeg". The "-i" just declares your input file, and the "-target ntsc-dvd" defines the type of dvd we are making.

Depending on the size of the file you are converting, it could take a while. I usually convert 8+ GB files so it takes an hour or so.

If you have a widescreen movie, then you will want to declare "-aspect 16:9" in the command so that it will keep the widescreen format when you convert it to iso.

ffmpeg -i yourfile.mkv -target ntsc-dvd -aspect 16:9 yournewfile.mpg

We have that down now. We can convert regular and widescreen movies to a dvd friendly format. We aren't done with ffmpeg just yet. There is one more trick that has come up for me, and that is "-map".

When you have more than one audio track, ffmpeg will use the first one as default. It doesn't matter if it is your native tongue, it still uses it. We can change that with "-map".

Let's say we have a file with two audio tracks. One is german, one is english, and german is the first one. The video track is usually the first one (0.0), so we will define two maps because ffmpeg wants you to define all the maps that are being output, which is usually two.

The german audio will be (0.1) and the english audio will be (0.2). By default, with no specification, ffmpeg will use the german audio track because it is first. Here is how we specify for ffmpeg to use english:

ffmpeg -i yourfile.mkv -target ntsc-dvd -aspect 16:9 -map 0.0 -map 0.2 yournewfile.mpg

You notice that we defined the video track (0.0) and the english audio track (0.2). If your video only has one video track and one audio track, you don't need to use map at all.

Now, run the command (whichever one you need) and wait. When it is done, you should have a nice new .mpg file to play with. You should know that ffmpeg does much more than this, but that would exceed the scope of this tutorial. Maybe when I experiment more with video editing, I will explain more of ffmpeg in other tutorials.

We can move on to dvdauthor now.

Dvdauthor takes the .mpg files and creates a dvd file structure suitable for playing in dvd players. To create a simple structure from one of your .mpg files, you need to create a directory to put your dvd file structure in. I usually make a folder with the same name as the project I am working on.

mkdir dvd
dvdauthor -o dvd -t yournewfile.mpg

The "-o" switch defines the output folder, and the "-t" switch defines the title file. You will do this command for every file you want to put on your dvd. You can put as many as you want, as long as you have enough space on your disk.

When you add your files, you can then create a TOC (table of contents) so that genisoimage can read it to create the .iso file. That command is:

dvdauthor -o dvd -T

The "-o" switch once again defines the output folder, and the "-T" switch defines a TOC.

We are now ready to convert your dvd to an .iso file to burn.

The command we use to convert all of that is:

genisoimage -dvd-video -o yourimage.iso dvd

The "-dvd-video" switch tells genisoimage to create a dvd video image, and the "-o" switch is once again the output file. The last bit at the end is the folder that genisoimage will read from to create the .iso image.

Now, use vlc and open the file and see if it is what you wanted it to be. If not, go through the steps and see if you can't change something to get it right.

Once you have created the .iso image, you can use whatever you want to burn it, but I have been happy with growisofs. I find that command line burners are faster and just more convenient.

growisofs -dvd-compat -Z /dev/sr0=yourimage.iso

The "-dvd-compat" switch means maximum compatibility with dvd video players, and the "-Z" switch means open an initial session to burn onto. /dev/sr0 is your dvd burner, and yourimage.iso is the file you created.

Now, go watch your movie!

 

 

Hole in Fixefox 4 WebGL

I just read that firefox 4 has a hole in its WebGL application that allows screen shots of what a browser just displayed. This means all information on the page, password, names, etc.

This is an article that was post on the homepage of linux.com titled,"Hole Found in Firefox 4 WebGL Implementation". Here is a sample paragraph of the article.

"This approach allows an attacker to create and save screenshots of what the browser has displayed. This includes all data, not just WebGL content. In their proof of concept, the researchers manage to extract "snapshots" of the graphics card's memory that was previously used to display web pages. The vulnerability is specific to the WebGL implementation in Firefox 4 and does not occur in Google Chrome."

http://www.h-online.com/security/news/item/Hole-found-in-Firefox-4-WebGL-implementation-1262177.html

The security hole is fixed in firefox 5. Users of firefox 4 can disable WebGL or upgrade to the beta version of firefox 5. To do this, type: about:config in your firefox url box, scroll to line named WebGL.disabled. Select it, right click and choose toggle to change it to "true".

 

openSUSE Weekly News 180 is out!

We are pleased to announce the openSUSE Weekly News, Issue 180.

In this Issue:

  • openSUSE Conference and RW sessions – the BoF
  • Google Summer of Code Reports
  • TechRepublic/Jack Wallen: Five tips for collaborating in LibreOffice
  • Jos Poortvliet: openSUSE and online services
  • and many more ...

You can download it there:

We hope you enjoy the reading :-)

If you want to help us collecting interesting articles for the openSUSE Weekly News, so you can all your stuff into our new ietherpad: http://os-news.ietherpad.com/2.

Found Bugs? Please place it in our Bugtracker: http://developer.berlios.de/bugs/?group_id=12095

Features, Ideas and Improvements can placed in our Featuretracker: http://developer.berlios.de/feature/?group_id=12095

Older content can be found there.

Flattr this

 
Page 6 of 122
30 Linux Kernel Developers in 30 Weeks

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board