the Arch Linux thread

praka123

left this forum longback
Re: The Dark Side :Arch Linux

here is my simple .bashrc :)
Code:
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
PATH=$PATH:/sbin:/usr/sbin:

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color)
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
    ;;
*)
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
    ;;
esac

# Comment in the above and uncomment this below for a color prompt
#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
    ;;
*)
    ;;
esac

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
    eval "`dircolors -b`"
    alias ls='ls --color=auto'
    #alias dir='ls --color=auto --format=vertical'
    #alias vdir='ls --color=auto --format=long'
fi

# some more ls aliases
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'

alias nano="nano -w"
# Some more alias to avoid making mistakes:
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
   
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi
a bit Debian Specific one too :p

@metalgowtham : I am no expert with kde! well ,I remember you used to think kdemod as some other DE or on the same line... thats why..
 
Re: The Dark Side :Arch Linux

@metalgowtham : I am no expert with kde! well ,I remember you used to think kdemod as some other DE or on the same line... thats why..
well... kdemod IS a bit different. i never said its a different DE. i just said its *different*....

and I take back my statement on kaboodle partially... its like totem... gets da job done quickly but no extras :p
 

gary4gar

GaurishSharma.com
Re: The Dark Side :Arch Linux

okay i would be try to install Arch, if my hardware behaves normal.
i tried yerterday, but BIOS hanged mid way:|
now after a complete format lets see
 

Rahim

Married!
Re: The Dark Side :Arch Linux

Ok i installed Arch and kdemod. Then what next? installed xorg, then how to start the GUI (Desktop)?
 
Last edited:

QwertyManiac

Commander in Chief
Re: The Dark Side :Arch Linux

startx is usually the command to start the basic X. But if you want GNOME/KDE/Etc you have to install them first and then startx with their settings set.
 

Rahim

Married!
Re: The Dark Side :Arch Linux

^I have installed kdemod (is it not a DE?).
startx does nothing. So how should i start the desktop environment kdemod?
 
OP
M

mastana

Guest
Re: The Dark Side :Arch Linux

^edit /etc/rc.conf .archwiki explains it perfectly :) and make sure you have xdm/gdm/kdm any of which are installed.
 
OP
F

FilledVoid

Guest
Re: The Dark Side :Arch Linux

Start from here for installing KDEmod *kdemod.ath.cx/get-step1.html .
 

Faun

Wahahaha~!
Staff member
Re: The Dark Side :Arch Linux

;)
^I have installed kdemod (is it not a DE?).
startx does nothing. So how should i start the desktop environment kdemod?

add kdm to the daemon lists in rc.conf (/etc/rc.conf)
DAEMONS=(syslog-ng network !netfs crond @hal @fam kdm @alsa)

remember to install kdm, check if its already installed or not.
 

Rahim

Married!
Re: The Dark Side :Arch Linux

pacman -S kdm but it says kdm not found. ( i have already installed kdemod)
this is the xorg.conf generated
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection

Section "Module"
Load "GLcore"
Load "record"
Load "glx"
Load "dbe"
Load "xtrap"
Load "dri"
Load "extmod"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
#DisplaySize 280 210 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "SAMTRON 55V"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 30.0 - 55.0
VertRefresh 50.0 - 120.0
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
 
Last edited:
OP
F

FilledVoid

Guest
Re: The Dark Side :Arch Linux

pacman -S kdm but it says kdm not found. ( i have already installed kdemod)
this is the xorg.conf generated

kdm I believe gets installed with the KDEMod package you choosed to install you need not install kdm by itself from the repos.
 

Rahim

Married!
Re: The Dark Side :Arch Linux

This Arch thing will take a patience approach and i am going to work on it only on Sundays :p
 
Re: The Dark Side :Arch Linux

kdm is already installed. Just do a nano /etc/rc.conf and press down button till you see the daemons section. There, along with those daemons shown within braces, add the word , kdm and everything should be done. You will boot next in KDM directly, bypassing the extremely cool looking console and going to the extremely beautiful looking KDM.
 

Rahim

Married!
Re: The Dark Side :Arch Linux

hehehe....another bites the dust.....now i am in GUI and its beautiful. Very fast and zippyyyy
 
OP
F

FilledVoid

Guest
Re: The Dark Side :Arch Linux

hehehe....another bites the dust.....now i am in GUI and its beautiful. Very fast and zippyyyy
Welcome to the cult!!!
 

Faun

Wahahaha~!
Staff member
Re: The Dark Side :Arch Linux

@rahim
take your time and see if this is the one for you :D
 

Rahim

Married!
Re: The Dark Side :Arch Linux

^TBH i have already setup Arch the way i wanted and no bloat.
Can anybody tell me how to search about packages in pacman? If i dont know the exact package name then how to search? Any GUI of pacman? Just curious.

I had to be root to connect through pppoe-start/stop, so how can i issue such commands under normal users? I searched in /sbin and /usr/sbin for them but its not there.
 
OP
F

FilledVoid

Guest
Re: The Dark Side :Arch Linux

Can anybody tell me how to search about packages in pacman? If i dont know the exact package name then how to search? Any GUI of pacman? Just curious.

pacman -Qs package

Change the package name to whatever you are searching for. You can install a GUI front end if you want but I prefer using the CLI for this for some odd reason.

Any GUI of pacman? Just curious.
Many . Check the wiki or the first post on this thread . It should be in there.

I had to be root to connect through pppoe-start/stop, so how can i issue such commands under normal users? I searched in /sbin and /usr/sbin for them but its not there.

I installed sudo and just added my user to the sudoers list.
 

Pat

Beyond Smart
Re: The Dark Side :Arch Linux

Any GUI of pacman?

Try out Shaman. Its pretty cool. You can install it using yaourt :)

I had to be root to connect through pppoe-start/stop, so how can i issue such commands under normal users? I searched in /sbin and /usr/sbin for them but its not there.

The best option to automatically start your net connection would be to add "adsl" to the daemons section of rc.conf!
 
Top Bottom