LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-16-2009, 05:21 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Rep: Reputation: Disabled
Kmenuedit entry has a malformed URL


One of my K menu entries, made with Kmenuedit, is "konqueror media:/sda3/data/Written Work". It doesn't work, with Konqueror opening but then saying "Malformed URL." What's wrong with it? Especially since I made it by copying and pasting "media:/sda3/data/Written Work" from the URL bar in a Konqueror window.
 
Old 04-17-2009, 08:17 AM   #2
Spudley
Member
 
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
Almost certainly caused by the space in the name.

If you have spaces in your filenames, you need to reference them with quotes around the name, thus:

Code:
konqueror 'media:/sda3/data/Written Work'
Hope that helps
 
Old 04-17-2009, 08:38 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Spaces in filenames on *nix systems can cause no end to headaches. The file systems can handle them, but most of the shells and applications that work with the names view spaces as delimiters. Quoting the names or escaping the spaces generally works, but not always, especially in shell scripting.

So you'd do well to learn to avoid using spaces in your filenames. Replacing them with underscores is the most common workaround.
 
Old 04-17-2009, 12:55 PM   #4
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
The quotation marks did it. Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
my CD-RW or CD-RW drive has a "malformed URL" newbiesforever Linux - General 1 08-06-2007 03:25 PM
Cannot open any KDE Icons, says "malformed URL" Sharkscott SUSE / openSUSE 3 02-06-2006 02:20 PM
ERROR The requested URL could not be retrieved While trying to retrieve the URL: /re Niceman2005 Linux - General 1 06-29-2005 09:51 AM
Malformed URL - Starthere on my Desktop janap-146 Slackware 2 03-26-2005 12:32 PM
Error --malformed URL Dade Slackware 1 05-15-2004 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration