I'm running Ubuntu 10.04 and I've been looking to customize what's given as my command prompt, and I learned how to do this by entering PS1="desired text" which is remarkably straight forward.
I'm a little stuck on how to make this permanent though. If you just type in that command, then when you close that terminal session and open a new one, it resets to the old/default prompt. I read the tutorial at:
and it referred to editing the .bashrc file in ubuntu. I found the bash.bashrc file in /etc/ and edited the line that said PS1=, however it didn't change my command prompt. I searched for other files relating to bash and in clear instances that PS1= was given, I changed it to see if the command prompt would change. This has been to no avail so far though.
Does anyone know which file needs to be edited/what needs to be done in order to make a customization of the command prompt permanent?
I use Ubuntu 10.04 and after installing the driver for my onboard video card, I can no long boot into Ubuntu. I'm thinking that if I was somehow able to remove it, this might fix the problem. Is there a way to do this, possibly from the boot cd?
I came across very useful nautilus keyboard shortcut Ctrl-L - change view of location bar to display full folder address but can't find an option to make this changed view permanent. where can i find it? i don't mind editing config files
Since the 10.10 upgrade my mouse clicks on my laptop have been behaving rather oddly. Sometimes it randomly does a middle click when i'm doing a left click, which is really annoying because it means that sometimes tabs close or my text gets random bits of text appearing in it. I've found that running this command "synclient tapbutton2=2 tapbutton3=0 rtcornerbutton=0 rbcornerbutton=0 clickfinger3=0" fixes it, but only temporarily, sometimes it only lasts like 10 minutes or so, other times it lasts till reboot. So, is there anyway to make these changes permanent?
i has setup a persistent DNS cache to improve my web-browsing. it works wonders and with my ICC built firefox my web-browsing is laser-fast, pretty much like using internet explorer in windows! however, everytime i reboot, my modifications to /etc/resolv.conf have been replaced... 1st. the file must contain:
# Generated by NetworkManager (obviously modified by this) nameserver 127.0.0.1 <----this is lost on reboot, and is needed to make it all work nameserver 18.104.22.168 nameserver 22.214.171.124
i have tried to add this to - System/administration/network, but it doesn't seem to fix the problem. 2nd. my next problem is that when fedora 12 starts up,i need it to start "dnsmasq".i have tried to add it as a startup application, but it doesn't start automatically.so i end up having to start it manually everytime:
sudo /etc/init.d/dnsmasq start
it is annoying, but so far i just deal with it, because my browsing is that much faster! i am planning to post a tutorial for those interested in faster web-browsing in linux, but until i can make the changes perminent there isn't much point.
PS: i have tried to write a shell script to do this and every which way i try it fails
I have a Finnix live CD. I can customize it by remastering it. When I boot with the live CD I need to make a little change in the boot profileThe boot profile before making the changes islinux apm=power-off vga=791 initrd=minirt quiethe boot profile after making the change become linux apm=power-off vga=791 initrd=minirt quiet root=/dev/sr0Now, I need to make this change (adding root=/dev/sr0) permanent. How can I do that?
I have just booted to Puppy (for the first time in my life) on a 6 y/o amd type with a 40Gb HD, Ram: 512.I would like to make a permanent install of puppy onto the HD, I have read various pieces on how to install, defraging, repartitioning, differing file systems. However, i am a bit lost. The computer will be used for e-mail, web browsing, and watching the odd film (films installed on the drive) - I am unsure as to the best combination of file types and partition in order to keep puppy happy and keep some compatibility with the world outside of linux.
For instance, could i have a small partition with the puppy install and setting, and the rest on a format that would be compatible with windows/mac/linux? If so, how do I do this, pls bare in mind that my windows install is running but incomplete. I have the feeling this will be a really simple problem for someone to help me with,
When I enter my bootloader Grub I have to go to the system I want to load and press e to edit. Then I add vga=792 in the end of one line to change the tty resolution. How can I make this change permanent? My distribution is Debian Squeeze and there is no menu.lst in squeeze.
I have an eeePC 1005HA, with a Linux Mint 8 distro on it. Each time i start it, i slide down the lcd brightness to take the power consumption low, using the Power Manager Brightness Applet on the gnome panel and each time i restart the pc i have to repeat this over again,I'd like to make this change permanent.
The idea is that I got to grips with Linux a couple of times in the past; most recently in a Radio Astronomy class (where we had to use openSUSE and terminals 24/7). I loved it so much that I fired up Wubi on my laptop and I am having a play.
Then I loved it even more.
So here's the plan:
Find Windows (Vista) CD *sigh* Get 500 GB external Hard Drive Backup files to HD (60 GB max) Reformat Laptop & Reinstall Windows ====
To my understanding, this gives me a blank slate with a lot of room to play with because of the external HD. If this is not possible/too risky etc. then what are the best alternatives?
The plan is to make my primary OS Ubuntu. The way I figured, to keep things simple, is to keep the laptop's HD with Windows as 'normal'. I would thus install Ubuntu to the external HD, and put my files etc. on that.
Now, is that possible for a clean installation? Ideally, it would be fantastic if the boot can be configured so it would boot Ubuntu if the HD is connected, and Windows if not.
just can't find the answer for this one (after Google and these forums) So I want to configure my Synaptics touchpad in this fashion:
Code: synclient RTCornerButton=8 RBCornerButton=10 LTCornerButton=11 LBCornerButton=12 FastTaps=1 This line of code does what it's intended of it. However, the changes made don't really stick after a system reboot.I'll explain:
So, the "FastTaps" part works flawlessly (as intended). However, the corners bit doesn't work after system reboot!...and weird enough, if I set up a start up script with that bit of code on it it'll only remap the last two corners (LT and LB), because RT and RB always get automatically set to "2" and "3". It's obvious then that those corners are getting remaped somewhere I haven't found yet. I've already tried ppa:yurivkhan/ppa and adding new options to "usr/lib/X11/xorg.conf.d/10-synaptics.conf" to no avail either. how to make the remap of touchpad corners permanent? P.S. - I'm using Ubuntu 10.04 LTS with Macbuntu.
I would like to make group changes on serial ports permanent. I can become root and use chgrp:
chgrp uucp /dev/ttyaa00
but it only lasts until reboot. I think I need to add this line to a startup file but not sure where. I want this to work in run level 3 and 5 (at least). I have a digi portserver and their realport software. The ports are /dev/ttyaa00 through /dev/ttyaa07 and are in group root on startup. I want them in uucp so any user in uucp can use them. This is for F10.
I recently compile Kernel 2.6.34 (to fix the AMD PowerNow issue with 1055T processor, and it worked!) However, the device /dev/shm starts up at boot as Read-Only.
Google Chrome requires this device to be user-writable, or it won't start up. Presumably, the stock kernels (and all that are updated) have it set to User-Write. I have not noticed any other ill effects with the permission being read-only. If I do: sudo chmod a+w /dev/shm Everything will work from there, but each time I reboot, I have to do that. How do I make that permission-change permanent?
This command is working like a charm. The only problem is, for some unknown reasons, this rule will be dropped at some point. I did not manage to identify what is causing this to happen. It occurs during night, but I have nothing about that in my log files. messages / firewall / ...) The only way I managed to reproduce this 'dropping' is this one: I type the command like as root. The command is effective and working fine. I open yast, I go to the firewall module, the I do a simple "save changes and restart firewall" (without changing anything). As soon as this process is finished, the iptables rule is gone.
-How can I make this rule permanent ?
-Is there a place where I can launch a script executing this rule, after the yast firewall module is 'touched' or something ?
I have a CentOS running. It is important to have my CentOS available when I am remotely connected to a VPN router. I tried to add a default gateway to the VPN router, but after reboot it goes away. How can i put this as permanent?
I have a generic monitor which has problems with many Linux distros. We can boos Sugar on a Stick v2 by pressing <tab> at the Sugar splash screen and adding the boot parameter "nomodeset". I'm handy enough to do this, but my wife, well, not so much. So is there a way to make that boot parameter permanent?
I am using Ubuntu 9.10 Desktop Version and the entries did in /etc/resolve.conf all the time it is cleaning as and when i am restarting my systems. How to make is permanent solution to keep all the entries done in /etc/resolve.conf
I'm having some difficulty setting my txpower setting on my atheros wifi card. I am using ath_pci driver on ubuntu 8.1 64 bit. I can set the txpower to whatever, 12dBm for example, it accepts the change but quickly reverts back to a default value of 8dBm. Power saving is off. How can I make these changes permanent, or adjust the default value?
i have auto login and a ultra simple admin password, so it wasn't hard for them to mess with stuff...so when i came home i see that they had gone into terminal and added something to my system. i cant recall what it was because as soon as i saw in the history "warning this will make permanent changes to your system do you want to proceed" and the falling yes i got up and started bitching out my roommate and when i was gone someone had closed terminal. i was wondering is there is a way to search my recent terminal activity to see what was done so i can then find out if i can fix what was done?. or is there another option i should look into?
I have ufw on a 8.04 LTS machine and I have vsftp running on it. Now, I have a standard deny all but when I do ufw allow ftp and restart ufw is ok, I can reach my ftp. But... after reboot I can't and the 21 and 20 ports are not open anymore. I know it is a shame but I solved it in a very very dirty way. I have a script that takes ip ranges from a list file at boot and makes a blackhole routing for them and then, I included two lines in it commanding ufw to open ftp and restarting it. It works, but I want to know why were my changes not permament.
I read this article as a way to do a non-permanent of something. I saw 2 problems. The first that my rm is located at /bin/rm. I would assume I would change the location to /bin/rm. The second my rm is a executable file and not a text file. So will replacing my rm file with the shellscript below work? I would think they would need to be the same type of files.
I'm trying to make sure I don't screw anything up. When I type in the following into the terminal:
sudo hdparm -M 128 /dev/sda
Are the changes permanent, even if I restart? If not, how can I make sure it is permanent? I've read of going into the /etc/hdparm.conf file and editing it, but what exactly do I type and where should it be put in the file?
Whenever I boot into ubuntu 10.04, my monitor just automatically goes into sleep mode. As soon as I select to boot into ubuntu, the monitor just sleeps. There's no getting out of it. Booting into windows works fine though, so the problem has to be ubuntu.