General :: Why Is Vim Not Remembering Position In File Between Runs?

Dec 3, 2010

I'm using vim 7.2.330 on 64 bit ubuntu 10.04, sometime in the last week every time I reopen a file it places the cursor at the top of the file. I can see in ~/.viminfo where it's saving the last position used, but it doesn't seem to be honoring it.

View 1 Replies


ADVERTISEMENT

General :: Cache File's Name And HD Position?

Jul 1, 2011

I'd like to improve my computer's performance by storing files' system location (e.g.: /home/user/speech.odt) and HD position (head, sector, etc) and do the computer use that info from ram memory.I have a directory with several files and when I cd and ls it, it takes a while to the computer answer me. Plus, it would return immidiate find results.

View 2 Replies View Related

General :: Vim - String Replacement From Current Position To End Of File?

Jan 24, 2011

What is the vim command I have to use when I want to perform a text substitution not on the current line or on the whole document or on lines from number x to number y but just from the current cursor position down to the end (or up to the beginning) of the document?

View 1 Replies View Related

General :: Hard Drive - Get Block Number / Position Of File On HDD?

Feb 28, 2010

How can I retrieve the block number(s) of a certain file in a file system (the blocks the file is using on the harddisc)?

I'm using the gentoo linux based SystemRescueCD, so I got plenty of tools installed which might get that information for me.

View 1 Replies View Related

General :: Shell - On (CentOS 5), Remembering When We've Followed A Symlink And Being About To 'cd?

Dec 10, 2010

I'm trying to figure out how to tell the shell (tcsh) to remember when I've gone into a symlinked folder, and allow 'cd' to navigate back out of the symlink rather than just navigate to the parent directory of the linked-to folder...

For example:

$ ls -al /jobs
tech -> /mnt/projects1/tech
temp -> /mnt/projects2/temp
$ cd /jobs/tech
$ cd ../temp
../temp: No such file or directory.
$ pwd
/mnt/projects1/tech

View 2 Replies View Related

OpenSUSE :: .jar File Runs Fine In Command Line But Not From File System?

May 3, 2010

My .jar file needs and uses some files in the same directory it's in (everything, including the jar was unzipped into said directory). It runs perfectly when I do java -jar file.jar in the command line, but there's trouble when I double-click the file when running from the file system manager. I've tried a custom command under properties ie java -jar, but the problem is that the .jar file doesn't seem to be able to use any of the files in the same directory. When running, the jar can't find any of the files that it needs.

View 5 Replies View Related

Ubuntu :: Get Physical File Position/block On FAT32 Hdd?

Feb 3, 2011

for solution how to find physical position/block of specified file on FAT32 partition. I have damaged hdd (I can mount partition and I see files) and im using gddrescue to make 1:1 copy, but i need only specified file. So I would like use gddrescue with -i pos switch, but I dont know how to get that position for specified file.

Code:
-i pos
--input-position=pos

[code]...

View 4 Replies View Related

Ubuntu Multimedia :: VLC - Hotkey For Changing Position In Media File

May 14, 2010

I love how totem handles using mousewheel up/down to change position in a media file. VLC doesn't do it the same way by default so I've been trying to find a way to replicate that feature. I found the appropriate actions and assigned mousewheel up/down for both the hotkey and global options. Unfortunately when I try to seek it only works if I mouse over the position bar or lower half of the application. If I am moused over the actual video the hotkeys don't work. In fullscreen the hotkeys don't work at all and I can only seek by holding my mouse over the position bar.

View 1 Replies View Related

Ubuntu :: Launcher For Quake That Essentially Runs A Shell Scripts That Runs Quakespasm With Certain Options?

Oct 13, 2010

I have a launcher for Quake that essentially runs a shell scripts that runs quakespasm with certain options. Is there a way to add it to AWN?

View 6 Replies View Related

Server :: File Myscript Runs On Every Tuesday Of April Month.

Apr 18, 2011

I have a cron job like this.

04 07 17 04 02 sh -x myscript

this means the file myscript should be executed when the server date comes to Apr 17 on Tuesday at 07 04 am.

But the file myscript runs on every tuesday of April month.

View 6 Replies View Related

Software :: VIM Runs Into An Indefinite Loop While Editing A Large File?

Apr 12, 2011

May I ask that does VIM support editing large files. I'm editing a 3G (good, less than 4G) text file with several millions of lines. I have deleted the first ~110,000 lines and :x (save and exit). OMG: this operation takes more than 3 days. I think it hangs already, so I terminated it. So my question is, can VIM do this???

Mine is:
VIM - Vi IMproved 7.0
Included patches: 1, 3-4, 7-9, 11, 13-17, 19-26, 29-31, 34-44, 47, 50-56, 58-64, 66-73,

[code]...

View 1 Replies View Related

Ubuntu :: Bash Scrpting - Error - Can't Open The Script File And Only Runs Once

Jan 26, 2010

I am trying to run a PHP script over and over again. I would love to be able to just write a small bash script that will just do this for me, however I am having trouble writing a for loop that works. Here is what I have now:

When I run this (./bash_import) I get the following errors:

I have also tried just doing the "php wps_product_import.php" on 20 different lines and I get an error saying it can't open the script file and only runs once.

View 9 Replies View Related

Ubuntu :: Which Command Should Run From The Terminal To Know Which File System (ext3 - Ext4) Runs On

Dec 27, 2010

I'd like to know which command i should run from the terminal to know which file system (ext3, ext4, etc...) my Ubuntu runs on.

View 2 Replies View Related

Ubuntu :: Firefox Not Remembering Passwords

Jun 27, 2010

Just did a clean, fully updated install of Lucid. Unlike the development version I was running, Firefox now will not remember usernames or passwords for sites. I have "Remember passwords for sites" under Preferences checked.

View 2 Replies View Related

Ubuntu :: Unity Is Not Remembering Icon Changes

Aug 9, 2011

I recently tried gnome 3 on my netbook to see if it would work (via PPA) on ubuntu 11.04, it didn't.URL...I rolled backed to gnome 2 (by removing the PPA - comment 7 in the above link), however, now when I use unity as my desktop any changes I make to the docked icons are not saved when I logout. This seems to happen on a couple of different users, so it doesn't seem to be a user setting problem (i.e. a weird file version problem).As a work around I have unity 2D installed on my netbook (an eee 1000H) and this works fine.

View 2 Replies View Related

Ubuntu Servers :: Useful Server Information - Php File - Runs A Few Commands And Echoes The Output

Jan 25, 2010

Php file that basically runs a few commands and echoes the output. It's for checking things like temperatures etc, space free.

You can see it in action here: [url]

I've attached the actual php file.

Two questions:

1) What more can I add to it to give me even more information?

2) I want to add hddtemp but it requires sudo to run. How can I get around this?

View 4 Replies View Related

Fedora :: Gnome Is Stuck Remembering Applications

Aug 4, 2009

I recently was playing with some gnome settings and I went to System > Preferences > Startup applications then I hit the Options tab and checked "Automatically remember applications when logging out" was testing to see if it actually worked... and it did.. so I unchecked it and restarted again and... it's the SAME 3 applications I was running.. and its stuck..tried checking it again and then closing everything but now it's still doing it with the same 3 apps I had running (Totem, Firefox, Pidgin).Anybody know how to wipe where it's remembering the applications I'm running? so this can stop when I log in.

somehow checking it again and closing everything worked this time, but does anybody know where I can find the find the remaining information for this function? so i can wipe it clean, whatever may be left.

View 2 Replies View Related

Fedora :: Remembering Authorization For Mounting Partition?

Nov 20, 2009

Every time I reboot PC I have to enter the admin password to mount ntfs partition. Is there any way to avoid this. In Fedora 10 there was remember authorization option, is there any option like this in F12?

View 4 Replies View Related

Fedora :: Tvtime: Remembering Volume Across Restarts?

Jul 17, 2010

I'm on Fedora 13 (64 bit) and using tvtime (latest version 1.0.2-13.fc13 installed via yum) which I've managed to get to work with my old WinTV card (bt878 chipset I think) by having it start with its mixer-device set to "hw:0/Line" (the WinTV card outputs the sound via a cable to the Line In socket of the soundcard).

This all works (I can control the volume in tvtime using the left and right keys) except that the volume resets to zero every time I restart. tvtime remembers all my other settings (and the previous volume is even saved in its config file) so I think the issue is related to ALSA/PulseAudio resetting the appropriate mixer (Line In on the internal sound card).

However, I can't find which mixer tvtime is accessing. In 'Sound Preferences', changing the Master Volume affects the sound from tvtime, but none of the other mixers seem to be related to it (and tvtime doesn't appear on the 'Applications' list). I've also tried finding it in alsamixer, which gives me a choice of 'default' (PulseAudio), 'HDA Intel' (the internal sound card) and 'Brooktree Bt878' (the TV capture card) and again the 'Master' and 'Front' mixers do affect the sound, but are not the mixer that tvtime is accessing.

I know this is a very specific and minor thing, but it's a bit annoying seeing as I've got everything else set up near-perfectly.

Or alternately, as a workaround, is there an easy way of creating a script to lanuch tvtime and send some volume up commands (right arrow key) the first time it is run after a restart (but not the times after that)?

View 14 Replies View Related

Fedora :: Turn Off Remembering Startup Programs

Aug 19, 2010

I used to have it set up where fedora remembered startup programs, I turned the feature off, and it continues to remember everything?

View 4 Replies View Related

Ubuntu :: Firefox Remembering Tabs Despite Settings?

Aug 18, 2010

I have Ubuntu 10.04 x86 on my laptop. I think I had this problem with older versions, but I can't remember. Needless to say it's been going on for a while. Firefox is set explicitly to go to my home page [URL] when opening, but it frequently (50% or better) instead opens my tabs from my last session.

How can I fix this?

View 7 Replies View Related

Software :: Firefox To STOP Remembering Passwords?

Jan 8, 2011

I clicked "remember" on a page, and now I have to depend on my USER login to provide me security. I am SCARED of this thing.

View 4 Replies View Related

General :: Ubuntu Forgets Program Position?

Jun 29, 2010

After installing Ubuntu 10.04 on an nvidia dualmonitor system there is a weird behavior. Every program starts in the middle of the two dual monitors (overlapping both).

View 1 Replies View Related

General :: Launching ZENITY On A Given Position On The X11 Screen?

Dec 5, 2010

how to pass the position to zenity to be launched specific place of X11? No info are given [URL]

View 3 Replies View Related

General :: Find The Position Of The First Space In A Line?

Aug 8, 2011

I am trying to edit a large bunch of files. Each file has four columns and I want to get rid of the first one, but in each line the number of the first column changes. the number in the first column ranges from 1 digit to 5. For example

1 aaaaa bbbbbb ccccc
23 aaaaa bbbbbb ccccc
15343 aaaaa bbbbbb ccccc

and the desired format would be

aaaaa bbbbbb ccccc
aaaaa bbbbbb ccccc
aaaaa bbbbbb ccccc

View 2 Replies View Related

General :: Get The Cursor Position Line At The Mid Of The Windows In Vim?

Mar 28, 2010

Suppose the cursor position line at bottom or top. What's the vim command to get the cursor position line at the mid of the windows in vim?

View 5 Replies View Related

General :: Physically Adjust Position Of Dashboard?

May 29, 2011

I'm new to the Linux OS, and this is also my first post on this form. My question is Can you physically adjust the position of the dashboard? I'm familiar with Mac OS X where you could "Physically" adjust to the top, left, right or originally at the bottom. Is it possible and if it is, can someone explain to me the process on going about that?

View 7 Replies View Related

General :: Numerical Encoding Of Text, By Position?

Apr 26, 2010

I have a file of words and want to encode them in a numeric form, based on position.This is best explained by example:
PEOPLE ==> 123152

Reading left to right:
P was first encountered at position 1 so it is encoded as 1.
E was first encountered at position 2 so it is encoded as 2.

[code]...

View 5 Replies View Related

Programming :: Write A Batch File For Windows That Starts Cygwin Tool And Runs Unix Scripts?

Nov 17, 2008

I need to write a batch file for windows that automatically starts the cygwin tool in windows and executes the unix scripts.Previously we had these scripts in unix server.Now we need to migrate them to Windows server.For this reason we are using cygwin tool that allows the scripts to be executed on Windows server.We had written a batch file that starts the cygwin tool,but we were not able to execute the unix scripts.How can we write a batch file such that it executes all the unix scripts in cygwin.

View 5 Replies View Related

General :: KDE Window - Programs Does Not Remember Their Position/size?

Nov 15, 2010

I lastly used KDE (version 1.x ). Now I'm using KDE 3.5 for several weeks and one thing really annoys me: there are a lot of programs that don't remember their last window position and/or size. They always default to a specific location/size when I close and open them again. I give you some examples:

Program that doesn't remember anything:
- Konqueror

Program that remembers window size, but not position:
- KMail

Nice Program that remembers everything:
- Basket Note Pads

Is there a way to tell these programs to remember their position/size?And a second question about konqueror: Can I tell konqueror to remember the view mode? I prefer MultiColumn view, but it always defaults to Icon view.

View 11 Replies View Related







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