LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-10-2011, 10:25 AM   #1
oalicein
LQ Newbie
 
Registered: Dec 2010
Posts: 10

Rep: Reputation: 0
Cannot cp menu.xml, rc.xml, and autostart.sh (Openbox)


I am attempting to install Openbox and LXDE on Arch (x86_64).

After installing the packages, pacman instructs me to copy menu.xml, rc.xml, and autostart.sh to ~/.config/openbox

Whether or not I am root, I get this error:

Code:
cp: target '/home/myusername/.config/openbox' is not a directory
I have attempted to make this directory using mkdir only to get the same error:

Code:
mkdir: cannot create directory '/home/myusername/.config/openbox': No such file or directory
Any tips?
 
Old 02-10-2011, 10:51 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047
Use the mkdir command with the -p option. If you use mkdir without it, you have to create every single directory that doesn't exist manually.
Assuming that there currently is no .config and no openbox directory in .config you can either do
Code:
mkdir ~/.config
mkdir ~/.config/openbox
or
Code:
mkdir -p ~/.config/openbox
For further info have a look at
Code:
man mkdir

Last edited by TobiSGD; 02-10-2011 at 10:52 AM.
 
1 members found this post helpful.
Old 02-10-2011, 05:52 PM   #3
oalicein
LQ Newbie
 
Registered: Dec 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Ah, forgive me for being so foolish. I will remember to check the man pages next time something like this happens. Thank you for your reply!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is *libqt4-xml* equivalent of *libxml2* with respect to *XML* parsing ? TheIndependentAquarius Linux - Software 1 11-25-2010 07:34 PM
Can't create custom menu.xml for openbox LogicNZ Linux - Newbie 6 07-19-2008 10:37 AM
LXer: StAX’ing up XML: Streaming API for XML LXer Syndicated Linux News 0 11-30-2006 07:54 AM
configure: error: could not find DocBook XML DTD V4.1.2 in XML catalog Fadoksi Linux - Software 1 07-16-2006 06:41 AM
OpenBox menu.xml error Cmdr_K00n Linux - Newbie 1 06-22-2004 06:41 AM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration