Software :: Geany - Convert Tabs To Spaces?

Feb 26, 2010

How do you convert tabs to spaces?

View 6 Replies


ADVERTISEMENT

General :: Convert Tabs To Spaces In Many Files?

Jul 2, 2010

I have a lot of files with tabs littered throughout, and I'd like to convert them all into spaces. I know about the expand command, but unfortunately I would have to type out every single file using it. Is there any easier way to do this on Linux?

View 2 Replies View Related

Programming :: Spaces Versus Tabs

Feb 24, 2010

Which do you prefer and why? Also, I remember someone telling me once that while using space indentation use either 4 spaces or 2 spaces. Don't use 3 spaces. Anyone know why they would say not to use 3 spaces?

View 14 Replies View Related

Programming :: Grep Ignoring Spaces Or Tabs?

Jun 29, 2010

I writing a script to go through multiple reports. I want to grep daemon.debug @10.10.10.10 on all reports to make sure it is pointing to the right IP address. the problems is the space between debug and @10 are different on all the reports, some have one space some have two and some have tabs how do I ignore the tabs or spaces and grep daemon.debug @10.10.10.10

daemon.debug /var/log/ftp rotate size 20m files 4 compress
daemon.debug @10.10.10.10
authpriv.* /var/log/secure rotate size 20m files 4 compress
authpriv.* @10.10.10.10

View 6 Replies View Related

Slackware :: Are TABS Replaceable By Spaces In An Xml File

Jun 12, 2011

Kernel 2.6.21.5, slack 12.0 I have a file beginning with <?xml version=1.0?>. May I replace tabs by spaces in it?

View 6 Replies View Related

Software :: Make Mcedit Not Replace Tabs With 8 Spaces?

Mar 17, 2010

How to make mcedit not replace tabs with 8 spaces?

View 2 Replies View Related

Software :: Retain Multiple Spaces And Tabs In A File By C-sh File Operation?

Feb 21, 2011

Iam reading a file using C-sh script after manipulating the variables I need to dump into a new file. This in working fine but I couldn't retain the multiple spaces and tabs in a same line. For readability I want to print it back as I read. Now script treating multiple tabs as onl tab or space.

View 3 Replies View Related

OpenSUSE :: Firefox Is Slow Opening New Tabs/switching Between Tabs

Mar 25, 2010

Firefox is sometimes slow opening new tabs/switching between tabs. If I click on the kickoff application launcher button, it takes a few seconds to open, and typing something in the search makes it hang up for about 20 seconds before it does the search. Clicking on an app takes 16 seconds before the menu window closes and the program begins to start. Then it takes another 30sec-1min before the app is usable. smplayer plays video with tearing.

Like right now I tried taking a screenshot, and it tells me

Error launching /usr/share/applications/kde4/ksnapshot.desktop. Either KLauncher is not running anymore, or it failed to start the application.

while the app worked fine.

I also tried running glxgears right now, and it runs but the gears don't move, and terminal states

15 frames in 19.0 seconds = 0.789 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 48 requests (48 known processed) with 15 events remaining.

If I'm on dolphin, and I click a video to start smplayer, it takes about 1 minute for it to start.

Memory is using 1.4GB out of 3.6GB, with 0.08GB/2GB swap

Top shows an average usage of less than 10% average. Xorg is always 25%, kwin is always 10% and then rest of the apps are less than that.

CPU: AMD Athlon(tm) II X4 620 Processor
Integrated VIdeo: HD4200 with fglrx driver

When I ssh into the computer with x tunneling, the programs start up faster than being on the desktop

View 5 Replies View Related

General :: Shell - Rename A File From Something Without Spaces To Something Containing Spaces?

Jan 26, 2010

Is it possible, in Linux, to rename a file from something without spaces to something containing spaces? I know I can create directories and files with spaces by doing:

mkdir "new dir" and:

touch "new file.txt"

I want to rename files from:

imgp0882.jpg to something like:

20091231 1243 some topic.jpg

And how would it look in a shell script that uses parameters like:

for i in *.jpg do
rename "$i" "$somepath/$mydate $mytime $mytopic$extension"
?

I'm new to Linux (using PCLinuxOS 2009.2), coming from Windows, and I've written myself a little shell script to download files from my camera and then automatically rename them according to a date-and-topic pattern. As you can guess by now, I'm stuck on the bit about renaming. If you want to see my script, here's a copy. I'm not using jhead for this renaming because that only works with JPEG files but I want a single solution for any media format including videos.

View 2 Replies View Related

Ubuntu :: Geany Is Being Crashed

Mar 29, 2011

I am using ubuntu 10.04 . when i try to compile some C++/C code using geany it suddenly crashes sometimes . I have run geany from terminal and when it crashed it has left.

View 2 Replies View Related

Ubuntu :: Geany Not Working In KDE?

Jun 24, 2011

I just switched to Kubuntu, I'm missing some of my favorite tools - most of which I've found alternatives for. I've read that Geany IDE should run fine on KDE, but when I install and try to launch, it just hangs. The icon bounces around by my cursor like it's loading, and window switcher in the task bar shows it trying to load. And then after about 10sec it just stops - and my screen stares back at me. Here's the output when I try to run it via Konsole:

Code:
grant@L1NUX:~$ geany
Segmentation fault
grant@L1NUX:~$

If for any reason Geany is broken with KDE now, does anyone suggest a better general purpose IDE? All the ones I've found are specific (or at least geared towards) one programming language.

View 9 Replies View Related

Ubuntu :: Set C Compiler In Geany?

Jul 25, 2009

how to set c compiler in geany....

View 1 Replies View Related

Ubuntu :: Segmentation Fault In Geany

Aug 6, 2010

I just made a pretty simple program in geany (GCC with default options)and I ended up with Segmentation fault. program is pretty simple and it performs binary search on an array.I know what segfault is but here I m clue less about why it is happening.and one thing more, the program runs fine in turbo C++ compiler.Same thing happened earlier too when I was making a program which included some simple string manipulation

View 1 Replies View Related

Ubuntu :: Geany Not Working With Natty Narwhal?

May 1, 2011

When I try to start Geany, it crashes with a segmentation fault. The current version is 0.20. I've tried to downgrade it to 0.19, but it didn't solve the thing.

View 2 Replies View Related

Programming :: Anjuta And Geany: Build Menu Is Grayed Out?

Mar 25, 2010

I am new to using Linux (Debian) and I wanted to install an IDE that covers all languages (C++, Java, SQL) so I decided to try Anjuta, but when I entered a simple "Hello World" code and tried to run it, I noticed that the Build > Compile selection was grayed out. I read on another forum that Anjuta can only compile projects so I switched to Geany, same problem. Do I have to install a compiler?

View 1 Replies View Related

General :: Get The Autocomplete Work For HTML Code With Geany IDE?

Oct 2, 2009

How to get the Autocomplete work for HTML code with geany IDE?

View 1 Replies View Related

Debian :: No Longer Open Remote Files Via SCP / SSH Using GVFS From Geany

May 17, 2010

I recently upgraded to Squeeze and in general I'm loving it.One problem I'm having is that I can no longer open remote files via SCP/SSH using GVFS from Geany.This functionality still works in gedit.I've checked the syslog and can see no clues, and I also can't find any references on Google.

View 5 Replies View Related

Fedora :: Geany + Gvfs + F13 When Try To Save, It Saves Empty File?

Aug 11, 2010

after update f12 to f13 geany stopped to work correctly on remote storage (sftp). Geany opens file correctly, but when I try to save, it saves empty file. I tried "notepad" and "gedit", they work good on f13. Geany on f12 worked correctly too.

View 3 Replies View Related

Programming :: Linking Object Files With Geany On Ubuntu - Undefined Reference To Class::functionName

Mar 9, 2009

I have created a simple test class - Mortgage, with the class declaration in the .h file and the class's methods defined in the .cpp file. (mortgage.h && mortgage.cpp, respectively) Straight up C++ 101 as far as I can tell. I instantiate the class in the main() function, which is defined in practice.cpp. Using Geany on Ubuntu, both the practice.o and mortgage.o files are created, but then I get a linker error: undefined reference to class::functionName

I get it for each function. If the mortgage.cpp file is foremost in the editor when I click "build", then I get the undefined reference to main() error, if practice.cpp is foremost (where the main() function is) then I get undefined reference to Mortgage::Mortgage(), and all the rest of the functions defined for that class. How do I get the linker to know where my object files are so it will link them in? Or is the problem somewhere else entirely?

View 8 Replies View Related

Ubuntu Multimedia :: Unable To Use 'convert' In Command Prompt To Convert Image File Format

Jan 19, 2010

I am trying to use 'convert' in command prompt to convert image file format.I get the following error.

convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `airplane.jpg' @ constitute.c/ReadImage/530.
convert: MissingAnImageFilename `airplane.ppm' @ convert.c/ConvertImageCommand/2838.

View 3 Replies View Related

Software :: Convert A Bunch Of .ogg Files To Mp3 To Play On IPod - Unable To Convert With Sound Converter?

May 3, 2009

I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.

View 2 Replies View Related

General :: Using Convert From Imagemagick Package To Convert Multiple Jpg Files?

Jul 18, 2010

I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault

View 5 Replies View Related

Ubuntu :: Convert Wav To Mp3 Using Nautilus-script-audio-convert?

Mar 16, 2010

An easy way to convert wav files into mp3 (or ogg).

$ sudo-apt-get install nautilus-script-audio-convert mpg321 vorbis-tools lame nautilus-script-manager.

after that run

$ nautilus-script-manager enable ConvertAudioFile

Now, when you right click on audio file, under 'scripts', you will see ConvertAudioFile option.

View 3 Replies View Related

Software :: FLAC Files To Convert Or Not To Convert To CD-DA?

Dec 24, 2010

I have a lot of .flac files downloaded from several sites. Most of them come with a .cue file, and the .jpg with the cover, etc. It seems it is the intention of the uploader that one rebuilds the original CDDA. However, if I had a stand-alone CD/DVD player with flac I would hardly see the point of converting the flac to cdda. Furthermore, I could even play the flacs with a software player although, in this case, the audio quality would not be so good due to the noise picked up by the signal from the PC digital circuits.

View 2 Replies View Related

Debian :: Add Tabs At The Beginning Of Each Line?

Dec 6, 2010

I want to add something at the end of each line, from line 4 to line 8, in vim? How can i do that? I know adding at the beginning is like: 4,8: normal: i# What i want to add contains special characters ( here it is: <br/> ) , in case that matters.

I want to add tabs at the beginning of each line, from line 6 to line 12. How?

View 1 Replies View Related

Ubuntu :: Possible To Use Ctrl- ( 1 / 2 / 3 ) To Switch Tabs

May 22, 2010

Since I still want to do all my programming on Win32 platform, VirtualBox should be fine there, but would VirtualBox be able to manage games ( BF2, CSS )?If so then well I'm going to Ubuntu permenatly, if not, I'll just Dual boot between Windows & Ubuntu, Ubuntu for everything ( VirtualBox for programming ), and Windows os for Gaming.

My only problem there, is having to restart every time I want to play a game, that's why I was hoping VirtualBox could manage, wouldn't have to be any, fancy resolution.Also, with Firefox on linux, is it possible to use Ctrl- ( 1, 2, 3, etc... ) to switch tabs, on windows this is possible, and an a feature I love.

View 5 Replies View Related

Ubuntu :: Turning Off Tabs In Gedit?

Sep 19, 2010

I'd can't seem to find a preference to turn off gedit's default behaviour of opening a new file in a new tab. I'd like it to open in a new window, so I can view two pages of code side by side. How can I convince gedit to open a new instance?

View 2 Replies View Related

Ubuntu :: Distinguish Between Tabs On Taskbar?

Oct 2, 2010

Currently the way tabs on the taskbar look (the bar at the bottom) make it a bit hard to distinguish between them. sometimes they all look like one big clump of text. its quite messy. when you look at something like the windows xp taskbar [URL] its much easier to see between them. I guess its also because the buttons look 3D in that they stick out a bit. Plus the choice of colours used for when you are on a tab helps.

How do I change/find a theme for this?

View 1 Replies View Related

Ubuntu :: Disable Tabs In Gedit?

Dec 19, 2010

Can I disable the tabs in gedit? I want it to behave like notepad in Windows. I found instructions for adding 'open in new window' menu options, but I want whenever I doubleclick on a text file or run 'gedit filename', the file to be opened in a separate window.

View 5 Replies View Related

Ubuntu :: Can't Rearrange Taskbar Tabs?

May 21, 2011

I was messing with Compiz to enable cube and 3D cube and something disable the rearranging of the tabs in my taskbar. I'm not sure what it was, Something was disabled. Anyone know how to re-enable this?

View 3 Replies View Related







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