Ubuntu :: Make A Loop With Xmacro?
Nov 24, 2010i need to repeat a sequence of buttons in an infinite loop. I can't find the command to do that on xmacro.
View 9 Repliesi need to repeat a sequence of buttons in an infinite loop. I can't find the command to do that on xmacro.
View 9 Repliesanyone get autohotkey or xmacro to work in linus? How?
View 1 Replies View RelatedI got a new laptop a few days ago, to which I installed Fedora 12, and I am trying to install xmacro on it. I downloaded.I looked at this thread and one of the posts says there are instructions here but the link does not work for me.I installed xmacro on my old laptop (Debian) with no problems. I don't remember how, but I suppose it will be different installing an rpm anyway.
View 3 Replies View RelatedI am writing a scripts which involves for loop. I want to make use of arguments passed to scripts ranging from 2nd to last. I tried to use below
Quote:
kint `whoami`/root
for i in $2..$*
do
ssh root@$i "cd /local/0/home;mkdir -p $1/test"
done
I am trying to run it as below
Quote:
./scriptname webtech myserver1 myserver2 myserver3
and it gives following error Quote: ssh: myserver1..myserver2: name or service not known I basically want to pass arguments from myserver1 to myserver3 to the script.
I have a mytext file with month and year as two separate fields. likemytext fil
08 2010
09 2010
10 2010
........
........
........
I want to read the values of each field i.e., month and year into an awk script.
I need to flash my BIOS to get rid of an error: "Intel uCode loading error". On [URL] I have found a tutorial, that looks to be fine. I can even see in the comments, that somebody have done this with success from Ubuntu 9.04, the very same system, that I use. Nevertheless I cannot make this bootCD with my Ubuntu 9.04, as it doesn't know the loop option to mount the image.
In the tutorial it says: "Requirements for this step is that you have support for the vfat and loop file systems in the kernel. Or you can have those features compiled as modules. In the latter case you can load the modules before the next step, like this:
modprobe vfat
modprobe loop"
loop doesn't seem to be present in my system, and the command modprobe loop returns an error that the module is not available. I tried to follow the tutorial anyway, but with no success. How can I get the module lopp? I also want to use it to make iso images bootsble from the harddisk.
I am getting an error as below.
How do I resolve the error: make[2]: *** No rule to make target `', needed by `mpg123'.
How can I resolve this error.
I have a script that changes my background to a real-time satellite shot of the earth.
Heres the script code...
For some reason, it will not repeat after the set 300 seconds (5 minutes).
How do I get it to loop properly?
I have received the ZaReason Teo netbook I have bought, all specs are here:I have had it for 3 days now and haven't really played around with it very much: I have installed a few apps (skype, synergy, dropbox, texlive) and I've been basically getting acquainted, and I'm generally satisfied. A couple of hours ago I came back from the office, turned on the computer again and.. gnome started to flicker in an impossible loop! In one second, it will go completely white, then I'll see the purple Ubuntu background, then the application bar on the top and then white again. I see for a tenth of a second two suspicious arrows in the top left corner.
I have taken pics and made a sequence of the loop to help you guys understand:this happens immediately after login. when it loads, as in when you get "Ubuntu" and the 5 bullet points below, it doesn't flicker.While the screen loops in the sequence, i can open a terminal (using Gnome DO) and do stuff. I have tried to stop GDM, using "sudo /etc/init.d/gdm stop"What I then get is a command line interface where I can type something, but if I press ENTER nothing happens, it just goes to the next line. To restart the thing I need to press the power button off and on again. Here's the image of where I get. When I restart, it starts to loop again. I don't know what to do. While it loops I can enter commands in a terminal (thanks Gnome DO). I removed synergy but it didn't help either. As per now, it's really difficult and slow to interact with the machine, this really make it useless for anything I'd like to do with it.
I am using Kubuntu. When I came back from the States -- where I stay for long while -- I had to update the system to Ubuntu 10.04 LTS. So I did.
I have now a loop problem for the login process.
On a terminal I can read such a message about BASH :
So I was wondering is it possible to loop a script until i hit the Esc key? I have seen the do or while true thing. here is the script
Code:
#!/bin/bash
sleep 5 &&
[code]....
what does desktop manager do? What does $ do? what is loop for in command line? What is the best way to switch user? Using command line?
View 7 Replies View RelatedI just upgraded to 10.04 Netbook Remix.When I boot, it gets past the splash screen and to the desktop. Before it can load anything, it acts as if it is looping. The wallpaper loads, the screen blinks white and then it loads the wallpaper again... then a white screen, then the wallpaper.I've tried to bring up the terminal and can't do that. I've also rebooted in recovery mode which didn't help.I'm at a loss. I'm on a windoze machine now since I can't get on my netbook.
View 1 Replies View RelatedNot sure exactly how to describe it. I'll try to get a video for reference. The log-in screen comes up, I type in my password, hit enter, and the screen goes black and the log-in screen comes back up. I'm currently using a BackTrack installation (it sucks) and I'd like to go back to an OS that connects to the internet automatically, instead of me having to redo everything from a terminal upon startup
View 1 Replies View RelatedI really don't get this!! I must be doing something really foolish but i can't figure out what it is.
Code:
#!/bin/bash
pro_num=0
[code]...
i know this is probably listed somewhere, but after several hours looking around, noone has this same issue.long story short, my girlfriends gateway laptop (bleh) had a hdd fail and crashed. best buy said shed have to wait ANOTHER week, after she had already been out a comp for 2 weeks, to get the factory install windows 7 disc. so she asked me to put ubuntu on it. finished it yesterday, updated etc. heres the issue.its a gateway nv55c w/ built in wifi card ( not sure on type) attempting to connect to a wrt54g linksys wifi router. it tries to connect, takes 3 mins then says disconnected.
View 9 Replies View RelatedI haven't come across this bit of 'elitism' before but it seems with this install one MUST have a working net connection. Why is this? How do people without net at all get to install Karmic Koala?
I am using the alternate install from a USB stick (UNetbootin) and I have to use a separate USB WiFi dongle (not the Wifi built into this Thinkpad T43). The installer does not recognise the difference, so consequently it fails to find the dongle and gets stuck in a loop between 'Net access failed' and 'Searching for a local mirror' - I don't understand why it needs a mirror at this stage anyway as I downloaded the correct and complete .iso
Major catch22 for me as I am attempting a fresh install due to the upgrade from 9.04 to 9.10 having totally screwed up my system - no ALSA, App menu gone doo-lally, etc etc - far too much mess to sort out.
On top of that, the trackpoint button has stopped working altogether and no amount of Fn+F8 switching makes any difference. Hmm.
Edit: Trackpoint somehow got disabled in BIOS during above aborted install.
Basically, I think my Internet crashed while sending an email via Evolution and now whenever I open Evolution, or try and receive any new email it just sits there sending this email - it reaches 100% so I can only assume it has actually sent the email.
There's a button to "Cancel the current mail operation" though it doesn't appear to be doing anything; the email is still being "sent" each time.
This would be pretty tedious for the guy I sent the email to.
Has anyone had similar issues and knows of a fix?
I am trying to make a bash menu that loops with options but it does not work as I want:
Code:
I want to make it read an option and do the action then return to menu.
What is the difference between For and While when creating loops in bash scripting?
View 1 Replies View RelatedI have a box built by a local shop (AMD Sempron 2400+, 1.? gig RAM). It used to have XP on it, but I replaced that with 9.10. I tried installing 10.04 from CD and encountered the login loop problem many others have experienced. I had it working once when I re-installed 9.10 and then ran the upgrade to 10.04. I got the login loop that had music up to the cymbal crash, which was clipped near the end. I tried the recommendation to switch to a command line terminal, log in, run sudo dpkg-reconfigure gdm, and then restart gdm. It worked, and I should have left well enough alone. However, I thought that it would be cleaner to install from the CD. Unfortunately, when I got to the login screen I only got a blank screen when trying <ctrl><alt><F1> (or <F2, etc). <ctrl><alt><F8> took me back to the login screen where I still encounter the login loop.
I also tried the recommendation to run the install with the F6 parameter nomodset selected. That resulted in loosing the music during the login loop, although I've discovered that sometimes it's simply because the sound is starting out muted.
Another recommendation was to drop into GRUB when first powering up. It took me a while, but I finally found out that one must hold down the shift key on power up to get to GRUB. While that did let me log in to a command line screen, running dpkg-reconfigure gdm did not work, this time. Neither did the idea of editing the GRUB command line to replace quiet splash with nomodeset.
I have read many posts on this forum talking about this problem as it applies to Nvidia or ATI graphics cards. Has anyone had any experience with the VIA video built into a motherboard? Running lshw -C Display while booted from the 9.10 CD says that I have a VIA KM400/KN400/P4M800 [S3 UniChrome] video system.
A recommendation from one of my local PLUG friends was to revert to an earlier video driver that works. Is this possible? Can I take the video driver from 9.10 and use it for 10.04? If so, how do I find it -- what's it called, where is it, what is the 10.04 driver called, and where is it, and can I just change the name of 9.10's driver (if it is different from 10.04's)? If it isn't obvious that I really don't know how this level of things work, let me confess that I don't.
How can I port standard out from ls or any other command into a while loop?
Code:
while read line
do
[code]....
I have installed ubuntu 10.10 on my pc and whenever I login to the desktop it shows the gnome panels, icons, wallpaper and then immediately goes back to the login screen. If I try to login again, it does the same thing all over again but sometimes it works. Is there any way to fix this?
View 9 Replies View RelatedI recently installed grub and windows side by side and now whenever I select windows from the grub menu it just loads grub again. I installed burg a while ago but i don't think i installed it right. I didn't check windows before then so it might not be the problem either.
View 7 Replies View RelatedWhen I boot into Ubuntu, it goes to the log in screen. I can type in my password and then the screen flashes black and then the log-in screen comes back. If I boot into recovery mode, I can log in via terminal, but if I type startx it just brings up a black screen and a mouse cursor and that's it. Did GNOME get messed up? How would I fix it? I have an Ubuntu LiveCD that I can use, so if I have to install any packages or something, would I be able to download them in the livecd and just install them on my broken installation instead of having to figure out connecting to wifi in a terminal?
View 9 Replies View RelatedI am having issues loading Ubuntu 10.10 from USB. I have a HP Compaq nx9110 laptop, p4 3.2 512ram etc with a dead hard drive. I would buy a new HDD but i cant really vouch spending $80Aus on a IDE 2.5 just to play with linux. Anyhow it seems to read the USB stick which was created following the directions on this site but when it attempts to load the Realtec LAN (i think) it seems to get stuck in a loop. I have attached a screen print of what i see, it hangs for a few seconds then starts over with the same writing. Anyone know what that means or how i can fix this so i can try 10.10?
View 2 Replies View RelatedI have a system which has been running 8.10 for two years (and am preparing to rebuild). Yesterday I thought to reboot it and am now stuck in a boot-loop getting the "not responding" x.xxxxxx error.
I made no changes prior to the reboot (just felt it was time) other than moving documents off the main drive onto a spare (preparing for the rebuild).
I have tried booting into several of the previous kernels and I ran memtest (flying colors). I keep getting the same error.
I have now built a 10.04 system for this machine. The old 8.10 drive seems to be in perfect order and I was able to pull various files from it.
I thought this would be the end of it but if I boot this new machine with my HP scanner attached via USB (any port) I get the boot-loop as in 8.10.
Again no changes were made to the 8.10 build prior to yesterday's reboot, and that scanner has been attached for more than two years (and working with fair reliability). I have had to alter its USB port or (inclusive) power-cycle it for Ubuntu to find it, but I had to do this when it was attached to an XP machine and so thought nothing of it.
Why has (presumably) the kernel driver suddenly crapped its pants?
Oh, and for the doubters I was able to boot into 10.04, open x-sane (which I prefer over Simple), locate the scanner (after power-cycling it), and scan an image. I just had to attach the scanner to the machine after the kernel loaded (at the login screen).
I just finished the upgrade of 10.10 to 11.04, restarted and now i can't login anymore, i'm stuck in an endless login loop.
1) Boot
2) Xorg starts
3) I see my user, login
4) Screen goes black like it's loading
5) Loop back to login
It's not a password issue, i can login in command line It's not a profile issue cause i tried creating a new user from the command line and it still loops. I looks briefly at the /var/log/... but i couldn't find anything relevant,respond ASAP this is my work PC.
I thought it would be simple since it's a very simple a relatively new machine (2months ago)
Still learning OS. I had auto login set and noticed at the login screen an option to boot straight to XBMC. Now I cannot boot normally anymore. Walk me through fixing this please. I'm not afraid of the command line.
View 2 Replies View RelatedI have a box running Ubuntu 11.04 (natty). I have never run memetest before. Then, randomly, when starting up today, it ran memtest. Because memtest86+ is on a loop, it doesn't stop unless you stop it. So I tried restarting the machine - no good. It simply starts memtest again and runs the same testing loop. I cannot find any setting in the BIOS to disable memtest. how I can stop/disable memtest so I can USE my computer??
View 1 Replies View Related