LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   <$cp weston.ini ~/.config> in this command what does ~/. mean? (https://www.linuxquestions.org/questions/linux-software-2/%24cp-weston-ini-%7E-config-in-this-command-what-does-%7E-mean-4175458427/)

kjg0508 04-17-2013 02:43 AM

<$cp weston.ini ~/.config> in this command what does ~/. mean?
 
Copy the weston.ini config file to ~/.config and edit it to set a background image that you like. Then run the compositor by typing:

$ ./weston


following this tutorial
I can't understand and can't follow that message
What am I do?

http://wayland.freedesktop.org/building.html
this is whole tutorial

chrism01 04-17-2013 03:02 AM

Do what it says; that's why its a tutorial. :)

You just need to know that '~' (in this context) means $HOME which means your home dir; typically /home/you/.
Also if a filename begins with '.' (dot) then its normally hidden; use the -a switch on ls to find it ie
Code:

ls -a
You'll find these worth bookmarking & reading
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/

HTH

kjg0508 04-17-2013 03:13 AM

Quote:

Originally Posted by chrism01 (Post 4932962)
Do what it says; that's why its a tutorial. :)

You just need to know that '~' (in this context) means $HOME which means your home dir; typically /home/you/.
Also if a filename begins with '.' (dot) then its normally hidden; use the -a switch on ls to find it ie
Code:

ls -a
You'll find these worth bookmarking & reading
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/

HTH



Then where should I command $./weston
In ~/.config directory???

I did that nothing happended but "no file or directory"

John VV 04-17-2013 03:50 AM

we all started someplace
But did you read the first two sentences?
Quote:

The instructions below assume some familiarity with git and building and running experimental software. Also, be prepared for the fact that this project isn't at all useful right now, it's still very much a prototype.
copy that weston.ini text file to the folder called ".config" . it is in your home folder

do not link it , copy it

from the folder that has "weston.ini" in it run
Code:

cp weston.ini ~/.config

kjg0508 04-17-2013 06:28 PM

Yeah I did cp weston.ini ~/.config

Then I command $ ./weston nothing to happend but no file or directory respond

what directory can I run weston using command $./weston???

John VV 04-17-2013 07:19 PM

Quote:

Then I command $ ./weston nothing to happend but no file or directory respond
this command requires you to BE in the folder that HAS the binary program "weston" hence the "./" part
this is very BASIC linux commands
please learn them !

also weston is still ALPHA testing ONLY !!!!!
it mostly dose not work yet !

please STUDY the links that "chrism01" posted
to learn the very basics that you are missing .

http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/

kjg0508 04-22-2013 02:43 AM

Quote:

Originally Posted by John VV (Post 4933619)
this command requires you to BE in the folder that HAS the binary program "weston" hence the "./" part
this is very BASIC linux commands
please learn them !

also weston is still ALPHA testing ONLY !!!!!
it mostly dose not work yet !

please STUDY the links that "chrism01" posted
to learn the very basics that you are missing .

http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/

Oh Thanks


All times are GMT -5. The time now is 07:41 PM.