Linux.com

Community Blogs



Restoring Ubuntu Settings from Old Installation

If you are a hard-core Ubuntu fan and keep customizing ubuntu, you're sure be a victim of the loss of customization after a fresh install. You can always recustomize it but its boring and irritating. To solve this problem, you can use YourGnome, a software that can backup your Gnome settings and restore them in ONE SINGLE CLICK. YourGnome is actually a shell script that does all the magic. Its a fantastic project and you can find its home page here - http://code.google.com/p/yourgnome/.

Firefox and Pidgin's settings are yet another important softwares which one would want to have their settings restored. This is again very simple.

Firefox Restore:

To restore firefox settings, just copy the .mozilla folder in home folder of your old installation to the home folder of your new installation. Just replace the existing .mozilla folder. This will do all good and no harm :D

Pidgin Restore:

Pidgin configuration restoration is also as simple as for Firefox. Just copy the .purple folder from old install's home folder to the new installation's home folder.


 

Configuring iSCSI initiator in Red Hat Enterprise Server 4

Installation on Linux
# rpm -ivh iscsi-initiator-utils-4.0.3.0-7.i386.rpm
IQN no of Linux Server (/etc/initiatorname.iscsi file)
Each iSCSI device on the network, be it initiator or target, has a unique iSCSI node name. Red Hat uses the iSCSI Qualified Name (IQN) format with the initiator that ships with Red Hat Enterprise Linux. In the IQN format, a node name consists of a predefined section, chosen based on the initiator manufacturer, and a unique device name section which is editable by the administrator.
Provide this IQN number to your IPSAN Administrator he will create and assign LUN to this IQN
Configuration ( /etc/iscsi.conf)

Terms

To globally configure a CHAP username and password for initiator
authentication by the target(s), uncomment the following lines:

Outgoingusername is something we create at Target to authenticate the LUN assigned to this

OutgoingUsername=
OutgoingPassword=


To globally configure a CHAP username and password for target(s)
authentication by the initiator, uncomment the following lines:

IncomingUsername=
IncomingPassword=


Settings in config file ( /etc/iscsi.conf)

DiscoveryAddress=ipaddress or hostname of your IPSAN
OutgoingUsername=username created in targetserver for accssing this LUN
OutgoingPassword= password created in targetserver for accssing this LUN
LoginTimeout=15

 

Embedded Linux resource: elinux.org

The new site looks great!

If you're an Embedded Linux Developer the place to find all the resources you need to get started on a project, improve a current project, or research embedded  technologies and trends is www.elinux.org.  As a wiki with over 1500 Users you're sure to find what you need.  We're also on IRC on the freenode network, channel #elinux.  Please be patient when posting questions to IRC.

 Cheers

Bill

 

Ubuntu 9.04 X.org Bug with ATI Radeon - Solution

The newly released Ubuntu 9.04 is fantastic in its functionality. But there are some bugs with the new X.org on ATI Radeon graphic cards. Because of this bug, any application refreshes very slowly. If you scroll in firefox, you'll experience very slow and laggy scrolling. To rectify this bug, you have to add the following line in the devices section in the xorg.conf file.

  Option "MigrationHeuristic" "greedy"

This will rectify all the problems and now Juanty will start working at its best.

PS: I thank the author of this page for providing the solution to the Xorg problem

 

 

$:Greetings programs-

Greetings programs,

 I have to say that I am really enjoying the new site.  This was a great idea putting all of this together in one place.  Hopefully something useful can come out of the exchange of ideas and view points.  As always I hope that this new found "Library of Alexandria" for all things Linux will be used for positives.  My suggestion to the community as a whole is leave the baggage at the door.  We are all open source users here, not one distro or another.  Leave the holy wars somewhere else and make this hive of openiness work.  This is a great site and I hope that it really turns into something special.

 

Windows 7? Thanks I'll keep my ubuntu

After installation it took only 2 hours for me to delete it.  Yes, talking about windows 7 rc. Even my 3 year old son asked why the computer was so loud.
 

Some Useful VI Tips

vi tips that I find useful.

 :make will run the make file in the current directory, and load the file where the first error occurs at the location that the first error occurs

 

% will match brackets.

=% will indent brackets and braces (very useful)

:e. will select a file to edit from the working directory

 Some more general VI tips

To move your cursor without having to move your hands, use hjkl where h is left, j is up, k is down and l is left. This is also used when switching between windows after doing ctrl-w.

 go to a line

:10000

will go to line 10000

 

search

/find text

 

(note that no colon is needed)

 

search and replace

:%s/find text/replace text/g

 

the g at the end means global. 

 

 ctrl-w ctrl-s  

ctrl-w is window command mode, ctrl-s is split horizantlaly

 after that you can

edit a new file

:e file

or go to the next buffer if you are already editing more then one file

:bn 

To search for a file edit the directory

:e .

 this will allow you to select a file from within the directory. (use hjkl to move around)

 

To repeat a command use a period. For example if you inserted some text, then moved to another part in the file, pushing . will insert the text again.

 Macro Record

q letter edit sequence q

Macro playback

@ letter

 

Common letter commands

i is insert

I is insert from the beginning of the line

a is append after the current letter

A is append at the end of the line.

 

 

 

 

Hi!

Nice layout :)
 

Hi

Hi
 

Hello World

So here I am, on Linux.com... I don't expect to use this blog much, since I don't have the energy to manage multiple blogs. Would sure be nice if I could just pipe the "Ubuntu" or "Linux" categories from my real blog into here, but such is life. Nevertheless, I hope this site does well. It looks promising.
 

–ü–µ—Ä–≤—ã–π –ø—Å—Ç–æ

–ó–∞–±–∞–≤–Ω—ã–π –¥–∏–∑–∞–π–Ω)) —â–∞—Å –∫—Å—Ç–∞—Ç–∏ –¥—É–º–∞—é —Å—Ç–∞–≤–∏—Ç—å –ª–∏ –Ω–æ–≤—ã–π —É–±—É–Ω—Ç—É –Ω–∞ —Å–≤–æ—é –º–∞—à–∏–Ω—É? —Å–µ–π—á–∞—Å —É –º–µ–Ω—è —É—Å—Ç–∞–Ω–æ–≤–ª–µ–Ω crunchbang.. –Ω–æ –æ–Ω –º–Ω–µ —É–∂–µ–Ω –Ω–∞–¥–æ–µ–ª)) —Ö–æ—á—É —É–±—É–Ω—Ç—É.. –∏ –Ω–æ–≤—ã–π –º–æ–Ω–∏—Ç–æ—Ä.. –∏ –Ω–æ–≤—ã–π –∫–æ–º–ø))) –¥—É–º–∞—é –∑–∞–∫–∞–∂—É –∫–∞–∫-–Ω–∏–±—É–¥—å —Å–µ—Ä–≤–µ—Ä–Ω—É—é —á–∞—Å—Ç—å –∫–æ–≥–¥–∞ –Ω–µ –≤–ª–æ–º –±—É–¥–µ—Ç —Ä—ç–≥–Ω—É—Ç—å—Å—è –Ω–∞ —Å–∞–π—Ç–µ –∑–∞–∫–∞–∑–∞.
 
Page 131 of 136

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    05 Jan » 09 Jan - Virtual
    Details
  2. LFS220 Linux System Administration
    05 Jan » 08 Jan - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    12 Jan » 16 Jan - Virtual
    Details

View All Upcoming Courses


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