Skip to content

u/guffenberg

In this archive from Jun 2014 to Apr 2015

0
posts
42
comments
0
media
97
score

Ah, so I wasted some more space on the internetz.

As you probably know by now you don't want to change permissions on the filesystem outside your home dir. If you really wanted to do that, just log in as root instead :)

Another alternative would be to install the application to your home directory, but that's another story.

Good luck!

1 points

Basically, you need sudo when you want to write outside your home directory. In this case the install script probably failed when trying to copy Matlab into the /usr/local/* directories.

makepkg only write to the directory you are in, so it doesn't need sudo. Installing the package that makepkg created however, requires sudo.

Also note that for your user to be able to use sudo, sudo must be installed (big surprise), your user should be in the wheel group, and you must use the visudo command to configure access for the wheel group.

You can add your user to the wheel group using the gpasswd command https://wiki.archlinux.org/index.php/Users_and_groups#Group_management

I seem to remember that the default visudo configuration file has a line that gives access to the wheel group, but it is outcommented by default, so you just need to uncomment that line.

https://wiki.archlinux.org/index.php/Sudo#Using_visudo

As the wiki says, in order to use nano as the editor for visudo, start it with

# EDITOR=nano visudo

This is probably a good idea if you are not familiar with the vim editor

Note that visudo must be run as root.

Also, sudo is convenient, but not required. You could have ran the installer with

$ su
<enter root password>
# ./install
# exit
2 points

Did you create the user correctly?

I usually do something like this to create a user named myuser

# useradd -m -g users -G wheel,audio,video -k /etc/skel -s /bin/bash myuser

I don't think gdm uses xinitrc. To manage different sessions with gdm:

https://wiki.archlinux.org/index.php/GDM#Add_or_edit_GDM_sessions

But, that shouldn't really be necessary to mess with if you have gnome installed and only want to use that

2 points

Its no more maintenance than other distributions but there is a few things to look out for.

Always read the Arch frontpage before doing a system upgrade. It will have a "Latest News" section describing any preparations or changes that needs to be done before upgrading.

In general, less software leads to less maintenance, but in addition to that you have to look out for outdated AUR packages. It is also a good idea to read the comments about an AUR package before installing it. If there is more maintenance on Arch it would be because you decide to keep some AUR packages up to date. However, this is not necessary to keep a fully functional system. The fact that Arch makes it easy to install and upgrade closed drivers and codecs (yes, we all hate them) can lead to less maintenance.

Another difference between a cutting edge distro and other distros is that fresh software sometimes has regression bugs that takes a few days to fix. Usually just minor things, which is why it sometimes manages to sneak though the testing process. The most common way to remedy this is probably to downgrade the offending package. In my experience this is somewhat rare and not much of a problem on my everyday system. On a server it could have some unfortunate consequences though.

2 points

I had the same problem after installing on my new PC. Low sound mixed with noise. If I could only remember what I did to fix it...

First of all, make sure you are using the correct jack connection, and make sure the jack is properly inserted.

This might be useful https://wiki.archlinux.org/index.php/pacman#.22Failed_to_commit_transaction_.28conflicting_files.29.22_error

Also, run

#pacman -Syu 

before trying to install pulseaudio

On my system I have both pulseaudio and pulseaudio-alsa installed.

I suggest you also install alsa-utils and run alsamixer (F6 to select card) to make sure volume is turned up and not mounted.

edit: About the sound issue, it's a long shot but you might want to try the linux-firmware package also.

1 points

I know. That's why I said what I said.

In my honest opinion, arch is the most reliable distro I have ever used. Other distros come and go when it comes to reliability, but arch has had a steady rise in that regard since the beginning.

Of course, arch always had the upper hand. It's impossible to beat the KISS principle imo. And the guys maintaining it knows what they are doing, without making a big deal about it.

3 points

Arch and Mint is very different. With Mint, everything comes neatly packaged and ready to go.

With Arch you build your system from scratch, and then you fine tune stuff. Its a completely different experience.

1 points

Its hard to say anything for sure without knowing what hardware and software you have, and what error messages you get.

Some tips:

You can use the command

$ lspci -v

to see what hardware you have, which drivers (modules) are available and which driver is currently in use

On my system, the VGA controller says Kernel driver in use: nvidia and Kernel modules: nouveau, nvidia

so it appears I have both the nouveau and nvidia drivers installed, and the nvidia driver is currently in use.

Note: nvidia is the proprietary driver and nouveau is the open source driver. I assume you want to use nvidia

When you boot into a console (before you run startx), you can use the command

$ lsmod

to list all drivers currently loaded. Better yet, you can filter that with grep to see if nvidia or nouveau is currently loaded:

$ lsmod | grep nvidia

or

$ lsmod | grep nouveau

If you want to make sure the nvidia driver is loaded before running startx, you can use (as root):

# modprobe nvidia

Use "lsmod | grep nvidia" to make sure it got loaded.

If this doesn't give you any errors you should be able to start up xorg, which in turn should start up xfce4 if that is what you have configured in the .xinitrc file in your home directory

Also, the arch wiki has a page on nvidia showing a minimal configuration for /etc/X11/xorg.conf:

https://wiki.archlinux.org/index.php/NVIDIA#Minimal_configuration

you can use that as a template in case you want to create a new one. After all, loading the driver manually as described above isn't cool, so you might want a xorg.conf file to do it for you

Thats just a few tips. If nothing else it might give you some error messages that you can post back here.

3 points

I use grub and all I do is to create an extra 32 MB partition, mark it as type EF00, partition it with fat32 and mount it as /boot/efi

Creating it and marking it can all be done within gdisk. Formatting it can be done with mkfs.vfat

Creating, formatting and mounting partitions is all described in depth in the Arch Beginners Guide so you should check that out.

I have never tried gummiboot, maybe it is easier, I don't know

3 points

I though I should mention, when the install.txt file tells you to install a bootloader, you can basically do this, assuming you want to use grub:

# pacman -S grub os-prober
# grub-mkconfig -o /boot/grub/grub.cfg
# grub-install /dev/sda

That's just an example. You have to check that your partitions have the same names etc. /dev/sda is usually the name of the master disk.

1 points

I make a bootable USB like this:

Run this command before and after inserting the USB

# ls /dev/sd*

That should tell you the device name of the usb, Assuming it is /dev/sdc, you can use this to make a bootable usb

# dd if=arch.iso of=/dev/sdc

edit: If I am on Windws I usually use a program called unetbootin

Note that there is a file called install.txt on the arch iso with most of the info you need during installation. It is lacking detailed info on partitioning and installing a bootloader though so you might want to read up on that on the Arch beginners guide.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.