Ubuntu :: Custom Url-handlers Fails To Register In Browsers

May 4, 2011

Operating System: Ubuntu 11.04 w/ Unity-2D

I had serveral custom url-handlers setup using gconftool-2 in my old Ubuntu 10.10 setup, but now after reinstalling and updating to Ubuntu 11.04 I can't get a single one to work with Chrome (11.0.696.57) nor other browsers like Midori.

The only solution was to switch to Firefox and setup them manually using network.protocol-handler*

It seems (on the surface) that Chrome insists on opening the links with xdg-open (and if I remember correctly in Ubuntu 10.10 Chrome said it opened the links using the apps set in gconf), but xdg-open only supports the most common http* and ftp* does it not? - Just learned that xdg-open is the default handler for all urls.

I've tried everything, including searching through Chrome's config files, reinstalling Chrome, and tested changing the paths to my apps - but without any luck.

Note that I'm talking about links in Google Chrome, Firefox on the other hand doesn't even check the url-handlers so I had to set them up manually using about:config > network.protocol-handler*

So they work in Firefox when added, but in no other browsers.

Google Chrome opens the links with xdg-open [url] as depicted in the attacheds screenshot, but this throws in error, found in .xsession-errors:

Code:
gvfs-open: svtrip://example.com/: error opening location: The specified location is not supported

View 2 Replies


ADVERTISEMENT

General :: Register A Custom Protocol With Xdg?

Jul 10, 2010

I've been struggling this morning trying to associate an application with a custom protocol, namely emacsclient and org-protocol.

I'm calling this protocol from a webbrowser bookmarklet, and I get the following behaviour :

In chromium, the "Launch Application" dialog comes up, and calls xdg-open org-protocol://... which ends up firing a new chromium frame.

In firefox, I've tried setting network.protocol-handler.app.org-protocol to an empty string or my emacsclient path, anyhow I get the following error message : "Firefox doesn't know how to open this address, because the protocol (org-protocol) isn't associated with any program" without even showing any external application selection dialog.

I'm not using any desktop environment, so I need to make this work strictly with xdg, however, despite reading the shared mime info spec etc, I still can't fathom a working configuration.

View 2 Replies View Related

Ubuntu :: Facebook Fails To Load On All Browsers

Aug 17, 2010

just installed ubuntu 10.4 and almost all websites load properly except facebook. the problem is persistent with all browsers: opera, firefox, chrome. if i use the same programs with windows 7, facebook loads properly. basically, the log in page comes up....howerver, once i sign on only the very top blue bar loads. videos works perfectly - i have flash installed correctly. i've never had this problem on ubuntu before. thinking there was something wrong with ubuntu 10.4 i installed 10.10. the problem still persists. also, i can not load facebook with jolicloud. i have an asus 64 bit laptop.

View 9 Replies View Related

General :: Custom Xen Shutdown Command Fails?

Dec 26, 2010

I have a custom command I've made to quickly shut down all of my xen instances.

Code:

[root@LCENT02 ~]# virtdown
-bash: syntax error near unexpected token `2'

As you can see it fails when I try to run it on the command line. It is stored in an ~/.env file in my home directory. What is odd to me is if I open the .env file and copy the command from there and paste it into the command line, it does actually work!

Code:

[root@LCENT02 ~]# for i in `virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}'`; do virsh shutdown $i; done
Domain 1 is being shutdown
Domain 2 is being shutdown
Domain 3 is being shutdown

And this is how I have the command entered into my .env file:

Code:

alias virtdown="for i in `virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}'`; do virsh shutdown $i; done

Why would this command work if you paste it onto the command line but not use the custom command virtdown?

View 1 Replies View Related

Ubuntu :: What Are Exit Handlers

May 1, 2010

What are exit handlers ? They are piece of code to execute prior to exit() ?

View 3 Replies View Related

OpenSUSE :: Apache Redirect - Handlers ?

Nov 5, 2010

The previous version of one of my websites was static and so the URLs looked like this: [url]

A few months ago I re-did the site to be completely dynamic. There are no individual pages for product reviews, just one which pulls the right data from a database. So now, my URLs look like this: [url]

Some fellow ex-googler who specialize in SEO told me that the previous URL scheme was better for search engines because it had the product name. Of course, I have set up redirects from the old naming scheme to the new one but what I would like to do is have 'review.php' handle the request for 'review_XXXX_YYYY.php' without actually doing a redirect... and do this for past and future products. I don't want to have to actually create all these 'review_XXXX_YYYY.php', there would be hundreds, just make it seem like they exist to visitors.

View 7 Replies View Related

Networking :: Use Static Thread Handlers ?

Jun 29, 2010

Can we use static thread handlers ?

View 1 Replies View Related

Networking :: Event Handlers Not Working In Nagios

Feb 8, 2011

I have placed the restart-ssh script in /usr/local/nagios/libexec/eventhandler but its not working on seeing the event log the following information is obtained

Though i have checked the script manually by the following command

It works fine with both of the above mentioned commands

I don't know why it is not able to restart ssh when nagios is calling it as event handler

The service definition for ssh in localhost.cfg is as follow:

View 1 Replies View Related

Slackware :: File Type Handlers In Firefox

Jul 16, 2011

I like to set firefox to ask me every time what to do when downloading a file. This works well if I want to save to disk, but if I want to use an application I don't get a dropdown with applications to choose, but a browse button which requires the application to be typed every time. To make it a bit clearer, if I have clicked on a pdf file I get this: [URL]. How do I get okular listed in a dropdown instead of the browse button?

View 14 Replies View Related

Red Hat / Fedora :: Find Signal Handlers Definitions In Kernel?

Apr 9, 2011

I am currently working on "Creation of Postmortem data logger in Linux on Intel architecture. Its nothing but core utility creation. how the signal handlers for various signals(SIGSEGV,SIGABRT,SIGFPE etc) which produce core dump upon crashing an application internally implemented in Linux kernel. I need to re-write these signal handlers with my own user specific needs and rebuild the kernel. It makes my kernel producing the core file (upon crashing an application) with user specific needs like showing registers,stackdump and backtrace etc.

View 1 Replies View Related

Software :: Shutdown VMs On ESX Server Through Nagios Event Handlers?

Sep 14, 2010

I would need a lead on how to shutdown several virtual machine on our ESX server. We put in place a UPS and now we want to implement a automatic shutdown of the VMs (in a certain order) when our UPS battery goes under the threshold. I do monitor already the battery state. So I just need to put in place the eventhandler. How to proceed?

View 1 Replies View Related

Programming :: About Writing Device Drivers - Interrupt Handlers ?

Apr 28, 2010

I have written interrupt handlers for a keyboard as well as the serial port RS232.

I have seen the book written by O'Reilly w.r.t the device drivers.

I wanted to know *exactly* what parts of Linux kernel should i understand well for having a crystal clear view of writing any kind of device driver ?

View 1 Replies View Related

Fedora Installation :: Erratic Install Results W/initrd - Custom Spins With Custom Drivers - Modules?

Dec 28, 2009

Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.

The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]

My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.

The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.

Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?

And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?

How does moving to dracut as the initrd tool affect any/all of the above?

View 1 Replies View Related

Ubuntu One :: Cannot Register Computer?

Jan 9, 2010

If I start Ubuntu One from Application->Internet, the icon appears in my panel with a red-background X. I tried typing 'u1sync --authorize' from a terminal, but it just hangs and nothing happens with my web browser (Firefox). I've created the LaunchPad account, but I've never been offered an 'add this computer' button in the browser. So it's impossible for me to authorize this computer

View 1 Replies View Related

Ubuntu :: Cannot Register In Kubuntuforums?

Mar 18, 2010

I try to register in kubuntuforums.net but I can't. It make makesme questions and still I answered it said me that I was wrong.I don't know how to answer. Maybe is letter in place of numbers,maybe...Well, it's the first time that I can not register in a forum andit's sad because I have booth desktop Ubuntu and Kubuntu.

View 6 Replies View Related

Ubuntu :: Keyserver Won't Register Pgp Key?

Jun 11, 2010

So I've created my pgp key and attempted to load it to the keyserver only to get the error as shown. This is the situation for 2 days now. Is there a workaround or fix?

View 1 Replies View Related

Ubuntu :: Can't Register Account And Therefore Can't Use Emapthy

Sep 11, 2010

i just recently switched back to linux from windows and have seen pidgin was replaced with empathy but i cant register my account and therefore can't use emapthy.

View 5 Replies View Related

Ubuntu :: Terminal Emulators Cannot Register 'a' Key?

May 30, 2011

For some reason, gnome-terminal, terminator, mrxvt, rxvt, tilda and a few other terminal applications I downloaded are unable to register the 'a' key on my keyboard. However, every other application is able to register my keypresses perfectly. Does anybody know what might be causing this, or what logs/diagnostic tools I could use to find out the reason for this odd behavior?

View 2 Replies View Related

Ubuntu :: Possible To Register For Launchpad Net Bug Tracker?

May 30, 2011

I've already encountered a couple bugs, and thought it would be nice to be able to report new ones there and/or comment on old ones. But their register button only leads to "Invalid OpenID transaction," and I think that's a bug, and I think I ought to report that over here since I obviously can't register or report it over there.

View 1 Replies View Related

Ubuntu Installation :: Register DLL Files In 9.10 (upgraded)?

Jan 13, 2010

I need to register some dll files in ubuntu. I used following command n it gives an error,

HTML Code:
Z:home haraka>regsvr32 "C:Program FilesUnion Assurance HRMAlerts.dll"
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\Program Files\Union Assurance HRM\Alerts.dll") not found
Failed to load DLL C:Program FilesUnion Assurance HRMAlerts.dll

View 3 Replies View Related

Ubuntu :: Register Thumbnailer In Gnome Config?

Sep 30, 2010

I try to implement thumbnails for files from a Wine program in order to integrate it better in Ubuntu. The Program is Sketchup which creates *.skp files in a binary format, but I found a ruby script that can extract the thumbnail (*.png). Now I wanted to register it in the gnome configuration according to the following instruction:[URL].. It works perfect if I execute the script manually (package ruby installed, script is executable):

Code:
ruby ~/.wine/skp-thumbnailer.rb /home/user/test.skp /home/user/test.png Creates successfully a thumbnail test.png from the file test.skp. With the following commands, I registered the script, but it doesn't create thumbnails automatically:
Code:
gconftool-2 -s /desktop/gnome/thumbnailers/application@wine-extension-skp/enable --type=bool true
gconftool-2 -s /desktop/gnome/thumbnailers/application@wine-extension-skp/command --type=string "ruby ~/.wine/skp-thumbnailer.rb %i %o"

Now my question is how to find the mistake. Do I need to copy the script into /usr/bin ? Apart from that, would it be possible to create it as a shell script (without ruby requirement)? If I knew how to translate it into .sh, I would prefer that.

View 3 Replies View Related

Ubuntu :: Keyboard Layout Won't Register Ctrl Input?

Mar 31, 2010

Been a long time since I was on ubuntu again. Saw the new 9.10 version and decided I should take it up again. Only problem is, and I've come across it quite alot, (but never a working solution). That my ctrl key isn't doing anything at all, therefor making every keyboard shortcut (copy/paste/new tab in firefox...etc) not working. It's not compiz his fault, i've had the same issue before i installed it.

Also i tried switching keyboard layouts, when i key press i don't see the ctrl key light up on screen, BUT when i press shift+ctrl, it does Anyone got a clue in how to revive my loving and overused ctrl button again ?

View 1 Replies View Related

General :: FOG: Cant Register Host's On The FOG Server

Jul 8, 2011

Im going to registrate a Host on the fog server database.

i have done this befor on a working system befor, so i kinda know how to do it.

Im booting from the network, and im finding the server, and chose Quick host registation ( i have tryed the full host registration, but it dose not work there either)

after the Quick host registration and loading, this show's up:

Loading fog/kernel/bzimage......
decompressing linux .... Parsing ELF......Done
Booting the kernel.init.gz....
pci 0000:23:00.1: BAR 6: no parent found for of device [0xffff8000-0xffffffff]
unable to query synaptics hardware.

[Code]....

View 1 Replies View Related

General :: Register To RHN So That Softwares Updated By It?

Apr 19, 2011

How i will register to RHN so that all of my softwares will be updated by it

View 2 Replies View Related

Programming :: Error: Unknown Register Name '%eax' In 'asm'?

Mar 15, 2011

An error occur when I compile my inline assemble code with a alpha/linux cross compiler.code:

Code:
#define CPU_ID(cpu_iid)
__asm__ __volatile__ (

[code]....

View 2 Replies View Related

Ubuntu :: IMac Power PC G4 Installation - No Longer Register The Boot CD

Mar 18, 2010

I was originally going to install debian on this old iMac G4 and everything was going well. But then I decided, hey wait one second, I could probably find a version of Ubuntu which works on this old iMac, and so... i stopped the installation and loaded the ubuntu 8.04 disc. The only problem is, it will no longer register the boot CD... because i kind of already did the partitioning and nuked the OS X... So now I just see a gray screen with a file image displayed revolving between a question mark and the file finder image.

View 1 Replies View Related

Ubuntu :: Register A Daemon To Start Up At Boot Time In Lucid?

Aug 23, 2010

What's the best way to register a daemon to start up at boot time in lucid? I have tried registering the following script using "sudo update-rc.d"

Code:

This is supposed to get the daemon for opentftp started, but it does nothing, although I can see the results of the "echo 'Server opentftpd started' " in the boot log in /var/log .Any thoughts or general help on what the best way to accomplish such a task is?

View 1 Replies View Related

Ubuntu :: Unable To Get Any Keyboard/mouse Input To Register On Screen?

Dec 19, 2010

I installed Ubuntu a couple of months ago using the Wubi installer.Today, I went to restart my PC, but soon after hitting 'Restart' the computer became unresponsive. I couldn't get any keyboard/mouse input to register on screen, so I did a force shut down by holding down the power button. When I turned the computer back on, I selected Ubuntu from the boot menu. The computer printed some messages that passed by relatively quickly so I'm not sure exactly what they said, but it was something along the lines of "NTFS3: wubibuilder failed to load", and then it went straight back to the boot menu. Tried again and again with no success, so I loaded my Windows 7 install to investigate from there. I found a link to Explore2fs on these forums, so I loaded it up, but it apparently can't locate my Ubuntu partition, or at least I don't see my files. I ran the Wubi installer again to see what it would say, and it tells me that a previous installation was detected, and gives me the option to uninstall. Does anyone have an idea of what went wrong,

View 5 Replies View Related

Ubuntu / Apple :: Can Make Two Finger Tap Register As Right Mouse Click?

Jun 17, 2011

I just installed ubuntu 11.04 on my macbook 2,1 and noticed that the trackpad was having many issues with detecting my finger, it works fine in OSX. I found this post, but cant find the xorg.config file and read that it no longer exists in ubuntu 11.04 (and yes, I know that that page is for 10.10, but it should still work). Is there anywhere that I could put in that code to make the trackpad more responsive?Is there any way I can make a two finger tap register as a right mouse click?

View 4 Replies View Related

OpenSUSE :: RPC Authentication Error - Cannot Register Service

Feb 8, 2010

I am trying to solve problem with software which needs to have access to network card I suppose. Installation run without any problems but when I am launch software I get such message as normal user:
Cannot register service:
RPC: Authentication error; why = Client credential too weak.

When I launch program as root I get this:
WARNING: localhost appears to have the loopback address 127.0.0.2 as IP address
This may imply that processes on arlin may not be able to connect to non-local processes but program starting with success at least. What I should do to run program as normal user?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved