Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dbeez

  1. dbeez

    Firefox opening links ...

    A program which has to communicate with the X windows system must be runned by a user which has a running X session. Did you started the window manager as root ? ( This is highly unrecommended. ) Can you start any other program which has graphical interface ( xterm, xclock, xmms... ) ? ... I...
  2. dbeez

    .net question ??

    serious newbie question here ... does this code look familiar to anyone <span class="page" onmouseover="this.style.background='#f7f7f7'" onmouseout="this.style.background=''" onclick="javascript:__doPostBack('Pager','8')"> 8 </span> ... I'd assumed it was javascript, but probably I'm wrong...
  3. dbeez

    javascript function with __

    That's probably a good idea Baby* I know abosolutely nothing about .net, but the code does tend to suggest that this is javascript <span class="page" onmouseover="this.style.background='#f7f7f7'" onmouseout="this.style.background=''" onclick="javascript:__doPostBack('Pager','8')"> 8 </span>...
  4. dbeez

    javascript function with __

    if it's in the .net arch, then why is it denoted as javascript:__doPostBack I don't see this piece of the script being sent server-side, it appears to be a client-side script with no corresponding function. Maybe I'm missing something ??
  5. dbeez

    javascript function with __

    I'm looking at someone's javascript here in my console. The javascript has a onclick="javascript:__doPostBack('Pager','2')" function in it. The only problem is though, that there is no __doPostBack function on the html or the .js file. What does the __ mean to javascript ?? Why does the...
  6. dbeez

    Firefox opening links ...

    Ok, I got some help over on the mozilla IRC. I got a moz-remote program that works fine as a substitution. http://wp.netscape.com/newsref/std/remote.c But I have one remaining problem with the script. It works as is #!/bin/sh if [ $# -eq 0 ] then echo " For the \"$0\" script, you...
  7. dbeez

    Firefox opening links ...

    This is kinda strange I input root@ubuntu:/home/babo/Desktop/spider_proj # firefox -remote "openFile(spider)" (firefox-bin:13053): Gdk-WARNING **: cannot set locale modifiers Error: No running window found ... and it automatically opens up some kinda spiderman webpage off the web. I then...
  8. dbeez

    Firefox opening links ...

    Oops ... I think that was me ... thanks feherke. Unforutnately though it doesn't work either way and just gives me a root@ubuntu:/home/babo/Desktop/spider_proj # mozilla -remote "openURL(http://www.example.com,new-tab)" (firefox-bin:8303): Gdk-WARNING **: cannot set locale modifiers Error...
  9. dbeez

    Firefox opening links ...

    Ya, you do ... put I have it launched already and it still doesn't work ???? Ah well ... it's probably an Xorg bug ...
  10. dbeez

    Firefox opening links ...

    Hi phv, no luck I'm afraid. Even this doesn't work firefox -remote "openURL(http://www.tek-tips.com,new_tab)" ... the funny thing is that it worked last night though ???
  11. dbeez

    Firefox opening links ...

    Thanks phv, I seem to be getting a weird error though. I got it last night as well but I just rebooted and it went away, unfortunately I don't have such success this morning .... (firefox-bin:7460): Gdk-WARNING **: cannot set locale modifiers Error: No running window found when I try the...
  12. dbeez

    Firefox opening links ...

    hi guys ... this is the last piece of the puzzle ??? anyone got any ideas ???? then I'll buzz off ... promise ! <fingers crossed> :) thanks
  13. dbeez

    Firefox opening links ...

    Thanks phv, that's kinda like it but I actually want my sed command to just take in a "$f" and then modify it and pass it along to the firefox -remote command to open it in my browser. I'm parsing a load of files (webpages) on my computer, and if those pages have the keyword in them (in this...
  14. dbeez

    Firefox opening links ...

    Ok thanks guys, just one more question find . -type f | while read f do if grep -q 'university' "$f" then echo "$f" > file.links && sed 's_^./_http://_' "$f" && firefox -remote "openURL(\"$f\",new_tab) else continue fi done I want to sed my file.links so that they give me properly formed...
  15. dbeez

    Firefox opening links ...

    thanks feherke, I'm having a bit of a 'double quotes inside a double quotes' problem though. This is my code find . -type f | while read f do if grep -q 'string' "$f" then echo "$f" >> file.links && firefox -remote "openURL("$f",new-tab)" else continue fi done ... now I realize that this is...

Part and Inventory Search

Back
Top