You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 Re: Installation » /root directory is empty after installation » 2013-05-09 07:01:46

I think the expectation is that people are not going to log in directly as root to an X session so it makes sense not to populate those files.

The appropriate place to copy from (IMO) is /etc/skel but I'm not sure we ship with that so your best option is to copy all the relevant config files from /home/<user>

It's not a partitioning issue or an install issue so no need to keep doing that - it's purely a configuration default

One way to test is to create a new user and use the -m flag

# useradd -m <newuser>

This will populate the config files into a new user account (but only if they exist in a skel directory somewhere)
Once you've copied them over, you can delete with:

# userdel -r <newuser>

#2 Re: Openbox » dmenu and user paths (Solved) » 2013-05-09 06:56:12

this may be using a sledgehammer to crack a walnut but try deleting ~/.cache/dmenu_run

There's probably a nicer way to have it regenerated though :-) (and it's just a guess)

#3 Re: Hardware & Multimedia » [SOLVED] can't open arandr - using nouveau driver » 2013-05-03 06:24:25

looks like root has no DISPLAY variable set so doesn't know where to draw the window.  But Mr Green is right - you shouldn't be running as root unless you specifically want to set it for a root session

#4 Re: Hardware & Multimedia » networkmanager-openvpn OPENVPN problem » 2013-05-02 07:20:02

have you looked in any of the logs to see if there are any hints?

#5 Re: Offtopic » Python in Ten Minutes » 2013-04-27 06:52:23

I sometimes have to do some number crunching at work and python is orders or magnitude faster than bash if you have to iterate through a number of files.  It's really worth persevering with python if you have to do any kind of admin work.

#6 Re: Pacman/Packages » networkmanager very slow » 2013-04-25 06:49:39

the pacnew file is the default vanilla one that comes with the package.  Typically, when I see one I do this to view the differences:

$ sdiff -s <original file> <file>.pacnew

There's no right answer to say "always do this" or "always do that" you've got to take it on a case-by-case basis.  Sometimes you may have modified the original file (like in the case of /etc/shadow) - when that happens, you should discard the pacnew one.

Sometimes (often with pacman.conf) there are new features that you need to merge in to your file (like the package signing stuff a while back)

If you're sure the original is totally vanilla you can copy the pacnew version over the top

For your specific situation, delete shadow.pacnew.  If you've already overwritten /etc/shadow, look for a backup (it might be called shadow-)

#7 Re: Pacman/Packages » Cronie is not working and no logfiles » 2013-04-24 10:31:26

can you define 'special folder'?  You can make anything work in cron

#8 Re: Pacman/Packages » Cronie is not working and no logfiles » 2013-04-24 07:28:23

also, typically cron (not 100% sure about cronie) won't source your .bash* files.  An easy way to verify some stuff is to redirect all output from the cronjob

* * * * * /path/to/my/script > /tmp/script.log 2>&1

#9 Re: Hardware & Multimedia » dbus messages (solved) » 2013-04-22 17:18:49

Do you have modemmanager installed?  I'm guessing not, but I think the "problem" would go away if you did.  Not saying you should - just seems like a bit of flaky programming where it lets it fail if it's not there

#11 Re: FAQs, Tips & Tutorials » A Beginner's Guide to Installing on a RAID » 2013-04-22 06:46:25

mike4ca wrote:
oliver wrote:

nice guide... hope you don't mind, but I wifi-fied it at http://wiki.archbang.org/index.php?titl … _on_a_RAID

Did you link this wiki to another article or add it to the TOC?  If not, I can take care of that.  Also, Stan had a long standing tradition of putting a link at the bottom of each article to get back to the TOC.  You can copy from another article or I can get it taken care of.

I just created it... no categories, no links etc.  I figured I'd come back to it later - just wanted to get it copied last night.  I'll see if I can get it all sorted and let you know if I run into issues

#12 Re: FAQs, Tips & Tutorials » A Beginner's Guide to Installing on a RAID » 2013-04-21 18:55:12

nice guide... hope you don't mind, but I wifi-fied it at http://wiki.archbang.org/index.php?titl … _on_a_RAID

Totally agree on lack of need to mirror swap BTW

#13 Re: Offtopic » Upload your mind » 2013-04-18 10:01:07

I'll just need my 56k modem back :-)

#14 Re: FAQs, Tips & Tutorials » Arch switches to netctl (issues?) » 2013-04-17 17:41:29

my very basic understanding is that your device driver (from the kernel) plumbs the interface - lets say eth0.

You then have tools to manipulate that such as dhcpcd/dhclient or ip/ifconfig

But no-one wants to run something like 'ifconfig eth0 inet 192.168.0.2 netmask 255.255.255.0 -trailers up' every time they log in so there are tools (netctl/networkmanager/netcfg) to make it all easier for you

#15 Re: FAQs, Tips & Tutorials » Arch switches to netctl (issues?) » 2013-04-17 10:25:41

Unless I'm high, you have it exactly right.  In fact, I think if you look at the Arch wiki page for NM it will say to disable netcfg/netctl (or may go for the all-encompassing 'existing networking app') before installing

#16 Re: Arch Discussions » Systemd issue » 2013-04-17 07:18:19

gothmog123 wrote:

Ever since journald went crazy on me I've felt the need to go back to openrc.

You can edit /etc/systemd/journald.conf to forward all messages to syslog.

It adds overhead but it's anecdotally negligible and the benefit is you have your files in /var/log

#18 Re: Openbox » Auto-open qBittorrent on specified desktop when Openbox loads: » 2013-04-11 23:39:22

what about regular 'xprop' (start if from the command line and then point the + at the qbitorrent window)

#19 Re: Pacman/Packages » firefox/systemd update gone wrong » 2013-04-11 16:38:06

I sincerely doubt you were hacked... are you even listening on any ports (like ssh/http etc)?

Bad updates happen from time to time... try putting the old FF back (it should be in /var/cache/pacman/pkg) and if all is good, wait until the next FF update

$ sudo pacman -U /var/cache/pacman/pkg/<previous version of FF>

#21 Re: Hardware & Multimedia » Test for Laptop or Mains (desktop) [Solved] » 2013-04-05 14:01:30

interesting... conky page says valid operands are:

'>', '<', '>=', '<=', '==', '!='

#22 Re: Hardware & Multimedia » Test for Laptop or Mains (desktop) [Solved] » 2013-04-05 11:16:15

what about 

${if_match ${exec laptop-detect}!=0}${battery_percent}${else}Power plugged${endif}

#24 Re: Hardware & Multimedia » Test for Laptop or Mains (desktop) [Solved] » 2013-04-04 09:43:57

the -v option will specifically print the output too

$ laptop-detect -v
We're a laptop (ACPI batteries found)

$ echo $?
0

#25 Re: Hardware & Multimedia » Test for Laptop or Mains (desktop) [Solved] » 2013-04-04 07:24:33

output for me (laptop connected to mains) was:

battery


FWIW, the functionality you're looking for may be in the laptop-detect pkg in community

#26 Re: FAQs, Tips & Tutorials » [TIP] reptyr: Re-attach a process to another terminal » 2013-04-03 12:23:46

this definitely would have saved me a few times in the past.  Now I'm kind of paranoid and use GNU screen whenever I can (specifically for the logging and sharing capabilities too)

#27 Re: FAQs, Tips & Tutorials » [TIP] reptyr: Re-attach a process to another terminal » 2013-04-03 09:11:05

I meant the physical screen (not GNU screen)...  I was thinking in terms of curses based apps or apps that are spewing out data when the connection is lost.

Unless I'm misunderstanding, GNU screen would an alternate method to accomplish the same thing (but you have to remember to run screen before starting your app)

#28 Re: FAQs, Tips & Tutorials » [TIP] reptyr: Re-attach a process to another terminal » 2013-04-02 08:00:42

interesting app...  have you experienced any issues with screen re-drawing when grabbing an existing pty?

#29 Re: Hardware & Multimedia » [SOLVED] Setting max_user_freq for rtc0 » 2013-04-01 14:14:56

Mr Green wrote:

oliver is still amazing smile

I still have my delusions of adequacy :-)

#30 Re: Hardware & Multimedia » [SOLVED] Setting max_user_freq for rtc0 » 2013-04-01 14:13:53

CrocoDuck wrote:

Uh... I rebooted a few times to see If properly working... It works ok most of times, apart once it has failed during a reboot... Thanks for support guys, If you think I made things correctly then I'm going to mark the thread as solved. If everything is ok I'm going to rename the script and then slighty modify the service to run it, I understand that any reference to the old init system could lead to misunderstanding, expecially for beginners like me.

As long as it's straight in your head you don't need to change the names... but if it fails again, you can run:

systemctl status <name>

and it will tell you why it failed

Typically, you'll see an exit code (like I mentioned a few posts ago) that will help you pin down why it failed.

You can see a list here:
http://www.faqs.org/docs/abs/HTML/exitcodes.html

#31 Re: Pacman/Packages » Update --ignore filesystem, glibc » 2013-04-01 09:56:16

you can probably resolve pretty much anything arch throws at you now :-)

#32 Re: Hardware & Multimedia » [SOLVED] Setting max_user_freq for rtc0 » 2013-04-01 09:40:44

CrocoDuck wrote:

Thanks for your reply! Here what happens when I log as root with su and then I give /etc/rc.local; echo $ to the terminal:

[crocoduck@archbang ~]$ su
Password:
[root@archbang crocoduck]# /etc/rc.local; echo $
$
[root@archbang crocoduck]# cat /sys/class/rtc/rtc0/max_user_freq 
3072

The echo part really needed the ? at the end :-) 

For example (the 0 means a match is found; the 1 means no match was found):

# grep root /etc/passwd; echo $?
root:x:0:0:root:/root:/bin/bash
0

# grep sdfdsfdsfdsfsd /etc/passwd; echo $?
1

Bringing this back to your problem, the exit code would tell you whether the rc.local script is executing properly or not.  Assuming it is, then Mr Green is probably right and you need to specify a shell at the top

#33 Re: Hardware & Multimedia » [SOLVED] Setting max_user_freq for rtc0 » 2013-03-31 18:07:43

what happens if you do this as root?

# /etc/rc.local; echo $?

I think you're doing the right thing... the only decision is whether you want one service file per change or one 'catch-all' that you can add stuff to later (and it's probably just a personal choice)

#34 Re: Installation » no tty1-6 visible » 2013-03-28 08:13:15

do you have anything in journalctl?  Maybe your copy of agetty is messed up somewhere - there should be some kind of notification that it is trying to spawn

#35 Re: Installation » no tty1-6 visible » 2013-03-27 12:16:06

You're correct that inittab is not longer used due to systemd

When you hit c-a-f1 (for example) and then go back to X with c-a-f7, can you run a ps -ef and grep for tty?

$ ps -ef | grep tty

I *think* systemd dynamically allocates them rather than automatically setting them up so you should see something in the journal too

$ journalctl

#36 Re: Installation » networkmanager fails on boot » 2013-03-27 06:59:40

exit code 127 typically means 'file not found' indicating a typo or PATH problem.  Is your NM config completely vanilla?

#37 Re: Arch Discussions » MariaDB to replace (Oracles) MySQL » 2013-03-26 06:54:35

scjet wrote:

I'm always very happy for anything that replaces Oracle's-(aka "The Sun/OpenSolaris/OpenOffice Killer") closed-source crap, with much more friendly/open forks, ...

It's very depressing what they did to Sun/Solaris.  The documentation at sun.com and sunsolve used to be stellar, now it's riddled with errors.

#38 Re: Openbox » Volumeicon minor issue » 2013-03-25 06:43:00

I may be *way off* here but your volumeicon config is controlling alsa and it looks like you have pulseaudio running.  I *think* you either need to get rid of PA or use a PA volume control icon

#39 Re: Pacman/Packages » can't "pacman" install abiword - no libgsf » 2013-03-23 07:14:55

shengchieh wrote:

Thank you replying.  I think the mirror is not synced up.

In my original post I stated I did

pacman -Syu

and got core, extra, and community up to date.

That is exactly right... you're up to date with the mirror, but the mirror is not up to date with the current Arch pkg list.

If you can't find a suitable mirror, you could always download libgsf-1.14.26-1 from the Arch servers and install it with 'pacman -U /path/to/downloaded/libgsf*.pkg.xv'   
That will get you over the initial problem (but the real root cause fix is to modify your mirror list)

Or you think it is easier to download abiword tarball from abiword's site?

Unless the program is completely standalone (i.e. no dependencies) then you're setting yourself up for breakage and headaches if you go outside of the repos to install things.  It's not impossible to work that way but fixing the mirror would probably be about the same effort IMO.

#40 Re: Pacman/Packages » can't "pacman" install abiword - no libgsf » 2013-03-22 12:46:36

The latest libgsf is 1.14.26-1 and the repos don't keep older versions so it is an update issue.  Your 'extra' repo is out of date - maybe the mirror is not synced up

#41 Re: Pacman/Packages » [Solved] chmsee error and alsa settings not saved » 2013-03-17 18:10:21

cb9 wrote:
chmsee

XPCOMGlueLoad error for file /home/charles/libxpcom.so:
/home/charles/libxpcom.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

I looked up chmsee and all it's doing is running xulrunner against an ini file and the file you want to open... so do you have a version of firefox that is not from the arch repo?

Can you do:

$ which xulrunner

#42 Re: Arch Discussions » Armchair Linux » 2013-03-17 17:14:44

I love the name... and thats half the battle for me.  I know it's totally irrational, but there are distros I wouldn't even try because I don't like the name.

#43 Re: Pacman/Packages » Unknown trust errors (Solved) » 2013-03-17 07:59:26

yeah, I do see the need to separate them out, but an option to stop *and* disable would be nice

#44 Re: Pacman/Packages » [Solved] chmsee error and alsa settings not saved » 2013-03-17 07:40:25

cb9 wrote:

1) I get following error when I try to start chmsee
XPCOMGlueLoad error for file /home/charles/libxpcom.so:
/home/charles/libxpcom.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

Did you compile chmsee from source? 

Can you run:

bash$ ldd $(which chmsee)

The error message is saying it can't find /home/charles/libxpcom.so... quite why it's looking in your home dir is unclear to me unless you specified that in your compile-time options.

FWIW, chmsee is in the community repo... you can probably save yourself a lot a headaches with:

$ sudo pacman -S chmsee

2) When I restart my system, I see my volume settings are not saved.

Try setting things how you like and running alsactl

$ sudo alsactl store

Also, take a look at /etc/conf.d/alsa - there's an option for saving volume levels when stopping. 

I remember the live CD used to set the volume levels on bootup - not sure if that got pushed to the real install or not.  I'll take a closer look when I'm at a real laptop if the 'alsactl store' fails.

#45 Re: Pacman/Packages » Unknown trust errors (Solved) » 2013-03-17 07:31:20

igorka wrote:

Hi everyone!
I had this problem too ( unknown keys ).
My pacman.d/gnugpg was empty...Why?
After -init & -populate i could update.
The next time i was again unable to update because of unknown keys!?!
I'll try with

      sudo systemctl disable pacman-init.service

      Then reboot, then

      sudo pacman-key --init
      sudo pacman-key --populate archlinux

Just a small point, but you can avoid the reboot but adding this command after the systemctl one

sudo systemctl stop pacman-init.service

#46 Re: Artwork & Screenshots » Share your ArchBang Desktop Thread! » 2013-03-15 01:08:15

very nice...  I'm very partial to blue themes (no innuendo implied - especially on a work computer)

#48 Re: Offtopic » Allan MCRAE attacking Manjaroo january 2013 » 2013-03-12 01:57:29

pablokal wrote:

The reasons why Manjaro is attacked are the same why we are attacked, so I find it relevant for us.

I'm going off on a bit of a tangent here but what does frustrate me is being attacked for things that were rectified *years* ago.  Virtually every thread on the arch forum that mentions archbang says a variant of "they use --force" by default with pacman."   This was true for *one* release a long time ago.  It may even have been the first thing that Mr Green fixed -  I don't remember.

My dilemma is whether we should try and correct that misinformation.  On one hand I think 'yes, people should be corrected for repeating bad information' but on the other hand I think 'they're just towing the party line' so why bother.

Right now I consider 'arch' to be the boss that you don't really connect with but you respect because you're a professional :-)  As long as they let me do my work I'm not going to get overly  involved or upset.

#49 Re: Offtopic » Elizabeth II, The Queen Of Thieves, White Paper 10, 1, 2008: » 2013-03-12 01:41:24

The author of the site obviously has an axe to grind which is a shame because a balanced approach would be more effective IMO.  The slant makes it very easy to dismiss as the ramblings of a tin-hatter.

#50 Re: Offtopic » Ubuntu has gone into space » 2013-03-11 13:40:24

It seems that ubuntu wants to be it's own entity that happens to use a linux kernel... like webos or android.

#52 Re: Pacman/Packages » rc_maps.cfg vs .pacnew » 2013-03-10 16:44:55

My general rule of thumb is (so caveat emptor, your mileage may vary, etc etc) if I've never modified the original file then I stick the new file in it's place... but only after making a backup!

If I have modified the original, I try to recreate those changes in the new file

I ran 'pacman -Qo /etc/rc_maps.cfg' and it's owned by v4l-utils which is *not* essential for booting so it's nothing you can't recover from (but make it easy on yourself and back it up :-) )

#53 Re: ArchBang Installer/.iso Project » Show your keybinds in a pipe menu.... » 2013-03-08 07:30:18

Mr Green wrote:

Hopefully Oliver will check my code at some point.

I'm hardly Dennis Ritchie... I just like to get annoyed at useless uses of cat.

There is an extra " in there though (at the end of the final binding) :-)

Any reason why you separated the title out?  I.E. it could be:

#!/bin/bash
read -d '' BINDS <<EOF
Keybinds
Super+t Terminal
...
Alt+F3 Dmenu
Alt+Super+Arrow Resize
EOF
notify-send "${BINDS}"

Not saying it's wrong, just wondering

#54 Re: Offtopic » New phone » 2013-03-07 16:15:42

Mr Green wrote:

Nearly as quick as your Aquarius .....

10 print "aquarius rules"
20 goto 10
run

Good times... until you got the annoying "syntax error line xxx"

#55 Re: Offtopic » New phone » 2013-03-07 14:46:49

shengchieh wrote:

I use a Palm Pixi Plus, an obsolete smartphone.  Now-a-day you can get new one under $45 or so.

I loved my palm pixi... webOS with preware is a beautiful thing.  The only downside was it took literally 5 minutes to boot

#56 Re: Openbox » Laptop install - [solved] » 2013-03-07 12:39:04

BigF wrote:

Now this is odd,

pacman -Qq | grep xf86-video

reports an empty line ...
Though I am pretty sure nvidia drriver is installed !

pacman -S nvidia
warning: nvidia-313.26-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): nvidia-313.26-1

Total Installed Size:   3,81 MiB
Net Upgrade Size:       0,00 MiB

Proceed with installation? [Y/n] 

I guess only the opensource drivers have the xf86-video prefix so it's the expected output.  pacman -Qq is just going to return the package name so if the package name is nvidia then you won't see it in your output :-)

Not that that helps though - maybe look in the arch forums for lockups with nvidia

#57 Re: Openbox » Laptop install - [solved] » 2013-03-07 09:10:35

BigF wrote:

The first problem is one thats documented in the forum here, but somehow, i just cant get it to work properly.
OBmenu seems to crash the lap randomly, sometimes right at the start, sometimes  after hours of use.
It just freezes my desktop, all i can do (as far as i figured it out) is do an alt-Fx, and do a reboot from console. Dont need to tell you guys thats very irritating when your emailing or writing an entry for this forum :-)

What video driver are you using?  I would be surprised if this is an OB issue

#58 Re: Offtopic » Help a Newbie Out? » 2013-03-04 17:14:36

I think bridge linux also has an xfce4 version

#59 Re: Update Warnings » All qt packages from AUR need to be rebuild » 2013-03-03 08:19:45

pablokal wrote:

To know which package need to be rebuild you can use pkgtools

Thanks for posting!  I've been using greps and awks to get the same info

#61 Re: Openbox » Looking for a bar type conky config » 2013-03-02 11:25:42

i would vote for only including useful stuff and not putting things for the sake of having something there

#62 Re: Pacman/Packages » update not possible on i686 » 2013-03-02 11:12:45

do you get an error or the message "there is nothing to do"?

#63 Re: Openbox » Looking for a bar type conky config » 2013-03-02 09:05:18

Mr Green wrote:

Added date but can put that into tint2 panel

Agree that tint2 is the appropriate place for the date since you can also bind a calendar to it.  If you're after opinions on the aesthetics, I kind of like it... simple, clean and easy to read.  I'm kind of a minimalist person though (no icons on the desktop, simple wallpaper)

#64 Re: ArchBang Installer/.iso Project » Best laid plans » 2013-03-02 08:35:37

qt4 is the new name for qt because qt5 is now in the repo.  You can safely say to replace qt with qt4 but anything from AUR that relies on qt[4] will have to be rebuilt

#65 Re: Openbox » Looking for a bar type conky config » 2013-03-02 08:34:12

Mr Green wrote:

Want to keep it minimal with just enough information not to over crowd it

Playing devils advocate, but what benefit is there is displaying the kernel version?  Does anyone need to know?

#66 Re: Offtopic » Help Stop the Elephant Slaughter: » 2013-03-01 07:38:15

getting close to 500,000 signatures now

#67 Re: ArchBang Installer/.iso Project » Best laid plans » 2013-03-01 07:35:17

Mr Green wrote:

@rabbit adding packer was always going to add weight to iso and felt that it is not needed live. Can understand your problem if you cannot access AUR you cannot install packer or broadcom. The way I see it is even if you had packer shipped with ArchBang you still could not access the web to update broadcom drivers.

Could we add pkg files in a dir but not install them?  I realise it's adding more overhead but an unexploded pkg is way smaller than an installed one.  I'm thinking of something like /var/pkg/archbang/bonus/ (or whatever you want to call it - ideally, I'd call it 'extra' but it would be confusing) - then people could add stuff with pacman -U /var/pkg/archbang/bonus/whatever.pkg.xz

You could add packer and some of the more esoteric networking stuff.

I don't know if the those really add much weight to the ISO to begin with though

#68 Re: Openbox » Replacing openbox-menu » 2013-02-27 23:37:31

mike4ca wrote:

If you want to add a little ArchBang flair

ArchBang should be required to have 15 pieces of flair



(sorry, can't resist)

#69 Re: Arch Discussions » mesa can you run without it? » 2013-02-26 22:30:09

mike4ca wrote:

I would check your "required by" again for mesa..

For me:

$ pacman -Qi mesa | grep ^Required
Required By    : cairo  lib32-mesa  libva  mesa-libgl
$ pacman -Qi cairo | grep ^Required
Required By    : cairomm  gnuplot  gtk2  gtk3  libgdiplus  oblogout  pango  poppler  python2-cairo

Then lots of goodies under gtk2 and gtk3

#70 Re: Arch Discussions » mesa can you run without it? » 2013-02-26 12:18:39

It's definitely a tough ask to get rid of gtk[23] since tint2 relies on it (gtk2) as well as a number of useful apps (lxappearance, parcellite etc)

#71 Re: Hardware & Multimedia » Minor sound issue » 2013-02-22 14:22:29

I don't think it's linked.... looks like it's complaining about the id3 tags which have no bearing on audio

#72 Re: Hardware & Multimedia » Minor sound issue » 2013-02-22 13:38:26

i see you're running jack... does it work as root?  Are you in the audio group?

#73 Re: Hardware & Multimedia » Minor sound issue » 2013-02-22 12:20:27

seal_man wrote:

did u had a look at the alsa config. script, i have pasted.

yeah - no idea what I'm looking for though :-)

Can you try to play an mp3 at the command line with mpg123

$ mpg123 /path/to/file

Does it error out immediately or look like it's playing but with no audio?  If it's the former, paste the error in here

#74 Re: Openbox » Replacing openbox-menu » 2013-02-22 10:10:08

patch -R (I think)

probably easier to install via ABS and not apply it to begin with though

#75 Re: Hardware & Multimedia » Minor sound issue » 2013-02-22 08:50:03

seal_man wrote:

multiple cards!!!

this is the only one.

oops - the hdmi output in your pastebin link threw me

Board footer

Powered by FluxBB