Author Topic: new to *linux  (Read 7554 times)

0 Members and 1 Guest are viewing this topic.

Offline jmyeom

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: new to *linux
« Reply #30 on: July 25, 2010, 04:19:27 am »
i do need to change the permission, as i cant do anythign with lampp because i cant save any files to htdocs, i need the command so i get full read and write access

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: new to *linux
« Reply #31 on: July 25, 2010, 04:30:47 am »
You DONT need to change permissions... nor do you WANT to

What are you trying to do?... edit a file already there?... which file?

or create a file, and save it to there?... text file?

if we're talking about creating a file there, and you want to use the CLI as little as possible... create the file in your home folder... edit as much as you want, then open nautilus as root
Code: [Select]
sudo nautilus
and copy the file to wherever you want it.

or if your talking of editing a file already in the htdocs folder
Code: [Select]
sudo gedit /opt/lampp/htdocs/filename
obviously change the filename bit... gedit will let you save it there, as it's being run as root
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline jmyeom

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: new to *linux
« Reply #32 on: July 25, 2010, 04:34:02 am »
right ok, how would i set it so the file browser opens as root without the command line?

i dont want to keep on goign into the command line and putting in that command just so i can edit/open a file, how would i got about changing it so i can get into the files without having to do the sudo thingy?
« Last Edit: July 25, 2010, 04:38:24 am by jmyeom »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: new to *linux
« Reply #33 on: July 25, 2010, 04:41:26 am »
when you are at the cyber-cafe tomorrow, install the package nautilus-gksu that enables an option when you right-click on a file (also directories and other...) in nautilus: "Open as root".

to install it:
Code: [Select]
sudo apt-get install nautilus-gksu
then reboot

You will need an internet connection to install
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: new to *linux
« Reply #34 on: July 25, 2010, 04:45:26 am »
Or create a launcher for "nautilus as root" on your desktop...

Right-click on the desktop and select "Create Launcher"... in the window that opens...
Type: Application
Name: Nautilus as root
Command: sudo nautilus
Comment: Open Nautilus as root

Click the icon selector button (top left) and select the icon you want to use... click OK.

you should now have an icon on the desktop that will open nautilus AS ROOT
« Last Edit: July 25, 2010, 05:35:54 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline jmyeom

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: new to *linux
« Reply #35 on: July 25, 2010, 06:53:38 am »
this may sound, really stupid, but i dont have a desktop?

i cant right click the desktop, i dont have one -.-

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: new to *linux
« Reply #36 on: July 25, 2010, 06:57:33 am »
Which version of Linux are you running?... if you're unsure...
Code: [Select]
cat /etc/*-release
and hit enter.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline jmyeom

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: new to *linux
« Reply #37 on: July 25, 2010, 07:01:24 am »
im in chat, if you wish to talk on there

Offline jmyeom

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: new to *linux
« Reply #38 on: July 25, 2010, 02:38:48 pm »
i-on-broen-keyboard-sorry-about-this

i-have-installed-gnoe-ppp,dunno-what-to-do-wit-it-now,-chat-is-failing-to-load-so-i-cant-get-on-it


please-help,dident-get-all-the-updates-done,306-files-to-update-on-a-cdonalds-wifi-connection

any-info-on-y-nnodernn-prople

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: new to *linux
« Reply #39 on: July 25, 2010, 05:55:16 pm »
See here:
http://linuxforums.org.uk/linux-tips-tricks/setting-up-a-3g-usb-dongle-in-linux-(3-t-mobile-02-orange-vodafone)/
once you get the .wvdial file edited, click Connect, and if the connection fails, click the Log button, and post its contents along with the contents of your .wvdial file.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline jmyeom

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: new to *linux
« Reply #40 on: July 25, 2010, 06:27:23 pm »
right, after a day of sitting at macdonalds, buying coffee ti stay awake, and so i can use there internet, i got gnome ppp

i used it, and it says no respond from moderm, so

switching my 3 dongle with my mates, keep the sim and change the dongle, i got it to connect from the normal connection manager

so, long and short, the black one does not work, the white one does :)

thanks to mark for all his help, i like linux, im thinking about switching my desktop to it, but we see how ti goes :P

Offline kirrus

  • Full Member
  • ***
  • Posts: 133
  • Karma: 2
  • Sysadmin / Linux Tech Support
    • View Profile
    • Awards
Re: new to *linux
« Reply #41 on: July 25, 2010, 06:58:55 pm »
Congrats on the success :)

Remember, you can dual-boot your desktop, so it will boot both windows and linux. (My home PC does, because I'm a gamer :))

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal