General :: Enabling Vim File Type Plugin?
Jun 15, 2010
In my .vimrc file I have this line..filetype plugin indent on and then in ~/.vim/ftplugin/py.vimrc (I've also tried saving it as a .vim file) I've copied and pasted a vimrc file for python standards and have enabled all of the suggested settings in it (uncommented them). When I create and open a test.py file and do something like a tab, it goes 8 spaces instead of 4.
View 3 Replies
ADVERTISEMENT
May 24, 2011
I am copying the file form one directory to another directory using shellscript.
Here i want to get the Mimetype/Content-type of the file.
How to i can get the MimeType.
View 9 Replies
View Related
Oct 2, 2009
Code: [root@enhu Download]# su -c 'yum install flash-plugin nspluginwrapper.x86_64
> nspluginwrapper.i586 alsa-plugins-pulseaudio.i586
> libcurl.i586'
Loaded plugins: refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 3703.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 43 M RSS ( 55 MB VSZ)
Started: Sat Oct 3 00:36:31 2009 - 13:48 ago
State: Traced/Stopped, pid: 3703
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 43 M RSS ( 55 MB VSZ)
Started: Sat Oct 3 00:36:31 2009 - 13:50 ago
State: Traced/Stopped, pid: 3703
This keeps going on and on and it don't end until I hit ctrl c. What does this error mean and how can I solve this?
View 1 Replies
View Related
Feb 4, 2011
In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5
previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal
After doing(changing the file system)this one ,i couldnt see the d:drive data
By doing that
1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.
2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.
Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)
I had very imp data in d:drive
View 1 Replies
View Related
Jul 21, 2010
I just updated my distribution to 11.3 from 11.2. But now this problem occurs when I try to play an mp3. There was no problem before with 11.2.
It also says
Code:
The following plugin is required : MPEG-4 AAC decoder
Only certain mp3s have this problem. All gstreamer packages have been installed. What package is missing anyway?
View 1 Replies
View Related
Mar 28, 2010
From MS-Word, there are certain graphics that one can create that feature linked boxes of text (I think they're referred to as smart graphics, or something). There's another MS program called visio that also creates these type of graphics. When I tried to open a docx file that had one of these graphics in it with openoffice.org (I'm using version 3.1 from debian backports on my lenny system), it was unable to read it. Is there a plugin or filter that I can add to openoffice.org to give it this functionality? If not, is there another program that reads these files?
View 2 Replies
View Related
Nov 29, 2010
What I am looking for is a dashboard type plugin for Rhythmbox which will show on the main screen ...then (because of the small size) I can use VNC on my Android Phone to see what is playing and to change songs etc.
View 3 Replies
View Related
Sep 26, 2010
I have stood it for a long time. Have anyone changed it successfully ? Please tell me and all the friends viewed this thread.I often download login window theme package from http://art.gnome.org/themes/gdm_greeter , the file type is .tar.bz2 , but I don't know how to install it.
View 3 Replies
View Related
Oct 12, 2010
I am witing a file upload program in perl where i need to upload a wav or a gsm file and save it as a gsm file.How can i make sure that the uploaded file is a wav or a gsm sound file and not an executable malicious script or something.
View 2 Replies
View Related
Jan 25, 2011
how can I define file type for wget to download . for example I do not want to download *.html or I just want to download *.jpg files . or if it does not support any of them do you know any other suggestion ?
View 1 Replies
View Related
Apr 7, 2011
i have some php file and i store it inside /var/www/html/and to display it i type Quote:http://ip addrs/file.phpto display the details..and the problem is that i want the php file to be display when i type the ip address only like thisQuote:
View 3 Replies
View Related
Jan 20, 2011
i want to set permission type "write" on a file to a particular user in a group of users ( not all users in that group). chown is changing a user to root , but i want to set say permission of "write" only to a user 1 in group staff which contains 10 users 1 , user 2 ...user 10.
View 3 Replies
View Related
Dec 10, 2010
Using gnome terminal (Ubuntu 10.10), is there a way to execute the default application associated to a file type, only by typing its name, as it is possible with Windows ?
For example, say I create a mime type associated to every file with the pattern *.abc. Lets say I associate this file type to application 'my_app'.
If I have file 'my_file.abc' in current folder, what I want is that when I enter only 'my_file.abc' at the prompt, it executes 'my_app' feeding it with 'my_file.abc' as first argument. (assuming of course 'my_app' is in the path)
View 3 Replies
View Related
May 6, 2010
Every once in a while on a computer I'm ssh'd into, I will accidentally type "cat largefile.txt" and my screen will start rushing with text for the next 10 minutes. I'm always working in a screen session, so my current solution is to just log out and then log back in, and since it can go 100X faster when I'm logged out, it'll finish in the short time it takes me to type my password in again. Is there a better way? Either involving the fact I'm in a screen session? Or a way to do this within SSH? What doesn't work: detaching from the screen session (doesn't respond until file is done outputting) trying command to move to a different window in the screen session (also doesn't respond) typing ctrl+C to kill cat command (also doesn't respond, probably because the command is done and the buffers just have to catch up).
View 3 Replies
View Related
Nov 16, 2010
The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)
[code]...
View 2 Replies
View Related
Jan 12, 2010
I need commands which five me the following details abt all the file systems mounted the linux box
type
mount pt
file system id
View 4 Replies
View Related
Dec 8, 2010
I had only Arch on an HDD.sda2 was "/".Now it's with Windows XP and sda2 is not a root any more but a container partition wich has sda{5,6,7} in it. I configured the dual boot and it works. It finds Arch and boots it, but not completely. Stops after some time and says: unable to determine the file system type of /dev/sda2. FSTAB is configured, sda{5,6,7} are on their places. So I can't boot Arch. XP boots correctly. What do I do with this error?Also it says: try adding rootfstype=your_filesystem_type to kernel command line.
View 4 Replies
View Related
Mar 6, 2010
To search a string pattern in all files in a directory and subdirectories, I am using;
Code:
grep -R "myclass::my-func(" mydirectory/
Now I want grep, to search in only specific file types say *.cc. Please help me. I have read manual of grep, but could not deduce any hint.
Best Regards.
View 7 Replies
View Related
Nov 18, 2010
after i made the change to my shell type, that from SH to TCH, and back again, i lost my coloring for my file system, if you know what i mean, folders always come in blue, and devices in yellow hope you understand? now everything i do can't seem to differentiated between files colors anymore.
View 7 Replies
View Related
Sep 7, 2009
How well is the ext4 new file system mounting compatibility with the older ext3 previous Linux installations ? I refer to Ubuntu 9.04 and the new Fedora 11 which have the option to install with the ext4 file format. Will it be better if I install with the older ext3, so that I will be able to mount all other Linux from each other in a multi-boot system ?
View 6 Replies
View Related
Jan 1, 2010
In the /boot/grub/ all the grub mod files show as music file type for Linux Mint 8. So is it really needed to correct this, and how to change this file type from some music application to the grub module file type association?
View 5 Replies
View Related
Mar 15, 2010
I'm new to Ubuntu . With windows when you install a app it creates a folder in the drive:c under programs : Where is the install folder on Ubuntu ? AND ' with windows ' there is an exe file ' what type of file is like the exe file''' to run ? or the path to run the app ?
View 3 Replies
View Related
Oct 14, 2010
I am writting a script to allow uploading of certain files. I want to limit the files by their filename and mime type, and by making sure the two match up.The first thing I need to do is make sure I've got all the mime types I need added. I have never done this before, but I understand that 'file' (which is what PHP's mime-type finding is based off of) uses magic databases that tell at which point in the file should have signatures of the filetype.
My trouble started when I was unable to determine the filetype of any of my video files. Currently, I have some .MOV and .MP4 files that I am using to test.
View 4 Replies
View Related
Jan 24, 2011
I want to be able to play a video file on my pda(Tungsten T5) but from memory the only video file i have seen playable on it was the asf file that is used when it starts up/reboots. I tried other file types in the past that were suggested in maybe a manual or forum or something but they never worked/played. I think it is because of the player installed and i tried installing another player but from memory that didn't install properly or just did not play anything. So if anyone knows of a way to convert files maybe using winff or mencoder i would love that info. I have been googling and have found nothing specific to what i am asking. I do not see anything in winff to convert to asf and cannot remember ever using mencoder.
View 9 Replies
View Related
Oct 28, 2010
Is there any gedit plugin, which expands folders of file browser side pane and shows currently editing file, while user switches between tabs?
View 1 Replies
View Related
Sep 7, 2010
I tried to add a new launcher to a xfce panel on an Ubuntu 9.04. The problem is that I want to create a launcher for a .txt file - and the launcher does not give me the option of choosing "type". I read the following:
[Code]...
View 8 Replies
View Related
Jul 16, 2010
Is there a Kate plugin that enables file comparison in Kate?, something like the plugin available for Notepad++
View 1 Replies
View Related
Mar 31, 2010
I'm using Linux Kernel version 2.6.33 on a server with Intel Xeon X5570.
I assume that Intel's DCA is already enabled on my system, because I see
Code:
I would like to test the effects of with and without DCA. How can I disable DCA?
View 2 Replies
View Related
Apr 11, 2011
Yesterday I wasn't able to successful enable JRE in my firefox.This is what I did ,
I downloaded the rpm from the file and installed it in /usr/java Code: chmod a+x jre-6u<version>-linux-i586-rpm.bin./jre-6u<version>-linux-i586-rpm.bin This successfully installed Firefox JRE in my system now in order to make firefox know abt it
I went to /usr/lib/firefox/plugins and
Code:
ln -s /usr/java/jre1.6.0_24/lib/i386/libnpjp2.so as said in the instruction manual. Still firefox isn't able to recognise the plugin.
View 1 Replies
View Related
Aug 1, 2009
When I try to play any type of media file, It plays but can't fast forward or rewind plus there's no sound. I.e Avi , Mpg , Flash or anything, I can't even download the bad plugins because it says that there's a conflic with another repo that I've got installed. the only repos that I've got installed are the Main fedora one's , RPM fusion & adobe, so how do I installed the codecs to play anything proper on Fedora 11 cheers
View 1 Replies
View Related