Software :: Vim - How To Stop :bn And :bp From Saying "No Write Since Last Change"

Oct 8, 2010

I'm using vim quite extensively for editing code segments. Two of the most common commands I use are :bn (next buffer) and :bp (previous buffer). However, using :bn, navigating away from a file I'm editing, shows the message "No write since last change (add ! to override)", and only :bn! or :w and then :bn works. I know there's a way to stop this from happening - probably something in the .vimrc file...

View 2 Replies


ADVERTISEMENT

Ubuntu :: Script - Start Or Stop The GUI Respectively - Write A "if The GUI Is Running Then..." Command?

Apr 25, 2011

i want to write a script that will start or stop the GUI respectively. This is what I have so far...

[Code]....

I know the second line is completely wrong, but thats where I'm trying to go. How do I write a "if the GUI is running then..." command?

View 2 Replies View Related

Ubuntu :: Not Being Able To Change To Read-and-write

May 29, 2010

I just installed Ubuntu 10.04 on my system, and I put in a really old game CD for my really old computer. I cannot run the setup program , however because "it is not executable". I can't change this , because it is read-onlybut I can't chane this either. As I'm new to this, I was wondering .

View 5 Replies View Related

General :: Write A Script That Will Change Just One Item?

Jul 12, 2011

Im trying to post some data with curl. What I have is an html form that has many items. When I use a web browser to post data I can change one item easily. When I use curl (or wget) it will change the item that I tell it to but all other items in the form are erased. Im trying to write a script that will change just one item and preserve everything else. The problem is that I dont know what the values are before hand. Every example ive seen uses firefox addons or some other method to tell what to post. This would be fine but is not scriptable.

View 5 Replies View Related

Fedora :: Change Power Settings To Stop Instant Hibernation?

Jun 28, 2011

I'm coming over from Ubuntu and am experiencing the same power issue I had there, only there doesn't seem to be a setting in Gconf in Fedora like there was in Ubuntu that can fix it. You know how the system determines whether or not to hibernate based on the amount of time the battery has been unplugged? Well there's a bug in Gnome that makes it say I have only two minutes left on a full battery,

so if I ever unplug my laptop it immediately goes in to hibernation. Now in Ubuntu there was a Gconf Editor setting that could be changed so that it went by percentage, but this option seems to be gone in Fedora. I have Gconf Editor installed but I can't find the setting anywhere.

View 4 Replies View Related

Ubuntu :: How To Write Shell Script To Change Resolution

Aug 6, 2010

Writing a Shell script which changes my X11.org config to 800x600 from any other resolution .

View 1 Replies View Related

Ubuntu :: How To Change DVD Drive Properties To Read / Write

Mar 22, 2011

I am not the best with Linux but at the same time like to think I am not the worst, Anyways like stated above my dvd drive is saying its read only and i would like to make it read/write here is some info:

*-disk
description: ATA Disk
product: ST3500418AS
vendor: Seagate
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: CC46
serial: 9VMRTLT1
size: 465GiB (500GB)
Capabilities: partitioned partitioned:dos
Configuration: ansiversion=5 signature=0005ce96

*-cdrom
description: DVD reader
product: DVD-ROM SD-M1612
vendor: TOSHIBA
physical id: 0.0.0
bus info: scsi@5:0.0.0
logical name: /dev/cdrom
logical name: /dev/dvd
logical name: /dev/scd0
logical name: /dev/sr0
version: 1806
capabilities: removable audio dvd
configuration: ansiversion=5 status=nodisc .....

View 2 Replies View Related

Ubuntu :: Write Shell Script To Change Resolution?

Sep 23, 2010

Canceled a sys backup in progress now my Waste bin is at max and must be emptied.However OpenSuse 11.3 contradicts itself by claiming there is 0 in the waste bin? Perhaps there is a Bash command that would solve the problem

View 8 Replies View Related

Ubuntu :: Change Write Access Of Files Inside A Folder?

Jan 17, 2011

ok trying to use grip but it keeps giving me this messageCode:No write access to write encoded fileso i have a folder in my home folder called flac and i want to modify the folder so that all files within can be written toi have tried

Code:
chmod -R 777 flac/*
and

[code]....

View 9 Replies View Related

Ubuntu :: Can't Write To Directories Inside My Main File System / Change It?

Apr 23, 2010

I can't write to directories inside my main file system. This is annoying, how to change?

View 3 Replies View Related

Fedora Security :: Python Library For MLS - Write A Program To Change Range For Users?

Apr 16, 2010

I need to write program (preffer Python) to change range for users. Does anyone know some library which can help me to do that? Maybe someone has written program like that?

View 5 Replies View Related

Hardware :: Mtrr: Type Mismatch For C0000000,10000000 Old: Write-back New: Write-combining?

Jan 31, 2011

solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.

View 10 Replies View Related

Fedora :: Erroneous Write During File Extend. Write -1 Instead Of 4096

Nov 17, 2009

Ive installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error

Code:

Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1

View 3 Replies View Related

General :: Write A Shell Script Which Will Simultaneously Collect OS User Information And Write In An Individual Text Files?

Feb 17, 2010

I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.

View 8 Replies View Related

General :: Difference Between Restarting/stopping Apache Using 'service Httpd Restart/stop' And Apachectl Restart/stop

Oct 11, 2010

whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?

View 1 Replies View Related

Ubuntu :: Can't Write To USB On 11.04 \ Can't Write To USB On Natty?

May 3, 2011

I can't write to USB on Natty. I can read the files and copy them to my netbook fine, but I can't change anything, I can't write or delete files

View 1 Replies View Related

Red Hat / Fedora :: Command To Stop That File/process Or Is It Just Kill The Process To Stop The Process?

Nov 11, 2010

I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process

View 2 Replies View Related

Ubuntu Installation :: Disk Space - Failes On A "E: Write Error - Write (28 No Space Left On Device)"

Jan 4, 2011

df -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.

du -sh /* | sort -gr | head -n 5

I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.

View 1 Replies View Related

Ubuntu Installation :: OpenLDAP Slapd / Can't Stop The Service With Service Slapd Stop?

Oct 20, 2010

I am trying to setup LDAP server on Ubuntu 10.04 and am sticking to the old /etc/ldap/slapd.conf file configuration.

I had to comment ldapi:/// from /etc/default/slapd since it was giving 'Address already in use error'. Also had to juggle with pid directory and file issues

After that I was able to start the slapd daemon (service slapd start) but now I am running into multiple issues:

1. Can't stop the service with service slapd stop

Code:
## Service stop returns 0, maybe because start-stop-daemon is not giving error
#service slapd stop
Stopping OpenLDAP: slapd.
# echo $?
0

Will switching to BDB database resolve this ?Also can't I slapcat at non-root user ??

View 2 Replies View Related

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

OpenSUSE :: Installed Webilder Application To Automatically Change Wallpaper - Can't Change Background

Mar 30, 2010

I installed the webilder application to automatically change the wallpaper, preferences you've specified the directory where the images but I can not change the background. Does anyone know why not change?

View 5 Replies View Related

Ubuntu :: Graphics - Change To A Warped Mix Of Colors And Pixels When Change The Background Image

May 19, 2010

I recently installed Ubuntu 10.04 Netbook Remix on my Gateway LT3103u. I noticed shortly into using it that it has a graphics bug every so often. Especially when I change the background image. Everything will change to a warped mix of colors and pixels. Everything is affected. My mouse, the bar at the top of the screen, text and all. My netbook runs on an AMD Athlon 64-bit processor with ATI Radeon X1270 HyperMemory up to 256MB graphics.

So far I have tried reinstalling, and even the 64bit desktop edition which had the same problem. Ive noticed that it freaks out when i scroll too quick, when changing background images, and on certain websites. Then other times its completely random. When it happens it looks similar to these: [URL]

View 4 Replies View Related

Ubuntu Installation :: Unable To Change BIOS Settings Due To Which Can"t Change Boot Preference?

Mar 24, 2011

I currently have a Windows XP OS which i want to dual-boot with Ubuntu Linux 10.10 . I put the disk in the drive and chose the option to install Linux through Windows. But it hangs in the middle. I am also unable to change my BIOS settings due to which i can"t change my boot preference. My first Boot is the HDD. I want to change it to CD-ROM. Any suggestion? I also have another PC where i can boot through the CD...I tried installing there by booting from the CD but i get this error message after seeing the purple Linux screen with the loading dots. "(Process:286):Glib warning**:getpwuid:failed due to unknown user id (0)

P.S.- I am not able to see any options while the boot is going on

View 5 Replies View Related

Ubuntu :: Change File Permissions To Change Background Screen?

Feb 21, 2010

I'm new to Ubuntu Linux but have many years on windows platform. Please can someone help me with how to change the following items.

No.1 I would like to change the HORRIBLE!! YAK!! brown background color behind the word Ubuntu in the start up screen when the machine loads up (before the login). I have located the image file for this which I have found to be: /usr/share/images/xsplash/bg_2560x1600. jpg but the OS says that root is the owner and that I don't have permission to change this. So how can I change this for a color I do like.

No.2 I would also like to change the login dialogue screen style. I know this is possible but again I'm fumbling to see how I can do this. I have tried with the start up manager but every attempt fails, the settings don't take. Once again I suspect permissions are at the bottom of the problem?

No.3 Would like to have a colorful splash screen image on boot up, I've managed to remove the old one (small white 3 ring ubuntu logo on black background) but havent been able to install or replace with a new one. Its been incredibly frustrating, I'm feel sure I'm missing something simple here. Wondering if its permissions yet again?

Anyone who can offer help on any of the above, guidance or advise me would be much appreciated. Please bear in mind that I'm still very much feeling my way with Linux so keep it simple.

View 3 Replies View Related

Ubuntu :: Menu Bar Won't Change Color When Change Panel Background

Oct 23, 2010

I changed it and got it working a long time ago but i installed 10.10 (great work BTW ) and have forgotten completely.

View 6 Replies View Related

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

Ubuntu :: Change Terminal Colors After A Change Root?

Jan 31, 2011

Now I know that in order to change the colors in your terminal you have to play around with ~/.bashrc But the effects don't stay in place after a change-root is taken affect. It just reverts to black. Is there any way I can change that too in .bashrc?

View 3 Replies View Related

Ubuntu :: Can't Change Pointer 10.10 / Compiz Wont Change?

Feb 23, 2011

I had issues with changing the pointer when compiz was active in ubuntu 10.10. it would not change when on the desktop, only when hovering over a window.I solved this issue by doing the following:

Hit alt f2 and enter-> gconf-editor

Then goto-> /->apps->compiz->general->allscreens->options

Then in "cursor_themes" type in the name of the pointer theme(Eg. DMZ-White)

This should resolve the issue with compiz.I am not going to go over that here.Oh yea don't forget to logout/login or press ALT F2 and enter compiz - -replace to refresh the pointer...

View 1 Replies View Related

Ubuntu :: Change Permissions - Change Persmissions In A Subdirectory

Sep 1, 2011

If this information excists here so sorry I was not able to find it. How to change permissions in Unbuntu for those people who are trying to change persmissions in a subdirectory.

Open the terminal and then type: Quote: sudo chmod yourpermission number /thenameofyourdirectory

Example:

Quote: sudo chmod 755 /directory

View 3 Replies View Related

Ubuntu :: Can't Stop Gdm Normally

Mar 12, 2011

In Ubuntu 10.04, we're supposed to use the following command to stop the X server (assuming the usual Gnome desktop environment): Code: sudo service gdm stop.The problem is, this has never worked correctly for me. I see a bunch of messages about things being shutdown, then it hangs. I've waited up to several minutes for something to finally happen so I can log in to the command line, but nothing ever happens.What I've always ended up doing is pressing Ctrl+Alt+F4 to switch to a different console. I was then able to log in there and do stuff that required the X server to be shut down, such as installing Nvidia drivers.

Is that how it's supposed to work? It doesn't seem right.Can't post the error message where the command hangs, because obviously I have to be running the GUI to post here. But I'll jot it down next time I try the command.

View 6 Replies View Related







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