Ubuntu :: Every Time Open A .conf File It Pops The "Do You Want To Run Or Display Its Content?"

Sep 16, 2010

I'm working with .conf files which I need to edit (with gedit for example) and an .sh file which I need to run occasionally.

And every time I open a .conf file it pops the "Do you want to run or display its content?" question.

I tried to configure Nautilus to stop prompting me every time by setting the Edit->Preferences->Behavior to Run executable text files when they are opened.

But now every time I try to run the .sh file it opens it in gedit instead of running it.

Is there anyway to set the behavior for specific file types?

Like so it'd open the .conf files in a text editor and run the .sh files?

(Maybe I should mention that I'm running Ubuntu 10.04 with Gnome)

View 5 Replies


Programming :: Display Content Of Txt File In Xbmc?

Apr 25, 2011

go about developing this add-on. i am testing this on my xbmc-live set-up; i am fairly affluent in bash/ c but unfortunately i dont have experience with python.i trimmed the data using this bash 1-liner so the output looks like:

xbmc@XBMCLive:~$ wget -q --output-document=- www.google.com/movies | sed -n 3p | tr '<' "
" | egrep "(title_bar|id=link_1_theater|class=info|mid=|Rated|class=times|fandango)" | grep


View 2 Replies View Related

General :: Set Date Time Using A File Content?

Jan 13, 2010

I have a file called foo with a date string in it - and nothing else in the file


I want to send this file content to date -s command so I can modify using a cron job.

I tried several ways to pipe the file contents to date command but did not work.

View 4 Replies View Related

CentOS 5 :: Httpd: Could Not Open Configuration File /etc/httpd/conf/httpd.conf: No Such File

Nov 9, 2009

accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :

[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart


View 3 Replies View Related

Ubuntu :: Can't Open/parse The Config File /etc/clamav/freshclam.conf?

Mar 11, 2010

I have installed ClamAV 0.95.3 into Ubuntu 9.10 (i386) fully patched
I am behind an authenticating proxy, so I've entered these details into freshclam.conf:
HTTPProxyServer myproxy.com
HTTPProxyPort 1234
HTTPProxyUsername myusername
HTTPProxyPassword mypass

So I changed the perms to 0700 (user is clamav).
Now I get:
$ sudo freshclam
ERROR: Can't open/parse the config file /etc/clamav/freshclam.conf

I checked DNS resolution with this (which I found in a thread somewhere):
# host database.clamav.net
database.clamav.net is an alias for db.local.clamav.net.
db.local.clamav.net is an alias for db.other.clamav.net.
db.other.clamav.net has address
db.other.clamav.net has address
- I presume the installation can find the update site?

View 3 Replies View Related

Ubuntu Installation :: Unable To Open X Config File '/etc/X11/xorg.conf' For Writing?

Apr 21, 2010

When trying to conigure via nvidia-setting using root (sudo) and then saving to config file I get the ' Unable to open X config file '/etc/X11/xorg.conf' for writing.' in a message box - below is what i get on terminal:

Traceback (most recent call last):
File "/usr/share/screen-resolution-extra/nvidia-polkit.py", line 75, in <module>
operation_status = main(options)
File "/usr/share/screen-resolution-extra/nvidia-polkit.py", line 51, in main


View 7 Replies View Related

General :: Dividing Content Of One File By Content Of Another?

Apr 12, 2011

If you have the value 100 in File1 and the value 5 in File2, how do you write a script to divide the 100 in File1 by the 5 in File2 in Linux Bash Shell?The operating system I am using is Ubuntu 10 and object is to write a script to accomplish this task.

View 5 Replies View Related

Networking :: Find The Default Content Of Snmptrapd.conf ?

Mar 22, 2011

I deleted the snmptrapd.conf from /etc/snmp/ and now I want to see the default content to create that file.. Been searching the web but can't find it.

View 2 Replies View Related

General :: Write File And Display In Terminal At Same Time

Sep 30, 2010

How can we write a file and display in terminal at the same time. Like for example, when I do..
php -f file.php > testfile
That should save right.. but I want to display it in terminal otherwise.

View 4 Replies View Related

General :: Open A Script File (same File Every Time)?

Aug 12, 2010

I need to goto a folder, open a script file (same file every time). The file has different function calls, I need to comment all other function calls and just un-comment the one I want to use.



View 14 Replies View Related

Slackware :: Script Which Reinstates Original Content Of /etc/resolve.conf After Using Wicd

Dec 16, 2010

I have discovered that after employing the Wicd Network Manager I can no longer connect via ppp. The reason, it seems, is that each instance of Wicd changes the content of my /etc/resolv.conf file from:

search SPRINT

Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line

It has been suggested that I write a script that does this.

View 2 Replies View Related

Programming :: C - Open A Txt File And Then Display The Data?

Oct 12, 2010

i want to open a txt file and then read line by line and display data with first line and label it 1 and then incremented by 1 for each additional line.

View 14 Replies View Related

Ubuntu :: File Properties Takes A Long Time To Open

May 6, 2010

I have a newly installed Kubuntu 10.04 running here, works fine except for one thing.

I have a kind of "fileserver" and it has a samba share that I have mounted in the home folder of my desktop computer ("/home/xxx/fileserver", the server is running an older version of Ubuntu, can't exactly remember what it is but the filesystem is ext2, if that's of any importance).

I have large files on the server, mostly video. When I use Dolphin (or Konqueror, doesn't make any difference) and right click one of these large files and choose Properties, it takes a LONG time to load the properties window. As if it copies the file to local hd before opening properties, or something.

The reason why I posted here and not in the networking section is, that I had the exact same setup with my previous installation which was Kubuntu 8.04, and also at least three different Ubuntu's before that. Never had this problem before, so I think my server and networking thingies are okay.

View 1 Replies View Related

Server :: /etc/named.conf:57: Open: /etc/named.root.hints: File Not Found

Apr 1, 2011

I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.

#/etc/init.d/named restart Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]

View 2 Replies View Related

OpenSUSE :: Unable To Open Configuration File "/home/hamed/.smb/smb.conf"?

Feb 28, 2011

When run xbmc error acquiredparams.cpenConfFile() - Unable to open configuration file "/home/hamed/.smb/smb.conf": No such file or directorymb was disabled as default and I don't use it, I was put the smb configure file into .smb in home but problem still exist.

View 3 Replies View Related

Red Hat / Fedora :: Display Different Content On Different Monitors?

Jul 26, 2009

I am currently using and working on Fedora 10 and have couple of monitors set up to itNow, I want to display different content on different monitors (not the same content on all monitors). It should keep displaying Pictures and/or videos with a certain intervals of time as soon as the fedora loads. How should make this happen.

View 5 Replies View Related

Ubuntu Networking :: On Server 10.04 - Two Different Nfs Share Display Same Content?

May 14, 2010

This server is for dhcp and sharing purposes.I can actually access one nfs share via other ubuntu and osx clients on the network, then I configured another share with different mount point (different drive, different forlder, different contents).The problem is: when I connect form a client to the new one it displays the same exact content of the first share. It seems that is mounting the same share on a different mount point on the client and exporting the shares via the exportfs -ra command doesn't solve nothing.This is my fstab file

proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation


View 1 Replies View Related

Fedora :: Could Not Open The File /boot/grub/grub.conf?

Aug 31, 2010

I would like to modify the boot loader settings and triedo open the file grub.confHowever, it is said that the file could not be opened, as seen in the attachment.Tried to authenticate as 'root' before opening the file, but the problem still exist...

View 10 Replies View Related

Fedora :: Thunderbird Does Not Display Message Content+

Jul 31, 2010

I recently got the problem that Thunderbird does not displays the messages anymore. The e-mails are downloaded form the server, a new email warning is given, but the e-mail cannot be displayed (in fact it is not loaded in the message window. I could only see the TB start page). I cannot even see the old messages.

However, when use "see message source" I can see the e-mails.

I also noticed this message in the error console:

server does not support RFC 5746, see CVE-2009-3555

I use Fedora 12 + thunderbird 3.0.6-1

On another linux box F9+ThB 2.0.0 I do not have that issue.

Today I upgraded to Fedora 13 + TB 3.1.1. This should be the latest one, but I still cannot see the message.

Also, on F13 I got another issue with Firefox 3.6.7. When I switch between the tabs, the tabs will turn black and will not get back to normal for 10-15 sec. It looks liek a random effect because often only part fo the page turns black. This issue appear in the windows of TB 3.1.1 since updated to F13.

My hardware is a Sony SR49 laptop with ATI mobility Radeon HD3470

Have Google chrome and this black page issue is not present. The same with Evolution mail, but I do not like it.

View 1 Replies View Related

OpenSUSE :: 11.4 - Apache Cannot Display Content Anymore

Jun 4, 2011

I have a fresh install OpenSuSE 11.4 installation. I have install Apache 2 ,I have change the content on the owner and group to chown wwwrun.nobody Directory /srv/www/htdocs. Now apache cannot display the content anymore there is no error in the error_log. If I change the content to my user the content is displayed. Why and how can I fix this the permission are the same as on the previous web server and I'm using index.php as the index page..

View 9 Replies View Related

Programming :: Use Echo To Display The Content Of A Variable?

Jan 4, 2010

I have a problem to use echo to display the content of a variable.

This is what I do:

echo $USAGE

When I run this little script I get the following output:

Usage: name [OPTIONS] R

So I think that [DI might be some sort of escape sequence. But I do not know how to unescape it. Does anyone have a hint for me?

View 14 Replies View Related

General :: Ubuntu Etc/profile: Environmental Variable Doesn't Display Content?

Jul 28, 2011

i am trying to declare an environmental variable in the /etc/profile' (as per the tutorial i'm following) but when i declare it and do an echo i get nothing.Here's what i've done so far..nside /etc/profile:

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ -d /etc/profile.d ]; then


View 12 Replies View Related

General :: Display The Last Email Content With Configured Fetchmail?

Mar 11, 2011

I would like to see the last received IMAP email and its content with Fetchmail. Is it possible?

View 3 Replies View Related

OpenSUSE :: Software To Display Time From Multiple Time Zones?

Jun 15, 2011

I'm looking for a program that will digitally display the time in three different cities - all showing at once. I don't care if it is a panel applet or stand-alone. I'm using Suse 11.3 and Gnome.

View 5 Replies View Related

OpenSUSE :: Kmail Does Not Display Local Folder Content After Akonadi Migration

Feb 17, 2011

I run opensuse 11.3/KDE:Factory. Recently, kmail updated to using akonadi. The following problem came up. My local emails are now managed by a "local folders" component of akonadi. The folder structure is displayed correctly in Kmail. However, no emails are shown for some folders. Emails still live in the .kde4/share/app/kmail directory hierarchy and can be imported into a new folder after moving them somewhere else. However, even after a fresh import sometimes emails are no longer recognized.

View 2 Replies View Related

Slackware :: L 99 99 99 Pops Up - Fatal: Create /boot/map: No Such File Or Directory

Mar 4, 2011

Im sure that this issue is pretty old and you get some results from forums when you google it, but I cant seem to find the solution : When I boot my system ( its duel boot , win7 / Slackware 13.1 ) the message : L 99 99 99 pops up. I know this has to do with the MBR, When I looked online this is what people were told to do:


View 6 Replies View Related

Ubuntu :: Webpage Flash Content Didn't Open Correctly

Jun 12, 2011

i have these problems while opening [url] and blender 3d web page flash content didn't opens correctly. see the attached pictures to see detailed problem. i have installed flash player via software center i use ubuntu 10.10 maverick 64 bits. in videos whole content of webpage is wrong. in blenders webpage flash content didn't opens correctly at all stays white place where should be movie? ps: i found another problem while posting here in forum while trying to post via firefox it denies to post gives me a error that i should increase text ... ?

different browsers did not solve the problem with blenders web page which is: [url] only google chrome solves partly ..... problem it arranges the videos but did not view the picture of any video.

ps: all updates are installed via update manager.

View 4 Replies View Related

General :: X11 Forwarding - Error: Can't Open Display: <ip Of Display>

Jun 28, 2011

I have the following scenario that doesn't seem to work normally. I have a windows 7 pc from which I am using putty to connect to my other linux servers (all running redhat 5 and 6). So here is the scenario that works and one that does not work. And I'm trying to figure out the one that does not work. Scenario that works:

From windows 7 (putty) I ssh into Linux_Server_1.

I run xclock and I see it pop up on my windows 7 pc. I am using xming on windows 7 to help me populate the display from linux to windows. One that does not work:

From windows 7 (putty) I ssh into Linux_Server_1. Then from Linux_Server_1 I ssh into Linux_Server_2.
<no output>

I try to setup $DISPLAY with localhost:10.0 or 0.0 or even my windows 7 pc ip address:0.0 ....etc Then when I try to run xclock I doesn't work.

I get these error messages: Error: Can't open display: <ip of display>

Also as a side note all our Linux servers are sitting on one subnet. My pc is sitting on another subnet. I use vpn to connect to the subnet where the servers sit from my pc.

View 4 Replies View Related

Ubuntu :: Create A Backup Of The Xorg.conf File - Cannot Stat /etc/X11/xorg.conf

Dec 11, 2010

I've just done a fresh install of Lubuntu 10.10 on an older Sony Vaio laptop. Having learned the hard way about editing xorg files, I wanted to create a backup of the xorg.conf file so that I dont have to do another install when I screw everything up. In a terminal, I typed


View 8 Replies View Related

Ubuntu :: Run "start-tor-browser"or Display Its Content"start-tor-browser" Is An Executable Text File"

Apr 6, 2011

Ok so i have the tor browser bundle but when clicking start-tor-browser. I get : "Do you want to run "start-tor-browser", or display its content" ,"start-tor-browser" is an executable text file." So i click run but Vidalia doesn't start and nothing happens.

View 2 Replies View Related

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