Fedora :: Cannot Create Text Files While Using SU

Sep 9, 2011

Every time I try to create a text file with gedit while using su I get this error:
(gedit:2401): EggSMClient-WARNING **:
Failed to connect to the session manager:
None of the authentication protocols specified are supported
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)

Aborted (core dumped) I'm following the Fedora Bible (2010 edition) and I'm trying to get KDE up. This is what it says to do: After running switchdesk or switchdesk-gui, you need to perform one other task. As root, edit or create the file /etc/sysconfig/desktop. Add the following lines to the file:
DESKTOP="KDE"
DISPLAYMANAGER="KDE"

However, I receive that error. Does it want me to log in as root? I tried and it wouldn't let me, so I tried looking up how to do it, and I needed to change another text file with su (which is my problem in the first place). Just to be clear, this error occurs in any directory that I'm in. (home, or otherwise)

View 2 Replies


ADVERTISEMENT

Fedora :: Create Text Files With Mathematical Notations And Symbols?

Sep 2, 2010

Does anyone have the name of a good program that will allow me to create text files with mathematical notations and symbols? I like to ptake notes at school on my laptop but I find it difficult to do so in my math classes. I just downloaded a program called Mirai Math. Haven't tried it yet but it looks a little to clunky. I'm looking for something simple.

View 7 Replies View Related

General :: Create Pdf From Text Files

May 18, 2011

Can anyone point me to a well working peace of software (free will be preferred) that can convert text-files into pdf.

View 6 Replies View Related

Software :: Join 2 Text Files Based On First Number Present In Every Line Of The 2 Text Files?

Jan 22, 2010

I have 2 text files : file1.txt and file2.txt

cat file1.txt

15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces

cat file2.txt

2 this is sentence1file2
6 this is sentence2file2
54 this is sentence3file2

I would like to join these 2 files. The result should look as follows :

cat joinedfile.txt

2 this is sentence1file2
6 this is sentence2file2
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
54 this is sentence3file2

==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?

View 4 Replies View Related

Fedora :: Compression Ratio For Text Files / Binary Files

Apr 15, 2011

Fedora provides several compression techniques. E.g tar, tar.gz, zip etc. I want to know which among them provides

1. the best compression ratio for text files

2. the best compression ratio for binary files

3. fastest compression

View 6 Replies View Related

Fedora :: Write A Bash Script That Will Create A New Text File?

Oct 22, 2009

trying to learn how to write a bash script that will create a new text file named jimbola in my home directory. The file will need to be able to have the first and last name of Jim Bola included in it.

View 4 Replies View Related

Software :: Use Sed To Include A Text File In The Beginning Of Other Text Files Inside A Folder And Its Subfolders?

Jun 1, 2010

Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.

View 4 Replies View Related

CentOS 5 :: Text User Interface To Configure Text Files

Nov 5, 2009

I would like to write a text user interface (TUI) to adjust some text config files etc. Is there a tool or application for creating TUIs like this. I�m talking about those types of config tools which you see executed at first boot.

View 19 Replies View Related

Fedora :: Compressing Collection Of Text Files?

Nov 6, 2010

i have a collection of text files for 50 gbs..i want to compress these files and store them into dvds.i want to know the present popular optimized method to compress the files.let me know masters.

View 1 Replies View Related

Fedora :: How To Run Pdf Files On Terminal Through Text-only Mode

Dec 30, 2010

I want to run pdf files on fedora 13 through text-only mode(i mean not gui but when i change it to init 3).At gui i know how to do it by converting pdf to html but if we are not at gui?

View 4 Replies View Related

Red Hat / Fedora :: Remove Particular Line Of Text From All Php Files

Jul 21, 2010

My site was recently hacked and a line of <JAVASCRIPT> was inserted into all my php files. Is there a way to pull just that one line out of all the php files on the server? I was thinking of using a grep -iR <CODE> *.php then piping thru sed

View 1 Replies View Related

General :: Loop Append Text To Text Files?

Jan 15, 2010

may be an advanced question but I need to know how to do this. Here at work I am in charge of recruiting and we have about 1,000 resumes in already. All of the resumes are in a .pdf format. I need to rename every .pdf in the following format:{firstnameLastname}.pdfThe only way I know how to do this is to convert all the .pdf files to text, extract the name out of the first few lines of text, import into excel, and then use VBA to rename the files in mass:Here is my logic so far:~Deskop/a = houses all the .pdfresumesOpen terminal: Code: cd ~/Desktop/afor f in *.pdf; do pdftotext -raw $f; done That will convert all of the preceding resumes into text filesNow I would like to append the name of the text file into the last line of the text file. So, for example, for Resume1.txt, I want to append "Resume1.txt" to the last line within Resume1.txt. So after I run the command I open Resume1.txt and on the last line within I want to see "Resume1.txt" on the last line, at the end of the resume.How can I do this? I would like to use a loop and have the terminal append the filename to the body of the text file until all of the have been appended.

View 1 Replies View Related

General :: Search Text In All Text Files Of All The Sub-directories?

Apr 21, 2010

Currently, when I'm searching text in files of my PHP project, I use this line :

Code:

grep -r 'myTextToFind' *

But now, I would like to search only in ".lang" files. How can I do that ?

View 7 Replies View Related

Fedora :: Delete Character MS-DOS Text Files On System?

Aug 17, 2011

We had seen some time ago, various tricks to remove the character MS-DOS text files on Linux. Here is a new trick to do this directly from the vim editor.
to convert a file opened with vim in UNIX format, simply use the following command code...

View 2 Replies View Related

Fedora :: Create DVD From MOV Files ?

Jul 10, 2010

I have a collection of .MOV files which I want to turn into a DVD. A real DVD, the kind that will play in a stand-alone DVD player. I am not too concerned about fancy menus or anything like that. I just want something my parents can stick in their DVD-VHS combo and hit the "Play" button. I don't know where to begin looking. Has anyone done this? Is there any kind of a How-To or something? What Linux tools exist for doing this?

View 4 Replies View Related

Fedora Servers :: PHP Not Able To Create Files In 10?

Apr 28, 2009

Im trying to understand why in my fedora 10 box I can not get php to create files. His is the cod that Im trying to run.

file createfile.php

[Code]....

View 4 Replies View Related

Fedora :: Unable To Create ISO Files Using K3b?

Jun 5, 2010

I am using k3b on Fedora 13. I am trying to create a DVD iso image from mpeg2 files. When I try to do this I get the following error.

Devices
-----------------------
LITE-ON DVDRW SOHW-1653S CS0R (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite] [%7]

[Code]....

View 1 Replies View Related

Fedora :: Unable To Create Files

May 30, 2011

Inside, www/html folder as an ordinary user i am not able to create files.using vi editor, as root in terminal, I can work there.I am using scite text editor. How to give access to that folder for the general user?

View 4 Replies View Related

Fedora :: C Compiler Cannot Create Executable Files While Installing Madplay

Apr 29, 2010

what my intension is i want to cross complile vlc source code into arm9 mini 2440 target board for that i am compiling vlc source code in intel desktop pc which has fedora 10 version. so that in order to compile vlc source code we need to install following codecs those are libmad 0.15.1b,libid3tag-0.15.1b,madplay-0.15.1b,i got these codecs from h[URL] .and vlc sorce code from [URL]. i have successfully compiled libmad 0.15.1b and libid3tag-0.15.1b . those two are compiled in the following way [color] ./cofigure --prefix=/home/narendra/lib/ make make install [/color]

i was trying to compile madplay-0.15.1b in the following way

Code:
./configure --prefix=/home/narendra/madplay-0.15.1b CPPFLAGS="-I /home/narendra/lib/libmad-0.15.1b/include/" LDFLAGS="-L /home/narendra/lib/libid3tag-0.15.1b/lib/"
after this command i keep getting this error message

[Code]....

View 14 Replies View Related

Fedora Servers :: /var/www/html - Not Allowing To Do Any Changes/create The Files Or Folders

Aug 8, 2011

I m able to do the changes in the home directory of the users' but when it comes to the /var/www/html folder, it's not allowing to do any changes/create the files or folders

I m able to view the files and it's contents

Global Settings:

View 4 Replies View Related

Red Hat / Fedora :: .bin Extraction Error Unable To Create Temporary Files

Jul 12, 2011

It is saying to make sure there is enough room in the tmp folder, so I cleaned out the entire tmp folder but the same error is still happening. Is there a way to make the tmp folder bigger? Or perhaps extract the temporary files to a different folder? Or maybe the size if the tmp folder is not even the problem?

View 1 Replies View Related

Programming :: Command For Find/Replace In Text Files (inc. Files In Sub-folders)?

Oct 11, 2010

I found this command that works great finding and replacing a simple string to another in files located in that folder and all sub-folders.

Code: find . -name '*.php' | xargs perl -pi -e 's/OldText/NewText/g'

The problem I have is that I need to replace a more complex string, like this: Old string: /mnt/stor6-wc2-dfw1/627896/982574/ New string: /mnt/stor8-wc2-dfw1/369587/302589/ There I don't know how to do it... since the / is what separates the old from the new strings, and the strings that I want to replace have / in it. Also, I would like to know how to specify under what folder replace the files, for example, I want that it search/replaces all files under /var/www/mysite/htdocs folder.

View 1 Replies View Related

Software :: Differentiate Two Large Text Files Using Shell Script / Files Are Like Below?

Jan 20, 2009

I want to automate this using script.How to automate it?

File1:
s.no# 1 name:aaaaaa
city:abcd

[code]...

View 1 Replies View Related

General :: Convert Open Office (odt) Files To Text Files?

May 25, 2011

How do you convert Open Office (ODT) documents to Text files?
I have made a report using libre office. Now I wish to continue editing the document using lyx (latex front end). So the ODT file needs to be saved as some .tex file.

I don't see an option to do this in File menu (export/save as). So is there any other plugin to do this?

View 1 Replies View Related

Ubuntu :: Create CSV From Text File?

Jun 16, 2011

I have a file like:

a
1
2

[code].....

and I would like to convert it to CSV, so that it looks like:

a,1,2
b,1,2
c0,1,2
d0a1,1,2

Basically, I would like to move every 2nd and 3rd line onto the above line, and put a comma to separate

View 5 Replies View Related

Ubuntu :: Create A Text Searchable PDF File?

Apr 13, 2010

I can do multiscan documents using xsane and the scanner and create multipage PDF. My next wonderment was how would you create it so you can search for text in the PDF file. I am assuming the scanner is really just creating an image file. And the reader needs text? I did find a decent OCR web based solution. It looks like it would be a lot of work to put something like that together.

View 4 Replies View Related

General :: Create Folder Name From The Text File?

Jun 23, 2010

1. I need guide on how to create a folder name from the text file with .txt format.

2. First, I call the function of reading the directory.

3. Then, I dont know how to do.

4. Finally, I close the directory

This is my source code in perl

## read text.txt file ##
open F, "from/$directory/text.txt";
read F, $buf, 9999;
close F;[/size]

This source code is used to print the folder with date format like "ddmm" d stands for day and m stands for month

if ($command =~ s/-O "(.*)"/-O "$websites/$month/$file"/)

Instead, I want to have the name from text.txt to be folder name

View 4 Replies View Related

Programming :: Create Cvs From List Text File

Dec 21, 2010

I have a file with 5000 lines. it is a list of books authors, series and titles. all lines start with the author names, than there is a dash (-) than the series name, a dash again and the title of the book.

The problem I encounter is that sometime there is a series, sometime not, and as I try to enter this list in a database, I wanted to create a cvs file to import into mysql.

ex:

The best would be to be able to add in the second line, a "space dash space" just after the author name, but how to make sure it does not do it to the first line as well.

If I could separate all line with 2 dash, (grep ?) then I would be able to do a simple replace, and change the single dash into two.

View 2 Replies View Related

General :: Ubuntu 10.10 - Create A Text Shortcut?

May 12, 2011

create a shortcut to my email, so when im loggin in on different homepages,i can just press ex ALT+F1 and my email will be written in the selected area..

View 4 Replies View Related

Software :: Create Binary File With Text In It?

Nov 17, 2010

How to create binary file with text in it, something like

Quote:

Hola Mundo!

I want it binary, because I want to execute it directly from Bios before Windows.

View 7 Replies View Related







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