General :: How To Change Permanently A Script
Apr 28, 2010
I play MAME in Ubuntu 9.10 and every time i boot my PC I calibrate my joystick with jscal. The correction values are stored in a script ( /etc/joystick.cal ) but when I reboot, the old values are written again in so I have either to repeat calibration or open the script and give the right correction values (which I have stored somewhere). So , what is the way to save my changes in this script permanently ?
View 6 Replies
ADVERTISEMENT
Jul 10, 2011
I installed Ubuntu on my Netbook. I like it to use the Terminals. I don't mean the "GUI-Terminal-Emulators", I mean those I can open with "Alt+FX". There the font size is to big, so I changed it with "dpkg-reconfigure console-setup". It worked, but after restart the font were "reseted" and big. Is there a way to permanently change the font size?
View 4 Replies
View Related
Aug 8, 2010
I'm using two swap disks. Changing the order they are in in /etc/fstab and using "pri" in fstab doesn't have any effect. This is what it looks like /etc/fstab
#swap on other disk
UUID=90a1550c-84d6-4bde-8bc1-7c15292980f1 none swap sw,pri=-1 0 0
#swap on same disk
UUID=13b70e65-f1c3-4728-920f-9e92467d1df0 none swap sw,pri=-2 0 0
[Code]...
Its opposite of what it is in fstab, and changes to fstab have no effect.
View 1 Replies
View Related
Jan 3, 2010
So, here's my problem. Every time I'm trying to change my timezone, it last until I'm restarting my comp again, it seems like it doesn't save the changes permanently.I'm using Ubuntu v9.10 installed through Wubi. My timezone is set currently via BIOS.
View 8 Replies
View Related
Jun 16, 2009
How to change Umask value permanently for all user in Red hat Version
View 1 Replies
View Related
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
Apr 13, 2011
I use a laptop and Ubuntu 10.10 x86. Problem is I have a second monitor with 1280x1024 native resolution, and that resolution is not displayed in modes.So I solved my problem temporarily using this: Code:xrandr --newmode 1280x1024_60.00 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr --addmode VGA1 1280x1024_60.00 The 1280x1024 mode appears and I do "apply" -> all OK. And then I press "make default" (where I get a pop screen confirmation warning me that will be the default config after reboot) - nice! Problem is: "make default" don't work! And I have to add a new mode after each login.
View 3 Replies
View Related
May 18, 2010
I had to reinstall Windows recently, which reset my clock under Linux. No problem, I set the clock, and then set the hardware clock to the system clock. Rebooted under Windows, and both were fine. After rebooting into Slack, it is again a few hours off. How can I change this permanently?
View 6 Replies
View Related
Jul 21, 2010
I upgraded my opensuse from 11.2 to 11.3, but after it, I have several problem with it.
Firstly: My graphic card is intel hd4500 and motherboard chip's is intel G41. After upgrading, I understood suse 11.3 didn't have sax2. at a result. I have problem with graphic card driver and consequently can't change screen resolution, therefore after each restart, my resolution automatically fix to 1600x1200 but I would like to set it in 1280x1024? What can I do to change it permanently?
Secondly: I installed vmware workstation 6.5 and after it, I see a message that say vmware need to Kernel Header 2.6.34-12- desktop. I install kernel-syms, kernel-source, gcc and make but doesn't run yet. What happen for it?
View 9 Replies
View Related
Jan 22, 2010
how can I change eth1 mac address permanently in an easy way?
View 1 Replies
View Related
Apr 3, 2010
All my LC environment variables are currently set to POSIX at boot, though I can't find the startup script that does this. I've grepped through /etc/rcS.d and /etc/rc2.d but no luck. In /etc/default/locale, LANG is set to en_GB.UTF-8, which is my preferred locale. But this doesn't stop all the LC's being set to POSIX. Consequently, my dates follow the American convention, which I find hard to read.
I tried resetting with update-locale LC_TIME=en_GB.UTF-8. This changed all the locales to en_GB but only for the session. When I rebooted, everything went back to POSIX. The only change is that en_GB.utf-8 is now in the /etc/default/locale file as the value of LC_TIME as well as LANG.
View 2 Replies
View Related
Jul 12, 2010
How can I permanently change the background color of vi editor so that every time I open a document the editor has my default background color?
View 2 Replies
View Related
Feb 16, 2009
With the printer I am using, the text always extends part of the way into the margins, resulting in it getting cut off. Is there any way to change the margins for a printer?
View 7 Replies
View Related
Apr 2, 2011
i want to change the default format of open office files permanently. Like if i save a file it saves as .odt i want to change it to .doc
View 4 Replies
View Related
Feb 11, 2011
I recently installed Squeeze and it was simple and is running great. I have a usb fat32 drive that shares data on 3 partitions with winxp. None are listed in fstab. They all are mounted in /media.2 partitions, Video and Music, are shown in gparted as mounted by their volume labels, which is what I want; eg /media/MUSIC. The DATA volume is mounted by its' uuid. This is how it is displayed on my desktop. The other 2 volumes display the way I want: MUSIC and VIDEO. I have changed the mount point in /media to the label name:/media/DATA but it returns to its' uuid after reboot. How can I change it to display the label name? It works fine, but I have a need to "tidy up" my desktop.
View 5 Replies
View Related
Jun 22, 2010
I have installed two wireless-related drivers:
modprobe lib80211
insmod wl.ok
On rebooting, I find that these are no longer installed. How do I fix them in place?
View 2 Replies
View Related
Sep 5, 2010
I just bought a 31.5" HDTV and have it connected to my laptop as a monitor. My laptop monitor is cracked and pretty much useless so I would like to be able to keep it turned off and stick with my new monitor. So far, I have managed to accomplish all of this, just one problem, I will need to go through too long a process for every login to set it all up again. I'm hoping someone can help me simplify this and have everything done automatically while Ubuntu is booting or even right after login.
Process:
Code:
$ cvt 1366 768 60
# 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz
Modeline "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
[code].....
View 1 Replies
View Related
Jun 13, 2010
I am a newbie and I am compiling a kernel in order to reduce the bootup time. I have a question as follows.
I am trying to remove a module. I used rmmod and modprobe. I can remove the module, but it is loaded again after reboot. How can I remove a module permanently? The module that I am trying to remove is lp.
View 5 Replies
View Related
Mar 7, 2011
Now i want to disable my ssh server "permanently",which means it won't run unless i start it after i login.that is,it is disabled at boot time by default.
i have asked a similar question before,but i still have some confusions.
Say that now the ssh server is running.my system is ubuntu 10.04. code...
The disable|enable API is not stable and might change in the future.
the shell gives me a warning:do not match LSB Default-Start values,this API is not stable and ...
what does this mean? still it can't disable the server "permanently",ethier.
what on earth should i do to solve this?
View 13 Replies
View Related
Feb 24, 2010
I enabled backspace in vim by "set backspace=eol,start" and it worked. But if I close the window and open up another one, the backspace is automatically disabled again. Is there a way to enable backspace once and for all?
View 2 Replies
View Related
Jul 8, 2010
Every time when i want to set an environment variable i need to export it and when i close the terminal and again open it the variables are lost. Is there a way to permanently save the environment variables?
View 4 Replies
View Related
May 2, 2011
Kernel 2.6.21.5, Slackware 12.0. I have a file named juan34. I was sure it was a plain text file so, instead of running first 'file juan34' I directly did 'cat juan34'. The result was everything echoed to the console are the ascii caracters greater than 127 decimal. In other words, the screen is unreadable.
I typed 'exit' but this did not remedy the situation. The login prompt was written with these strange chars. In another console I'm running a program which I estimate will terminate execution in 20 hours or more, so I do not want to reboot the machine.
When I worked in MS-DOS, I had (made) a program that reinitialized the 6845 CRT controller, fixing this problem (for this could also happen under that O.S.). But, if there is a solution for MS-DOS, all the more so there must be one under unix/linux.
View 6 Replies
View Related
Jul 13, 2010
I have bunch of environment variables that i have to set always for my work.Someone mentioned i can write a script to dp this and i googled it but haven't been successful so far and have to manually do them every time. I have a tcsh shell.I read that i need to change the .login or .tcshrc files but havent been successful in finding these.
View 15 Replies
View Related
Sep 4, 2010
how can it be done?
I'm running 64 bit linux mint 9.
View 3 Replies
View Related
Jan 22, 2011
I just setup a FireWire audio interface. Everything works fine, except for I need rw-rw-rw- permissions on /dev/fw0. I can always sudo chmod 666 /dev/fw0 just before setting the thing up, but then it will be gone on the next rebooting.The solution to modify /etc/udev/rules.d/020-permissions.rules (which is for Ubuntu Breezy) doesn't go well for Ubuntu 10.10 Maverick because there is no /etc/udev/rules.d directory.
View 1 Replies
View Related
Jul 20, 2011
I need to increase the default stack size on Linux. As I know there are usually two ways:
ulimit -s size
/etc/security/limits.conf
The ulimit method only works as long as I am logged in.
limits.conf will work after a restart.
Is there a possible way to increase the limit without restarting?
View 2 Replies
View Related
Apr 30, 2011
I want to make change to environment PATH system wide. Because I have program called "md5". I want to execute it from anywhere (i.e any directory).
My md5 program is located at "/home/ahuq/MappingServer/md5_program". So what I did was to put: "export PATH=$PATH:/home/ahuq/MappingServer/md5_program" in the running SHELL.
This only makes temporary changes and lets me run the "md5" program from anywhere temporarily.
But I want to make this change permanent. So what I did was to put the "PATH=$PATH:/home/ahuq/MappingServer/md5_program" line into the "/etc/environment" file.
This screwed everything up and then for a while I couldn't execute anything from SHELL. I knew the absolute path of "nano" editor and used it to modify the file (i.e. /etc/environment) back to its original condition.
This fixed the problem and now I can run programs like "ls" from the SHELL.
But still I need a way to permanently add the path of "md5" to the environment. How can I do this in Ubuntu 10.10? Which file needs to edited?
Do I just logout or do I have to restart the system to make the changes active?
View 6 Replies
View Related
Aug 25, 2011
I was using the command export, but it looks that after some time the set variables disappears. What is the easiest way of setting an environment variable forever?
View 2 Replies
View Related
Dec 14, 2010
I have ubuntu 10.10 installed I have 5 more NTFS partitions in my disk other then Home & root My problem is, when I try to delete a file or folder it says "Cannot move file to the Rubbish Bin, do you want to delete permanently? The file "Nisarg" cannot be moved to the Rubbish Bin." I have more 2 NTFS partition on portable hard drive. On It trash is working fine.My home and Root folder also haven't this problem.
View 14 Replies
View Related
Jun 24, 2011
I'm using an hp pavilion dv2000. i turned the wifi switch off by mistake, the LED turned orange and the wifi got disconnected. and now when i turn the switch on, it remains orange and the wifi still isn't functional. this happened before; i found a fix that worked searching google. it was done via terminal commands and i didn't have to download anything but i can't find the solution anymore!
wlan0 shows up when i use:
more results:
It's still hard blocked! even though the switch is turned on; gives the same result eitherways
View 1 Replies
View Related