Jump to content

satelliteuser083

Members
  • Posts

    498
  • Joined

  • Last visited

Everything posted by satelliteuser083

  1. Haven't been able to find ies4linux just yet, but will definitely continue down that path. The Konqueror add-on looks to be an easy function to use, will test that asap. Have also installed the 'User Agent Switcher' add-on to Firefox, but haven't yet quite figured out how to drive it properly; next task. Sooo many options, luvvly linux. B) Many thanks to you all. :P Edit: have just found ies4linux, looks interesting.
  2. Well, don't worry about insulting my intelligence, just keep them ole answers comin' B) . In fact, I didn't know that you could do anything as clever as that. Wow!! I've found an add-on called 'Rebrand', could try that. And, changing the bank is an attractive thought, but there's no guarantee that the new one won't do the same :unsure: .
  3. For some reason :unsure: one of my banks will only run its internet-banking on Internet Explorer . Since I have no intention of allowing Windoze anywhere near the internet on my machine, I'd like to implement this using either wine or crossover on my 2007 box. Could someone who has used either of these configurations give me some tips, in particular with regard to how well each works ind if there are any preferences? Thanks. [moved from Software by spinynorman]
  4. Many thanks, Ian, (and nexus), that was dead easy. And, Yves, my OpenOffice ignores it, too, as does medit; great tip. Presumeably there is a series of localhost:nnn addresses for different apps/functions; is there a list anywhere? Thanks, once again.
  5. I'd like to change the printer page-size default from 'letter' to 'A4'; I understand that this can be done by modifying a cups (config?) file, but I can't find a suitable one (from the very many cups files, I mean ;) ). Can anyone help me out? I'm using 2007. Thanks.
  6. Yes, Steve, the -i with grep is the answer to the name problem. B) And, I assume that the "s are necessary, because the script failed without them. Anyway, here is my finished script; hope it helps someone out there (please excuse the comments if they are too obvious, but they won't be to me in, say, 6 months :unsure: ) #!/bin/sh # # the following 4 variables are necessary because: # unfortunately dcop Desktop-Nrs go from 1 to n for Desktops 1 to n, whereas # wmctrl uses values 0 to n-1 for Desktops 1 to n; therefore, to get the correct # value (for wmctrl) it is necessary to use a value exactly 1 LESS than that # used by dcop #. dcop_gnu_WS=5 wmctrl_gnu_WS=" 4 " dcop_kpdf_WS=6 wmctrl_kpdf_WS=" 5 " error_flag=0 # # First, check if either of the two programs is already running IN THE INTENDED WS; if # either is, this script will fail, so it simply terminates immediately. # # So, for example, test (using 'wmctrl -l') whether or not gnumeric is running IN WS 5; # if it is, set the error-flag if [ "$(wmctrl -l | grep -i gnumeric)" != "" ] && [ "$(wmctrl -l | grep -i $wmctrl_gnu_WS)" != "" ]; then echo "error, gnumeric already running in WS $dcop_gnu_WS, please remove gnumeric from that WS" && error_flag=1; fi if [ "$(wmctrl -l | grep -i kpdf)" != "" ] && [ "$(wmctrl -l | grep -i $wmctrl_kpdf_WS)" != "" ]; then echo "error, kpdf already running in WS $dcop_kpdf_WS, please remove kpdf from that WS" && error_flag=1; fi #echo "error_flag="$error_flag if [ "$error_flag" = "1" ]; then # either gnumeric or kpdf is running (or both), error; terminate. echo "terminating... goodbye :("; else # # run the following commands (i.e. start gnumeric and kpdf), using '(' bla bla bla ...')' # start with '(' on a new line, finish with ');', also on its own new line. # ( curws=$(dcop kwin KWinInterface currentDesktop) dcop kwin KWinInterface setCurrentDesktop $dcop_kpdf_WS # start kpdf as a background-task (the terminating '&'), then wait until it is ready # to accept input kpdf output.pdf & while [ "$(wmctrl -l | grep -i kpdf)" = "" ] do sleep 2 done echo "kpdf started in ws"$(dcop kwin KWinInterface currentDesktop) # echo "kpdf started, starting gnumeric..." dcop kwin KWinInterface setCurrentDesktop $dcop_gnu_WS echo "starting gnumeric..." # start gnumeric as a background-task (the terminating '&'), then wait until it is ready # to accept input gnumericfilename1.xls 2>/dev/null & while [ "$(wmctrl -l | grep -i gnumeric)" = "" ] do sleep 2 done echo "gnumeric started in ws"$(dcop kwin KWinInterface currentDesktop) # echo "gnumeric started, returning to original desktop..." dcop kwin KWinInterface setCurrentDesktop $curws ); fi Many thanks :thumbs:
  7. Well, how about this , Steve? I noticed that the "(wmctrl -l | grep gnumeric)" command didn't work completely correctly in a konsole, so instead of gnumeric filename1 & while [ $(wmctrl -l | grep gnumeric) -eq '' ] do sleep done I tried gnumeric filename1 & while [ "$(wmctrl -l | grep Gnumeric)" = "" ] do sleep 2 done and now it works. Bash didn't like 'sleep' without an argument, so that was easy; also, strangely enough, gnumeric is actually called Gnumeric (with a capital G; you have to use the exact name in the title-bar), which is why the 'while' line jammed up. I'm not sure if I've really solved the syntax-prob, or if it's just sheer coincidence, but I don't much care. Until the next time, that is B) . What's your opinion?
  8. I still have a snag, I'm afraid, Steve. The "while" line produces in the following error-message: line 14: [: -eq: unary operator expected The "(wmctrl -l | grep gnumeric)" part works OK in a konsole, so there seems to be a syntax-problem elsewhere. I've tried a few changes to the line (using '(' instead of '[', for example) but I'm absolutely useless at de-bugging bash-syntax, so I'll have to ask you to look at it for me, please. Thanks.
  9. Thanks, spinynorman, that worked well; just knew it was syntax. ;) And, pmpatrick, 'wait' doesn't do quite what I want; I think that it does wait, but right up until gnumeric is terminated and not (as I want) until the latter is up and running, i.e ready to accept input. I'm now playing with 'sleep'; doesn't work just yet but will report when/if it does. Many thanks to you both. :thumbs:
  10. Quite a complex topic, but you've helped me a bit further down the line. Many thanks to you both. :D
  11. When I perform the following command in a konsole, it works: [lawrence@localhost ~]$ dcop kwin KWinInterface currentDesktop 4 The same thing in a script, in an attempt to assign this value to a variable curws=dcop kwin KWinInterface currentDesktop fails, with the message kwin: Unexpected argument 'KWinInterface' . I assume that this is a basic script-syntax problem, but I can't see it. Can anyone help me out? Thanks.
  12. Yes, you're correct, of course; '2>/dev/null' works well. Thanks. :D And, following on with this topic, I've come up against another problem. I want to start two apps in different workspaces but the workspace-selection is completed much faster than the app start-up, the result being that they both end up in the same (second) workspace. My script looks like this: wmctrl -s2 gnumeric filename1 & wmctrl -s3 kpdf filename2 & Does anyone know of a way of delaying the execution of 'wmctrl -s3' until gnumeric has completed start-up (or any other way of ensuring that the script acts as desired)? Thanks.
  13. Was a bit confused, nexus, 'cos substituting '>' with '&' didn't work. However, I found the following site, where all became clear (at least, the bit about stderr did B) ) http://www.cpqlinux.com/redirect.html Now, using 'gnumeric filename 2>err.txt', there's no error-output. Thanks.
  14. Have tried both of your suggestions and each does the trick. Many thanks. Now, with that problem solved, I have just a niggle; when I start an app from a script - e.g. gnumeric - a series of messages appears (errors?) in the konsole running the script, which I would like to suppress. I've tried using '>' but bash ignores that. Any ideas? Thanks.
  15. Hope I'm not breaking too many rules by doing this, couldn't think of any other way :unsure: FOA Steve Scrimpshire, ref. https://mandrivausers.org/index.php?showtopic=46444 Sorry for being so dim, but I do need some clarification: - is '/i586/isolinux/alt0/' where you put the .iso; if not, what do the path-components mean? - what is 'all.rdz'? - is '(hd1,0)' where you had 2007.1 One installed, or where you installed 2008? - and, is an installer simply an installer, or will a Mandriva installer only install Mandriva products, a Ubuntu installer Ubuntu products, etc? It certainly sounds like a great method, I'd like to use it as a general-purpose tool.
  16. No luck with searches on this one :huh: . Is it possible to switch desktop with a script (i.e from current to e.g. desktop Nr 4); if so, how? Thanks. [moved from Software by spinynorman]
  17. Yes, Greg, alsaconf seems to have fixed it, although volume is very low. Below about 50% in Kmix the sound is practically zero; strange, although I have seen in a couple of fora that this may be a general problem with this acer model. Your suggestion didn't have any effect, I'm afraid, Lexicon, but at least audio didn't deteriorate B). And, superphysics, in Kmix there's absolutely no mention of "output jack", only "Output". Interestingly, in wengo (the reason for this topic), in "Audio settings" all three boxes - Input Device, Output Device and Ringing Device - are empty. So, looks like it's back to the drawing-board. Many thanks to you all. :D
  18. Thanks again. The sound-card has not been stolen (phew.. B) ) because it seems to work well under Windoze. And here are the results as requested: [margit@localhost ~]$ grep -i audio /etc/group audio:x:81:margit [margit@localhost ~]$ id uid=501(margit) gid=501(margit) groups=81(audio),82(video),501(margit) and [root@localhost ~]# lsmod |grep -i snd snd_pcm_oss 43072 0 snd_mixer_oss 16608 1 snd_pcm_oss snd_intel8x0 33020 0 snd_ac97_codec 95268 1 snd_intel8x0 snd_ac97_bus 2400 1 snd_ac97_codec snd_pcm 76868 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 22884 1 snd_pcm snd 52708 6 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer soundcore 9824 1 snd snd_page_alloc 10152 2 snd_intel8x0,snd_pcm BTW, in MCC-> Hardware-> "Look...configure hardware" -> "82801H (ICH8 Family) HD Audio Controller" -> "Run config tool" this message appears: Error: the "snd_hda_intel" driver for your soundcard is unlisted . Don't know what's happened there, I'm sure that the driver was present at one time. Does this help in any way?
  19. Thanks, Greg. The results are as follows: [margit@localhost ~]$ grep sound-slot /etc/modprobe.conf alias sound-slot-0 snd_intel8x0 and.... [margit@localhost ~]$ arecord -l arecord: device_list:207: no soundcards found... and.... [margit@localhost ~]$ /usr/bin/artsshell status Error: "/home/margit/.kde/socket-localhost" points to "/tmp/ksocket-margit" instead of "/home/margit/tmp/ksocket-margit". Link points to "/tmp/ksocket-margit" Error: "/home/margit/.kde/socket-localhost" points to "/tmp/ksocket-margit" instead of "/home/margit/tmp/ksocket-margit". Creating link /home/margit/.kde/socket-localhost. Created link from "/home/margit/.kde/socket-localhost" to "/home/margit/tmp/ksocket-margit" server status: suspended real-time status: real-time server buffer time: 40.6349 ms buffer size multiplier: 1 minimum stream buffer time: 40.6349 ms auto suspend time: 60 s audio method: null sampling rate: 44100 channels: 2 sample size: 16 bits duplex: half device: null fragments: 7 fragment size: 1024 finally.... [root@localhost ~]# ls -l /dev/dsp ls: /dev/dsp: No such file or directory Hope you can make something out of it all. :)
  20. Things seem to be deteriorating; although I haven't done anything to the system (that I can remember, anyway :unsure: ), at boot the following appears Sound server informational message: Error while initializing the sound driver: device /dev/dsp can't be opened (No such file or directory) The sound server will continue, using the null output device. . Have looked in dmesg and there's no mention of alsa. Also, kmix displays a blank box. Any further tips? Thanks.
  21. Yup, that's it. Don't remember having changed those settings, but there you are. Many thanks, Nexus. :thumbs:
  22. Just a small irritation; whenever an application is (re)started (in 2007) its window is only half-sized, despite having been left maximised at last use. Previously, windows were always restored to their previous settings. Apparently I've changed something in some setting or other, but I can't find out where :unsure: . Could anyone give me a tip? Thanks. [moved from Software by spinynorman]
  23. The problem seems to boil down to the fact that grub can't (or won't) recognise the USB-FDD :unsure: (which is known as /media/floppy). Using a desktop with an internal FDD (known as /mnt/fd0) the procedure described above - herman's - works perfectly. Please note that it is important to stick closely to this procedure; I tried a shortcut and the boot-floppy failed. Many thanks, liquidzoo, and many thanks, Herman. :thumbs:
×
×
  • Create New...