I have created some text executable files and put them on my desktop. In the way of background I created them in gedit. Then used chmod ugo+x (filename) to make them executable. One of them is a ping test to see if a printer is on. Text in file = ping 192.168.1.5. Others are to turn my laptop touchpad on and off. text in file = sudo modprobe -i psmouse. I have 2 questions about executable text files:
- When I click on an executable text file it present a window with 4 options (Run in terminal, display, cancel, run). Can I set a parameter or do something else so it just runs in terminal? I know I can set an option in Nautilus to run them but when I select run nothing seems to happen. In addition I would want to set this option on a case by case basis not globally in Nautilus. If there is an option or flag where it would run this file in terminal I would use it on my printer ping test.
- When I click on these executable text files to turn my touchpad on and off, the text within the file uses the sudo command so that requires that I input my password. After I click on either of these files a window appears with the 4 options (Run in terminal, display, cancel, run). I select run in terminal, a terminal window opens and requests my password. Subsequent to inputting my password the file executes fine.
Is there a way to set a parameter or do something else so I don't need to not only select the run in terminal option from (run in terminal, display, cancel, run) but also not to enter my password?
I checked the 'Run executable text files when they are opened' option in Nautilus preferences. I have noticed that files such as .sh and .bin launch by simply clicking on then (which is great). However I have also noticed that an ordinary .txt and .html file must not be marked as executable in order to launch it in Gedit and Firefox respectively via clicking. Otherwise you must right click and open with every time. What file types need to have execute permissions? What file types never need to have execute permissions?
I have some text files (Just plain text files, not OpenOffice files or anything) and when I try to open them in Windows they are all one line. I think I read somewhere that Linux uses for new lines whereas Windows uses or something... I am using Kate to edit them, and I have a LOT of files to fix so...
I'm trying to open an executable called qview (a GUI program) from Nautilus. The overall goal is to open a certain file type with it. If I run from terminal, there's no problem, but when I click on it from Nautilus, it doesn't seem to do anything. I changed the ownership to me, to make sure the permissions were set properly.
I created a bash script to help me mount my network shares.However when I link the file to the desktop and dbl click on the link it asks me if I want toCode:RUN IN TERMINAL - DISPLAY - CANCEL - RUNHow can I get it to RUN IN TERMINAL each time I dbl click it?
when I create a new text file in my pendrive, it become executable automatically. The text file name append with asterisk(*). However when I create a text file in Desktop, the created text file is normal and is not executable.
Another thing is when I copy a PDF file to my pendrive, it become executable file with asterisk (*) append after the PDF name. I've try copy whatever to pendrive but all end up with executable file.
Well title say it all how do you disable the screen programs opening text in 11.04 so you do not have to hit the enter key twice to get by the two pages of text to actually be running the program you started.
The problem that I am having now is that I can not is the text when the menus come up or when opening a file from the cd or curraculum on line. I have cairo-dock running and a conky running. Could this be the couse of my problem? I was going to uninstall and reinstall packet tracer but I am unsure on how to uninstall.
I just installed the nmap for port scanning and then run ./configure , make , make install command respectively. It works and then I successfully installed nmap under /usr/local/bin . nmap is a executable file not .exe . so my question is how can I open it .
I ran a program that writes continuously from 1 every line. After some time I ran '/dev/null > temp' Problem1: bash: /dev/null: Permission denied (Yes, the permissions of /dev/null are correct ... crw-rw-rw-. I removed and created it again, but no change) I used 'cat temp' to see the contents and first few lines deleted (working correctly). Problem2: I can't open the file (with double click or with any graphical editor like gedit)
Apart from these problems, I have another question... Is there a way to trim a active log file to say 80% without affecting any logs that server might be writing.
I am a beginner at programming and have been given an assignment by my professor. Its a text file with lines of varying lengths. All I have to do is write a code to open the file and see the output in an excel sheet. Have been asked to use C/C++ or visual basic
I cant make files executable anymore.using chmod or from file properties.. it isn't working. AS far as I remember, I didn't make any changes in the user settings and my account has the administrator rights. For an un-executable file, say a jpg or a txt, it can be done.but doesn't happen with a .sh, .py or any other xecutable. chmodi-ing shows no error, but the file isn't executable. Through the GUI, when I check the box , its immediately unchecked again.
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.
you can make a file that runs the contents as if typed out by the user in command prompt by saving the file as either .bat or .cmd . When using BASH in ubuntu, is it possible to save terminal executable files (from a text editor, like GEDIT), What file ending does it take, can i lay it out with just commands? (what is the syntax)