Slackware :: Add Own Personal Database Of Quotes For The Fortune App To Call When Open A Terminal

Feb 5, 2010

I'm trying to add my own personal database of quotes for the fortune app to call when i open a terminal. I was able to successfully create the data base from a text file along the lines of this thread [URL] And it works when i type :$ fortune mydatabase The problem is, when i open a terminal i dont believe fortune knows to look for the new database, and im yet to see one of my quotes appear. If anyone can point me in the right direction as to where the command is issued to run fortune when i open the terminal

View 5 Replies


ADVERTISEMENT

Programming :: Getting Rid Of Quotes When Dragging A File Into The Terminal

Feb 18, 2010

The following script will work when I type the path to the file I want to checksum, but not when I drag the file to the terminal because the linux terminal (unlike the Mac) automatically puts quotes around the file path, which causes an error. (Clarification: am referring to gnome-terminal. Thanks, GrapefruiTgirl.) I did not find anything in gconf-editor or anywhere else to alter this behaviour, and my post in Launchpad is unanswered so far. (the script in itself is not very useful, I just stumbled upon this error when experimenting with bash).

So, is there a workaround for stripping the quotes from the input, or can I configure the terminal to not quote the input when I drag a file into it (which I would prefer?)

I am currently logged in from Mac OS, but the question refers to ubuntu karmic with which I dual boot.

View 6 Replies View Related

General :: Removing Quotes When Dragging Files To Terminal

Feb 18, 2010

The following script will work when I type the path to the file I want to checksum, but not when I drag the file to the terminal because the linux terminal (unlike the Mac) automatically puts quotes around the file path, which causes an error. I did not find anything in gconf-editor or anywhere else to alter this behaviour, and my post in Launchpad is unanswered so far. (the script in itself is not very useful, I just stumbled upon this error when experimenting with bash).

So, is there a workaround for stripping the quotes from the input, or can I configure the terminal to not quote the input when I drag a file into it (which I would prefer?)I am currently logged in from Mac OS, but the question refers to ubuntu karmic with which I dual boot.ADMINISTRATORS: Thanks for the quick reply to my newbie question about posting new threads. Actually I don't see now what the difficulty was; I guess I was tired from trying to debug the above script (not funny).

View 1 Replies View Related

Ubuntu :: Double Quotes And Single Quotes Not Working In 11.04?

Aug 2, 2011

I am not sure If anybody has faced this issue, my keyboard is less responsive when pressing the double quote/single quote key, I have to press it twice for it to print the quote( and that too it prints some other data and not exactly a double-quotes). Initially I thought it was issue with my keyboard, but later I see that it is working fine in Windows XP. It looks some kind of setting issue. If you check the below two examples, example a) is the double quote printed in Ubuntu, it doesnt exactly looks like a double-quotes and b) is the one printed in Windows.

View 1 Replies View Related

Debian :: X: Unable To Open Display '' (two Single Quotes)?

Jun 10, 2010

I'm experimenting with old linux Distributions again, and while trying tostart an x server, I get the following error message:X: unable to open display ''That makes me think that the config file is incomplete, but I would have no idea how to make it. If there is an auto configuration utility that I do not know about for X, it would be great to hear about. Here are some other specifications that might help:*Host: VMWare Workstation on Windows XP Home*Distribution: Debian 2.2 (potato) (Yes, I know it's old.)*Connection: Local. I've heard of people having difficulties like this on remote connections, but I am on the physical computer

View 7 Replies View Related

Debian :: Connect To My Mysql Database Using Php - Fatal Error - Call To Undefined Function Mysql_connect()".

Jul 31, 2010

I am trying to connect to my mysql database using php but I am getting the error "Fatal error: Call to undefined function mysql_connect()".

I checked phpinfo() and there is no reference to MySQL. I believe this means that my install of PHP doesn't support MySQL. Do I need to uninstall and reinstall with a version of PHP with MySQL support? If so how should I do this and how do I get a version of PHP that supports MySQL?

View 2 Replies View Related

Software :: Fortune And Konsole - Kde ?

Apr 19, 2009

If it is possible to execute fortune command when i start a new konsole session.

View 4 Replies View Related

Ubuntu :: Call A .sh Script Without Directly Opening The Terminal?

Nov 22, 2010

I need to call a .sh script without directly opening the terminal. Is possible to do so writing and compiling a script (e.g. Java or Python) so when I double click it, it opens a terminal window and runs the .sh automatically?

View 4 Replies View Related

Programming :: Write A Bash Script To Call From A Terminal?

May 24, 2010

I am trying to write a bash script to call from a terminal that will change the terminal title. I am using ubuntu 10.04. The script is meant to be used in the gnome-terminal.

Here is what I have:

Code: #! bin/bash
echo "New title: c"
read title
echo "33]0;$titl07c" -e

[Code]....

it doesn't work

I think the problem has to do with modifying PS1 inside the bash so i tried this:

Code: echo `export PS1="[e]1;u@h:wa]${debian_chroot:+($debian_chroot)}u@h:w$ "` and it still didn't work.

View 1 Replies View Related

General :: Call Or Resume A Paused Process In To Another Terminal?

Jan 13, 2010

how to call or resume a paused process in to another terminal.

View 1 Replies View Related

CentOS 5 :: How To Install The Cowsay And Fortune

Nov 15, 2009

i have tried to install cowsay and fortune. but apparently they are'nt in the repos?Is there any way to install them with yum or do i have to compile the src?

View 9 Replies View Related

Programming :: Double Quotes Inside Double Quotes?

Jun 6, 2010

In bash I need to use some equivalent of double quotes inside double quotes (or the other way around.)I need to run the following statement to get the output of foo and store it in a variable while passing foo the $file which probably contains spaces.

Code:
variable=$(foo "$file")
The problem is that foo might return an empty string and if it does I need to catch it

[code]...

View 6 Replies View Related

Programming :: C / C++ Scripts For Make Hunting Call In Open IMS

Nov 15, 2010

I am a newbie in linux n programming, I need to use ubuntu for my research at school about building an IMS server use openims.

The problem is I need an additional script in C/C++ for my openims server to make an extension call. I hope one number can represent 3 client as receiver/operator. So, when I call the number, the server can forward the call to those three receiver by hunt.
1st call will be forward to the 1st receiver.
2nd call will be forward to the 2nd receiver.
3rd call will be forward to the 3rd receiver.
then, 4th call will be forward back to the 1st receiver, etc.

View 7 Replies View Related

Ubuntu :: Terminal Not Able To Connect To Database ?

May 20, 2010

Just upgraded to 10.04, trying to watch a dvd and it doesnt work. so i go to the ubuntu website, download the required pack (ubuntu restriced extras)

And then type in the code:

Code:

when i do this, terminal keeps trying to connect to a database, but it is not able to, see below....

Code:

Im at university and sitting behind a proxy. however, i had no problem doing this with ubuntu 9.10 and i can access internet, update, software centre ect...

View 4 Replies View Related

Ubuntu :: Command For "Open A Terminal Window And Run Application In This Terminal ?

Aug 8, 2010

What is the command for "Open a terminal window and run application in this terminal

View 4 Replies View Related

Slackware :: Call For Testing - Xorg Updates (20100830)

Aug 30, 2010

For anyone interested in testing new xorg stuff, here it is: [URL]. The good news is that this package set should work fine in either 13.1 or -current. The build box is 13.1, so I know they're compatible there; however, I'm running them on both 13.1 and -current systems, so I'm pretty sure they'll work on either. Be sure to read the NOTES file before you go digging around in PACKAGES.

View 14 Replies View Related

Slackware :: Using Gmail To Call Landlines And Mobile Devices?

Aug 31, 2010

Last week google introduced the capability of using gmail to call other people in Canada or the US on landlines or mobile devices. This capability is free for 2010.
I gave this a try in Slackware 13.1 and it works. To do this I was browsing with Fire Fox 3.6.8 and logged into my gmail account. On the left hand side of your e-mail account window you will see a phone icon.

1. When you click on that icon you will be prompted to install the gmail phone application.

2. A download window will open asking you to download a .deb source. I downloaded it and then I used src2pkg to create a Slackware package, then installed it.

3. Re-launch Fire Fox.

4. Click on the phone application and call up people. The voice quality is quite good, I experienced little lag.

View 12 Replies View Related

Ubuntu :: How To Change Terminal App For Nautilus-open-terminal

Dec 1, 2010

I've fallen in love with Terminator as a replacement for the standard gnome-terminal app.

However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.

I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.

A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.

View 5 Replies View Related

Ubuntu :: Kubuntu 10.04 LTS - To Open Wdb Or Mdb - Database File

Oct 20, 2010

I'm using kubuntu 10.04 LTS and i need to open a wdb or a mdb (database file) and then save in one of those formats for a computing course I'm doing.

View 2 Replies View Related

Software :: Error: Cannot Open Packages Database In /var/lib/rpm

Jan 1, 2010

I met this problem when I was installing MaterialStudio4.4 .

error: db4 error(13) from dbenv->open: Permission denied

error: cannot open Packages index using db3 - Permission denied (13)

error: cannot open Packages database in /var/lib/rpm

View 2 Replies View Related

Red Hat :: Emacs: Cannot Open Termcap Database File

Oct 17, 2010

i have just installed the fedora 13 and emacs, after intalling the emacs when i try to load it i get the next message [root@localhost Eli]# emacs emacs: Cannot open termcap database file

View 3 Replies View Related

Slackware :: Call To Lnusertemp Failed (temp Directories Full)?

Aug 4, 2010

I had a fresh install of Slackware 13.1 up and running. I was looking to use an app which could only run on a gnome distro. So I installed gnomeslackbuild. Ran into dependency hell so I gave up the ghost and decided to reinstall.Re-install resulted in a message "Call to lnusertemp failed(temporary directories full).Had this before a different machine and sorted with another install at the time.Tried this but it keeps coming up with the same message. (4 installs later).Quote:

xset: bad font path element (#23) possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir

[code]....

View 4 Replies View Related

Slackware :: Fatal Error - Call To Undefined Function Imagecreatefromjpeg()

May 17, 2011

I am having a problem with my slackware version 12 server. I tried installing a new joomla theme from the rockettheme and its giving me the following error while loading the site.

Fatal error: Call to undefined function imagecreatefromjpeg()in /home/www/verticaltest/modules/mod_rokstories/thumbnail.inc.php on line 167

Thought it was a problem with gd library modules, but in info.php, its showing that gd is installed in the server. Pasting the result form info.php below..

If gd is installed, what should be the problem?

View 3 Replies View Related

Ubuntu :: Create A Command That Will Open Terminal And Keep It Open?

Jul 30, 2010

I have a problem that I can't seem to figure out. I can easily create a .sh file that will execute a command in Terminal, but as soon as it executes the terminal disappears. How do I get it to stay? My idea is to have the keyboard shortcut "ctrl+alt+del" open a .sh file with the contents "ps ax". Then it would be just like having a task manager; the terminal would open with "ps ax" already executed, and all I would have to do is kill the process number.

View 5 Replies View Related

Ubuntu :: Unable To Open Pdf Document Linked Into The Database

Oct 6, 2010

I have successfully installed endnote x3 running under wine to this document: [URL]..and thanks to winetricks to complete the dll requirement that endnote was asking on startup.

Nos i have two problems: 1/ i am not able to open pdf document linked into the database, i have this error:

Code:
This URL (\Z:mediasda5path oJPP.dataPDFauthor2008-1341524334author2008.pdf) could not be launched

2/I have some issues with the left panel : all text are big black line instead of words (see attachment)

View 3 Replies View Related

Ubuntu Installation :: Can SQL 2008 Open Database Made From Oracle

Feb 17, 2010

My DataBase Teacher wants us to install SQL 2008 cause on 3 days i gotta practice for the big test But the requirements are a ton "Visual Basic 2008 with service pack 1 & IIS" but thats just a tiny part of the problem.! My Windows 7 crashed.! So iam thinking can linux oracle be the answer of my ugly problems.?!Can SQL 2008 open database made from linux Oracle?

View 3 Replies View Related

Ubuntu Multimedia :: 11.04 - Banshee 2.0 Unable To Open Database File

Jul 31, 2011

I'm experiencing a problem running Banshee 2.0 on my Ubuntu 11.04 system. Basically, I'm getting the following fatal error, the code of which is quoted hereunder. Of note is that uninstalling and reinstalling Banshee (through Ubuntu Software Centre) doesn't fix this problem. Incidentally or not, I also seem to have a problem with my other (and preferred) media player, Amarok. This is the error code:

Code:
Si verificata un eccezione non gestita: Sqlite error 14: unable to open database file (SQL: UPDATE CorePrimarySources SET CachedCount = 1568 WHERE PrimarySourceID = 1)
at Hyena.Data.Sqlite.Connection.CheckError (Int32 errorCode, System.String sql) [0x00000] in <filename unknown>:0
at Hyena.Data.Sqlite.Connection.Execute (System.String sql) [0x00000] in <filename unknown>:0
at Hyena.Data.Sqlite.HyenaSqliteCommand.Execute (Hyena.Data.Sqlite.HyenaSqliteConnection hconnection, Hyena.Data.Sqlite.Connection connection) [0x00000] in <filename unknown>:0
Exception has been thrown by the target of an invocation.

View 2 Replies View Related

Server :: Open A Database File In Sqlitebrowser Returns An Error?

Oct 31, 2010

Code:
kenny_strawn@kenny-AOA110:~$ sqlite3 -html -line /var/www/fluxbb/ProprietarySuckware 'select o_base_url from memos'

Error: unable to open database "/var/www/fluxbb/ProprietarySuckware": unable to open database file
kenny_strawn@kenny-AOA110:~$

This database was automatically generated by FluxBB, so I am wondering just why it isn't opening.

View 2 Replies View Related

Software :: Script That Call A Java Program That Call A System Command?

Nov 29, 2010

In practice I have a script that call a java program that call a linux system command. The script if I run it, from a shell functions well,so it is not a java problem. The problem come out when i put this script in a crontab schedulation. The result in this case is that java do not execute the system command. I think it depends on crontab

View 4 Replies View Related

Slackware :: Kde4.4 And Sesame2 Database?

Mar 1, 2010

I have installed Alien Bob's KDE4.4 packages and have eveything almost in working order. However I am getting a nepomuk warning that says that the sesame2 database is not working or something to that effect. Has anyone else come across this problem?

View 3 Replies View Related







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