A Kate Related Question. How To Use A Text Prompt?

Hi there. My environment: Ubuntu 12.04, I just installed kate as an editor. I noticed many nice features and one I liked quite a bit although I don't know how to benefit from it. I began typing

Quote:
pi = 3.1415
and at this very moment a prompt appeared with about 15 decimal digits. How can I have it get pasted to the text? Is there a key shortcut for that?

Thanks, -A.


Similar Content



Application Can Be Found After Slackpkg Upgrade

After try slackpkg:
slackpkg update
slackpkg install-new
slackpkg upgrade xx (I try with firefox, kate and xpdf)
Then I cannot open these apps.

Kate give me "A KDE text-editor components could not be found. Please check your KDE installation".

And I don't know where apps locate. I don't know what I can do with this issue

What Happened To Gnuplot?

In my Ubuntu 14.04 something happened to gnuplot app. When I invoke a command gnuplot filename.gnu no canvas is generated. I think it began about a month ago but at that time I worked on this machine via a remote desktop and I thought, mistakenly, that the plot actually was generated on the major machine and I could not see it. I operated at that time via a laptop. So, today is the first day I am testing this software on my desktop and lo and behold no plot is generated.

When command is run Ubuntu does not come to the command prompt. It gets suspended and waits. If I click RETURN button, the command prompt will again appear but where is the plot?

I hope I made my plight clear.

Needles to say I have used gnuplot many times in the past although perhaps in Ubunutu VM which I will test shortly.

I also made sure that gnuplot is installed, trying to do

Quote:
sudo apt-get install gnuplot
The result was that I do have it installed.

What is the problem?

Thanks, - A.

Bootable Text Editor

I'm looking for a distraction-free environment to write down study notes (darn ADHD!), and my penmanship is terrible (and can't be searched).

I have an old HP laptop that can boot from USB, and an old thumb drive.

Ideally, I'd like...
- Fast boot
- Boot right into text editor (can be command line editor)
- Save out (back onto USB drive or HDD, accessible by Windows to copy over into evernote for later)

I'm not a total idiot, but am a linux noobie, so any instructions would be helpful.

I appreciate your time! Thank you!

Good Command Prompt Linux For Beginners, But Power Users?

Hi, please excuse any misunderstanding about the title.

I'm an experienced computer user, but not with Linux. As a matter of fact, even with Windows, I only do so much at the command prompt.

I am looking for a very fast (boot and etc.) Linux system, that has nothing more than a command prompt. No X-Windows. However, I would like to configure X-Windows immediately after an installation.

I noticed the LFS project. Very cool, but way too complex for me. It is exactly what I'm looking for, except, I would like the basic system to already be proven, maybe even with security updates.

The biggest most important thing is (ONLY WHAT I WANT). I don't want dozens of browsers, a hundred text editors, or any other cool or stupid open source or commercial software. I simply am looking for what Dos 6.22 was in Linux.

There are many distros. Can you guys help me pick one out that is light, secure and ready to be configured to run X windows or X-Free or Xorg, I'm not sure what the best is right now.

PS: I'm a linux noob, but I have had several decent installations of Ubuntu, and some experience with the command line, including compiling software, but still a beginner.

When Looking To Install Software On Xubuntu What Types (xfce Etc.) Will Work?

I just asked a question about Xubuntu and things are a little clearer now. But when I go to install new software or apps is the only thing that will work with Xubuntu something that says it's compatible with xfce?

I don't think that's the case, because I remember installing stuff like the text editor Kate that was more like other things than xfce but it works great anyway.

But what would be really helpful would be if someone could give me a list of the different kinds (I don't even know what they're called but the software programs or apps say things like 'works with KDE or Debian or GTK2 etc.') of things that will work with Xubuntu.

Thanks.

Passing Password To Encfs

There is an option in encfs:

--extpass=program Use external program for password prompt

I want to use such program for this:

#!/bin/bash
zenity --entry --title="password dialog" --text="Enter your _password:" --hide-text

But how can I pass such obtained password to entfs call?

Any idea?

A Gedit Warning.

I have Ubuntu 14.04. gedit is my preferred text and code editor. All of a sudden I am getting this warnng when I open a txt file:

Quote:
(gedit:3860): Gtk-WARNING **: GtkScrolledWindow 0x9bba3c8 is mapped but visible child GtkScrollbar 0x9bbc7a8 is not mapped
There are four such warnings in a row (or rather column). They litter my terminal output. What is this and how to correct it?

Thanks, - A.

Help Modifying Text With User Input

Hello,

I apologize in advance for my limited UNIX scripting knowledge. I am new to it and really want to learn.

I am trying to write a bash script that updates a config file based on user input.

What is the best method for accomplishing this? I need it to prompt the user for two variables, find the location in the config file, and insert new text with the two variables.

I was thinking I could use sed to find the text in the config file where the new text must be inserted before and replace it with the new text, two variables, and same ending text as before. Example:

echo "1st variable?"
read variable1

echo "2nd variable?"
read variable2

sed -e "s|<the spot in the config file that needs new config>|sometext...$variable2_somemoretext...$variable1\n<the spot in the config file that needs new config>|g" config > config2


This works except variable2 is not inserted into the replace string, only variable1 is. This is the result in config2:

sometext..._somemoretext...$variable1
<the spot in the config file that needs new config>


If anyone can tell me why variable2 isn't working in the sed replace string, or if there's a much better way for accomplishing what I'm after, I'd appreciate any help I can get.

Ssh Public Key Fingerprint

First time post so I hope it's not too long winded!

I've just installed Centos v7.1 and created an additional user.

First putty session I logged in with root and got the public fingerprint message and clicked Yes to accept.

However I noted when I logged in with the user other I did not get the prompt and my home directory didn't have a .ssh directory.

OK, so I created a .ssh (chmod 700) directory within /etc/skel and created a new user. Logged in with that account and still no prompt, although I do now have a .ssh directory generated.

I've tried deleting the known_hosts files in the root's .ssh directory and restarting the sshd daemon but it's not working.

How do I get it to prompt with original public key again?

Thanks for reading.

Prompt As >

Hi all, I don't know so I ask:
what is the prompt like > called?

and how some servers are like: Username@servername#
> uname -a
SunOS MS1SMPC01 5.10 Generic_148888-01 sun4v sparc SUNW,SPARC-Enterprise-T5220
>