Ubuntu :: Create A Command That Can Be Typed In Any Old Terminal Window And Display Screen For Anyone Who Typed It
May 24, 2011
i want to create a command that can be typed in any old terminal window that would display a message on screen for anyone who typed it. is this possible? i just want to do this for the randomness of it.
and cuz i need to get used to messing with terminal windows.
for example i would like to have "rawr" setup as a command to display a message on screen in a popup window with an "Ok" button to close the popup. i googled it but all i came up with was creating commands to launch applications without having to type the full path/command. not what i'm looking for. thanks in advance!!!
When I was using AntiX, I liked how I could just type "xlock" in a terminal and it would lock the screen until I came back and typed my password. I saw that there was no "xlock" package, so googling around, I saw it was replaced with xlockmore and xlockmore-gl, neither of which there seems to be a package for in the Squeeze repositories. I tried xscreensaver, but I prefer the simplicity of xlock (and I like that it doesn't leave a daemon runnig when not in use). Is there a way to safely install it, or should I just be looking for an alternative?
I currently have a set up in vim so that when I type "<leader>ns" it takes any given word and turns it into a sub "sub word(){}". I also have it when I type "<leader>nc" it creates a doc comment section that is "blank". I was wondering if someone could help me out with combining the two so that when I typed <leader>ns it would create the doc comments with the word already in the Subroutine: line and create the new sub routine aswell. I'm trying to understand what I have (downloaded from the internet) and only doing so so. Code:
" Put cursor over word and hit ,ns to create new Sub nmap <leader>nc o #------------------------------------------------------------------------------ # Subroutine: # Function :
It does happen occasionally that I type a password in the wrong place or at the wrong time when I'm working with multiple terminal windows. It's not a frequent occurrence but sometimes it does indeed occur (most recently as an argument to g++ instead of the password prompt to scp).Would you guys consider it adequate to clear the view with "clear" and the history with "history -c" or should I change my password after such a mishap? I realize that this should probably not be a problem with my computer at home as I'm the only user but when I log onto school (where we mostly use ubuntu, solaris) would the same precautions be enough?
when i was about to install turbo c using dosbox in ubuntu on the console i typed the commandas sudo apt-get install dosbox the error occured as E:couldnt find the package dosbox
Does anyone know of any (GNU) software that can scan in letters that have been typed, and encode the text to unicode/ASCII/etc. I've looked for "Handrwriting recognition" (figuring if some software can interpret handwriting it could interpret typewriter text) in the Ubuntu software center and on an internet search, but all the hits are for tablet and stylus type programs.
I have installed linux 10.04 server and after the installation I can't login. There stands: Ubuntu 10.04.04 LTS xNAMEx tty1 xNAMEx login: after entering there comes a new line with... Password: And there I can't type anything. What I must do?
in terminal I typed the commandkillall compiz after this i lost everything. after the reboot i am getting only terminal mode even I tried startx command
This one is really busting my balloons. I have been running my new machine for a couple of weeks now. I have either beaten most issues into submission or come up with work arounds or just learned to live with them. Except for this one...
About once a day, I cannot duplicate the circumstances, my Alt key ceases to function in Ubuntu. My left hand has over the years evolved into a specialized tool which presses Alt-Tab and Alt-F4 instinctively. When these do not work it is driving me nuts.
I have determined that this is not a hardware issue. I generally have a VMWare virtual machine running and Alt-Tab and other Alt key combinations work in the VM at the same time as they are not working on the host.
I must at a minimum logout and back in get the Alt key to be recognized again in the host.
Is there a tool which I can run to examine the key strokes as they are typed? something like the keyboard tester which runs during installation?
I recently upgraded mu Fedora 13 to Fedora 14, I decided to add another NIC that I assumed it'll be eth1, when I boot the PC and typed #ifconfig eth0, eth1, lo appears. But when I typed #setup eth1 is not present. Why is that? I remembered doing this in Centos 5.5 but it automatically appears after I added a NIC and boot the pc? what should I do?
I use putty to get to my RHEL 5.3 workstation from my Windows laptop.
Typically, if I want a new terminal on my windows 7 workstation from another terminal or mc, I have to type start and I will see a new terminal window running the default shell.
QUESTION : What is the equivalent command in RHEL 5.3 (and or solaris) to create a new terminal window from the command line ? I will be entering this command from the shell prompt or mc's command line.
In Windows, if I want to start another terminal and in that terminal, I want to run a program, I can do "start program.exe arg1 arg2". this will create a new terminal window and runs program.exe in that terminal window. I don't have to create a terminal and then in a separate step run the program. How can I do this in Linux ?
I have to install zlib for running ./configure.I typed "sudo apt-get install zlib" but it doesn't work...Quote:configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping
Is there anyway to print on screen in a terminal window what an alias actually does?For example, if I had an command that was an alias to open something in some directory, is there a way of finding out what the alias actually does?is there a way without looking in .bashrc / .bash_profile etc?
is it possible (and how) to create keyboard shortcut/binding that would give window-focus back to Tilda terminal? Currently, it is necessary to LMB-click inside Tilda (or at least drag mouse-cursor over Tilda) to resume typing.
In 10.4 I had set my default terminal size to my screen width - I type some long commands. After running an update this morning, my terminal comes up in the install default size. Using the preferences dialog, I cannot find the control to set the default width. Has it been removed? I hope I'm looking in the wrong place, but I have a chilling feeling that it's been dropped or perhaps just accidentally commented out.
I am able to invoke 'skype' using the following command in a Terminal window. < export XLIB_SKIP_ARGB_VISUALS=1 && LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so && skype & >. I want to be able to enter it through the Gnome Application interface. I right click on the skype icon and went to properties and added the above code. When I click the icon I get the following error message set out on the attachment? properly enter the commands within the application Command: line?
the code when recording a screen using terminal command? it has this code "xllgrab".. that's all i can remember.. i read it somewhere in this forum and it really works but i can't find that thread anymore