LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices



Reply
 
Search this Thread
Old 05-09-2011, 06:19 PM   #1
theif519
Member
 
Registered: Mar 2011
Location: Philadelphia, PA
Distribution: Kubuntu 12.10
Posts: 255

Rep: Reputation: 4
Planning an Arch Linux installation on a non-used laptop, need a list of packages


I'm planning on installing Arch Linux on an old laptop that was abandoned because of a simple virus in which I gleefully removed in a simple installation of MalwareBytes and a long wait. Anyway, nobody uses it, and neither do I since I have a desktop, and I wouldn't even consider using it as the way it is, not only is it overloaded with crap, but it uses VISTA! I have no Win7 Installation CD that came with my Desktop to install, but I do have a WinXP one, but I'd much prefer Linux to WinXP. Anyway, back to the main topic, I already did a proper installation of Arch Linux in a Virtual Box, I set up the X Server and GNOME3 with the "Xinit /usr/bin/gnome-session" command, but I want to know if there is a way to make "Start x" as "Xinit /usr/bin/gnome-session" instead of something without a desktop environment. Another thing, I need a list of packages that I should have on it to make using it that much easier. Once again, this is an old laptop, and I'm sure nobody would care for it, as long as it worked. Also, I'm not used to the "pacman -S" command, I'm used to "apt-get", but I suppose there's no way to change the package manager. I just want a list of "MUST-HAVE" packages, a list of commands which will come in handy, etc.

I am still a beginner, only been using Linux for about 2 months now, but I'm interested in many distributions. Also, this has been copied and pasted into this section because I didn't know they had certain sections for certain distros.
 
Old 05-09-2011, 06:55 PM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
The Arch Beginner's Guide is a good resource. All the info you need to get started in in there.

Not sure what you mean by "make "Start x" as "Xinit /usr/bin/gnome-session" instead of something without a desktop environment". The command startx will use the file .xinitrc. You can certainly use the gnome-session command there. If you're using gnome, though, you might want to just use gdm to start your session.

As for essential packages, it's impossible to say. There's a lot of options and everyone likes different things. If your laptop is fairly underpowered, you might consider more lightweight apps. (Though in that case, I don't know about going with gnome. Though if it runs Vista, gnome should be fine.)
 
1 members found this post helpful.
Old 05-09-2011, 07:18 PM   #3
theif519
Member
 
Registered: Mar 2011
Location: Philadelphia, PA
Distribution: Kubuntu 12.10
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by reed9 View Post
The Arch Beginner's Guide is a good resource. All the info you need to get started in in there.

Not sure what you mean by "make "Start x" as "Xinit /usr/bin/gnome-session" instead of something without a desktop environment". The command startx will use the file .xinitrc. You can certainly use the gnome-session command there. If you're using gnome, though, you might want to just use gdm to start your session.

As for essential packages, it's impossible to say. There's a lot of options and everyone likes different things. If your laptop is fairly underpowered, you might consider more lightweight apps. (Though in that case, I don't know about going with gnome. Though if it runs Vista, gnome should be fine.)
I tried gdm but it had a warning and an error, perhaps the tutorial didn't cover enough.

Startx without specifying gnome-session

But I tried "startx /usr/bin/gnome-session" and it worked like Xinit did, but I want to eliminate the path and just make gnome-session as startx.
 
Old 05-09-2011, 07:33 PM   #4
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
For startx, put this in the file ~/.xinitrc

Code:
exec ck-launch-session gnome-session
Now if you just type startx, it'll launch.

I don't use gdm, but if you describe more what you tried, we may be able to troubleshoot.
 
Old 05-09-2011, 07:41 PM   #5
theif519
Member
 
Registered: Mar 2011
Location: Philadelphia, PA
Distribution: Kubuntu 12.10
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by reed9 View Post
For startx, put this in the file ~/.xinitrc

Code:
exec ck-launch-session gnome-session
Now if you just type startx, it'll launch.

I don't use gdm, but if you describe more what you tried, we may be able to troubleshoot.
Didn't work. When I used the code, it just logged me off of root and sent me back to log in screen. When I tried it in the GUI, it said "Invalid Bus" or something. I think I messed up the installation. Also, most of the time it says "Warning ***: Cannot open display"... Man, what did I do wrong?

I followed this guide

http://www.youtube.com/watch?v=RjTTl_9aUXc
 
Old 05-09-2011, 07:46 PM   #6
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
First, don't do it as root. Create a user first. That might be the problem or more likely you're missing some xorg component or driver. Really, it's best to just take the beginner's guide step by step when starting out.
 
Old 05-09-2011, 07:46 PM   #7
theif519
Member
 
Registered: Mar 2011
Location: Philadelphia, PA
Distribution: Kubuntu 12.10
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by reed9 View Post
For startx, put this in the file ~/.xinitrc

Code:
exec ck-launch-session gnome-session
Now if you just type startx, it'll launch.

I don't use gdm, but if you describe more what you tried, we may be able to troubleshoot.

Actually, could you give me the exact file path? I can't find ~/.xinitrc, is it in /usr/bin?
 
Old 05-09-2011, 07:51 PM   #8
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
~ is a shortcut for the current user's home directory. If you're root it expands to /root. If you're user is named theif, for example, and you were logged in as such, it would expand to /home/theif, or in this case /home/theif/.xinitrc

The file may not exist by default, in which case just create it.
 
Old 05-09-2011, 08:07 PM   #9
theif519
Member
 
Registered: Mar 2011
Location: Philadelphia, PA
Distribution: Kubuntu 12.10
Posts: 255

Original Poster
Rep: Reputation: 4
Never mind, I made "Start" the alias for "startx /usr/bin/gnome-session", but I have a feeling that this won't be okay and I should do a reinstall and properly install it, but it seems fine now, though, will this be okay enough or should I do a reinstall? Also, another question, how I do I install GNOME2 instead of GNOME3, I don't like the look that much.
 
Old 05-09-2011, 08:24 PM   #10
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Official continuing support for gnome2 is probably not going to happen. Someone may create their own gnome2 packages and make them available at some point, but no guarantee.

You might consider looking at xfce if you don't care for the direction gnome is moving in.

The alias isn't really a problem, certainly doesn't need a reinstall. I still think you should go through the beginner's guide step by step and just make sure everything is in order. It'll help you learn the system as well.
 
1 members found this post helpful.
Old 05-09-2011, 08:28 PM   #11
theif519
Member
 
Registered: Mar 2011
Location: Philadelphia, PA
Distribution: Kubuntu 12.10
Posts: 255

Original Poster
Rep: Reputation: 4
Thank you for the advice, I shall bookmark the guide and get to it once I am done with my homework, I've been putting it off for a bit lately XD
 
  


Reply

Tags
arch linux, package manager, pacman


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] Planning an Arch Linux installation on a non-used laptop, need a list of packages theif519 Linux - Newbie 1 05-10-2011 01:32 AM
Arch Linux: Do I need to install most of packages from source? ravi.xolve Linux - Distributions 2 03-21-2011 07:33 PM
How to automate installation of a list of packages in redhat (like kickstart) hgg2002 Linux - General 1 08-17-2009 10:26 AM
[SOLVED] A completely Newbie.. planning to install Linux in laptop meghal Linux - Laptop and Netbook 7 08-07-2009 11:50 PM
Problem with packages - local list doesn't list all packages from a mirror simopal6 Debian 2 09-01-2008 05:44 AM


All times are GMT -5. The time now is 06:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration