General :: How To Change Default Vi Alias In Fedora 14?

May 25, 2011

In my laptop, if I type below

$ which vi
alias vi='vim'
/usr/bin/vim

Now I want to change the vi alias to another bin, e.g. vim_wrapper a script created in /usr/bin/, I type this line:
alias vi="vim_wrapper"

in ~/.bashrc or /etc/bashrc, but take no effects. So How to change the default vi alias vi='vim' to vi='vim_wrapper'?

View 1 Replies


ADVERTISEMENT

General :: What Config File Do You Change To Change Default Run Level?

Aug 5, 2009

What config file do you change to change default run level???

View 3 Replies View Related

Fedora :: How To Change Default OS To Vista

Dec 9, 2009

I can only get so far and then I find myself staring at the menu.lst (/boot/grub) in gedit. It looks nothing like the menu.lst in Linux Mint 7 and I know that tampering with the menu.lst could spell disaster. So how do I go about changing my default OS to Vista? I have been tinkering with distros for quite some time now but still not a pro.Take a look at what I got below.

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_localhost-lv_root
# initrd /initrd-[generic-]version.img
# boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.6-162.fc12.i686)
root (hd0,1)
kernel /vmlinuz-2.6.31.6-162.fc12.i686 ro root=/dev/mapper/vg_localhost-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.31.6-162.fc12.i686.img
title Fedora (2.6.31.5-127.fc12.i686)
root (hd0,1)
kernel /vmlinuz-2.6.31.5-127.fc12.i686 ro root=/dev/mapper/vg_localhost-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.31.5-127.fc12.i686.img
title Windows Vista
rootnoverify (hd0,0)
chainloader +1

View 6 Replies View Related

Fedora :: Change Default Font Used By Lpr?

Jan 27, 2010

Whenever I use lpr on the command-line to print a text file, it uses DejaVu Sans Mono as the font. Is there a way to change this? I'd like to use Terminus as the font instead. I found that CUPS uses Courier as the default font for text files, so somewhere Courier is being aliased to DejaVu Sans Mono, and I have no idea where.

View 2 Replies View Related

Fedora :: Change The GDM Default Skin On 4?

Feb 5, 2011

is it possible to change the GDM default skin on Fedora 14? I searched the web and this forum, but didn't get a working solution for it.

View 3 Replies View Related

Red Hat / Fedora :: GRUB - Change Default OS To XP Always?

May 25, 2011

I'm somewhat of a n00b. I have a dual boot machine running XP and Fedora Core 14. I like my default boot always to be XP. Right now, XP is default BUT every time there is an update to Fedora, it will change the default to Fedora. I now have to edit grub.conf to boot from xp again. Is there a way to make xp always as the default even after an update?

View 2 Replies View Related

Fedora :: Change GDM`s Default Session?

Mar 14, 2010

I installed Fedora 12 LXDE spin and its default session was LXDE. Then I downloaded XFCE and tried to change the default session of GDM to XFCE. I edited ~/.dmrc and /etc/sysconfig/desktop but this didn`t change anything. I was unable to find where GDM stores its default setting.

Is there any way to change GDM default session?

And more important: is there any way to make GDM to store different default sessions for different users?

View 2 Replies View Related

General :: How To Change Default?

Jul 20, 2010

I don't know what is up with our servers, but each time I upgrade Linux or switch back to Windows it seems that the default providers have changed,and as such I'm having trouble finding out how to change the default run level from 5 to 3 in Ubuntu 10.4. I had tried the /fstab file, and although the last time I made this configuration was under Suse, I'm not even sure that's how I did it for OpenSuse. I did find how to pass the text argument to the kernel but I don't want to disable GDM so that I have to renable it everytime I login. I'm unsure of how this will affect the startx command, at which point I'll be stuck sifting through books for random commands that might perform the task I would like.To elaborate, the reason I'd like to switch my default run-time level is so that I can configure an nvidia proprietary driver, which requires that the x server not be running and I could switch tty's but that doesn't shutdown the x server and although someone had given me a key combination to the effect of ctrl-alt-backspace,backspace I was advised against using it as it might cause damage to the integrity of the data used to load gdm.

View 1 Replies View Related

Fedora :: Change Default Keyring Password In F11?

Nov 4, 2009

How do I change my default keyring password in F11?

The instructions from here no longer work:

Code:
$ yum search gnome-keyring-manager
Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit
Warning: No matches found for: gnome-keyring-manager
No Matches found
Longer story:

Somehow I got my keyring and login passwords out of sync. I went to change my login password using passwd on the terminal. I meant to change it to (let's say) "abcdef" but typed "abcdfe" twice. Realizing my mistake I tried to used passwd a second time to change it to "abcdef", but passwd complained that the new password was too similar to the old. So I used "su -c 'passwd myusername'" - I was able to change my login password but I guess this did not update my keyring password. I've tried changing my password using passwd as myself (not root) to something completelydifferent, but my keyring password remains the first password (e.g. "abcdfe").

View 4 Replies View Related

Fedora :: Permanently Change Default Source?

Oct 17, 2010

my last Fedora installation, the pulseaudio source is wrong. The default sink is:

[code]...

How can I permanently change the Default source to be:

[code]...

When I change it on desktop login as regular user to the right thing, then log out or reboot, I have to change it again when I log back in again. This is with an Audigy2 card, and onboard audio chip. I switch between the two for various reasons.

View 2 Replies View Related

Fedora :: How To Change Default Path In Jboss

Jan 3, 2011

I want to change the default path for logs in Jboss running on Fedora box? How to do the same?

View 1 Replies View Related

Red Hat / Fedora :: RHEL 6 Change Default Desktop?

Feb 27, 2011

I'm trying to change the desktop to KDE so that it's persistent across boots. I did the usual thing of adding /etc/sysconfig/desktop and adding the appropriate parameters, but for whatever reason, whenever I reboot, it still loads Gnome. Now here's where it gets annoying: I can switch to runlevel 3, type startx, and then it will read /etc/sysconfig/desktop and load KDE properly. I've been banging my head against a wall over this one. Where is the call made to start gdm? I think I'll probably wind up changing the default runlevel to 3, but I'm still curious as to why those scripts are not executed on boot.

View 1 Replies View Related

Fedora :: Change Default Outgoing Ip Address

Mar 30, 2009

I've been trying to research this, but I don't really understand IP routing and it's bugging me that I can't fix this problem. I have a dedicated server (fedora core 7) with 3 IP addresses on the same eth0 interface. On the default IP address 62.193.226.127, there is some routing problem because I can't connect from the server to some other sites. Using one of the other IP addresses, like 62.193.252.129, I can connect fine. Additionally this address is better for sending mail because it coincides with the main domain name from which the mail is sent.My question is: how can I configure networking so that outgoing traffic from the box goes via 62.193.252.129?

View 2 Replies View Related

Fedora :: Change Default Sound Card On 13?

Jul 18, 2010

everytime i use alsamixer command i get only the "Master" volume control, and i see the card its using is "Pulseaudio" so i press f6 to select the sound card and i found that i have "default" and "HDA SIS966" so i wanted to know how can i change that "default" to the HDA SIS966?.i tried pressing f6 and selecting the card but when i close alsamixer and run it again i get the "default" sound card again.

i left some pics, the 1st one is what i get when i run alsamixer, the 2nd is the options i got when i try to change the sound card, and the third is what i get with the card HDA SIS966 which is the one i'm trying to get as my default.

View 4 Replies View Related

General :: Change Default Application For A PDF?

Jun 22, 2010

I'm running Redhat 5 Enterprise (Nautilus 2.16.2) with Gnome and am having trouble changing the default application for PDFs. No matter what I do, it seems to always come up as evince.

First I tried browsing to a PDF file using Nautilus, right clicking on a PDF file, selecting properties, open with, and then changing the radio button. However, the radio button is selecting "Document Viewer" and clicking on the other buttons doesn't do anything. The button is stuck on "Document Viewer" (I'd like to use Adobe Acrobat).

I thought I'd do it manually then. Running `gnomevfs-info file.pdf" shows code...

So now xdg-mime and gnomevfs-info are showing different default applications for this file type. I've tried updating the mime database using update-mime-database ~/.local/share/mime as well as updating my desktop database using update-desktop-database ~/.local/share but nothing seems to be working.

Changing a default application really shouldn't be this difficult. What should I try next to change my default application?

, however, shows something different

My .local/share/applications/defaults.list file, however, shows the following:

application/pdf=AdobeReader.desktop

View 1 Replies View Related

General :: Change Default Prompt

Dec 15, 2009

I am using Puppy Version 430.I want to change the default prompt from # to the current working directory followed by one space. I can do this by opening a console window and entering PS1="w " How do I force this to persist when I restart the computer.

View 1 Replies View Related

General :: Change To GUI As Default Login

Jan 12, 2010

I want to make my system load in GUI to login. I set Login Manager in KDE, and found in google inittab. There maybe I have to change run level from 3 to 4 (X11 with KDE), but I am not sure to change the file. I am afraid to broke my system. Do I have to change run level in inittab to boot in GUI?Other way is to make image of the partition and to try it...

View 7 Replies View Related

General :: Change The Default Port Of Ssh That Is 22?

May 26, 2010

How can I change the default port of ssh that is 22? Because of security issue I just want to give some other port.

View 3 Replies View Related

Fedora :: Multiple Gcc Compilers - Change The Default Gcc Compiler?

Oct 2, 2009

I have multiple gcc compilers in my laptop, how can I change the default gcc compiler?

View 2 Replies View Related

Fedora :: Change Default Window Manager In Gnome?

Feb 19, 2010

How to change default window manager in gnome?

View 6 Replies View Related

Fedora :: Cannot Change Default Applications Or File Associations

Jun 15, 2011

I recently upgraded to Fedora 15 and am super-happy with it. Unfortunately, I have a minor issue that I haven't yet figured out how to fix: I can't change the default applications or the file type associations. For instance, I'd like to set Chromium as my default browser. When I first login, I tell it to set itself as default. But after I end my session and log back it, Firefox is back to being the default browser.

I have the same issues when trying to change what applications open filetypes. .rtf files have been opening in Wordpad in Wine. When I try to change it to Writer through the "Open with" dialog, it retains the change for that session but resets after I log out. I actually ended up having to uninstall Calibre because it was opening .odt files instead of LibreOffice and I couldn't change it permanently.

View 5 Replies View Related

Fedora :: Change The Default Open With Application Of A .mpg File?

Jul 25, 2011

I am trying to change the default open with application of a .mpg file but when I click on properties it shows me this.. how can I fix it.

View 5 Replies View Related

Red Hat / Fedora :: Change Transmission Range Of A Node From Default 250 To Some Other Value?

Dec 8, 2010

I am working with NS-2, I am facing a situation where I need to re align the transmission range of a particular node. Can I do this by modifying the protocol's source code? I should not change the default value from 250, only few nodes who satisfy a particular criterion should be reset to some other range like 200 or 300. How can I do this?

View 1 Replies View Related

Fedora :: Change The Network Default Eth0/eth1 In F12?

Dec 4, 2010

I'm using F12 on an old box which I have fitted with a new networkcard. I'm using the box as a music server (Twonkey) and want to use the new card (gigabit - eth1) as the default, but seem unable to. I can't switch of the mainboard ethernet option (eth0) in the bios and have tried to change the settings in the ifconfig-eth0 and -eth1 files by changing the hardware addresses as elsewhere recommended, but that doesn't work. During start-up it then gives me an error message that the MAC number was not the expected one. This would indicate that the network options are kept/read elsewhere. I'm not very familiar with Linux/F12. how to make the card the default option instead of the mainboard option.

View 8 Replies View Related

Red Hat :: Change The Default Text That Is Displayed On The Default BASH Logon (attached)?

Sep 12, 2010

How is it possible to change the default text that is displayed on the default BASH logon (attached)?

View 1 Replies View Related

General :: Change Default Terminal To Use ZHS In Ubuntu?

Feb 2, 2010

I want to change my default terminal in Ubuntu to ZHS. What's the command to do this?

View 3 Replies View Related

General :: Change Console's Default Monitor?

Mar 20, 2010

Is there any way to specify which monitor the console is displayed on in Linux?

Details: I have a 3 monitor setup with 2 video cards. When I boot the computer, the BIOS displays on the PCI graphics card (which has a small monitor). When starting Linux, the console is displayed on the same monitor. Is there a way to have the console output on a different monitor? I'm using the vesafb framebuffer.

I don't see a way in my BIOS to change the default video card.

View 1 Replies View Related

General :: How To Change The Default Text Editor

Jul 28, 2010

How can I change the default text editor for console programs in Ubuntu.When I run mutt and send a message, it currently loads up Joe and I would prefet to load Vim.I know I can change $EDITOR for me only, but would prefe to do it system wide.

View 2 Replies View Related

General :: Change Default Boot Order In 10.04?

Jan 13, 2011

How can I change default boot order in Ubuntu 10.04 from Ubuntu to Windows7? However, I already checked sudo gedit /etc/default/grub and modify the grub file to be GRUB_DEFAULT=4 and update the grup sudo update-grub I even install graph software to re order the book sudo startupmanager But still after restart the default choose for boot is Ubuntu ...

P.S: I am using Ubuntu 10.04 with grub version 1.98

View 2 Replies View Related

General :: Change The Default Width For Shell?

Apr 28, 2011

anyone knows how to change the default width for shell window in Linux(Ubuntu), so that I don't have to re-size it every time I open it up?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved