You are not logged in.
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>
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)
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
have you looked in any of the logs to see if there are any hints?
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.
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-)
can you define 'special folder'? You can make anything work in cron
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
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
added TOC link to article and modified the TOC
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
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
I'll just need my 56k modem back :-)
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
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
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
nice - monsanto are a disaster
what about regular 'xprop' (start if from the command line and then point the + at the qbitorrent window)
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>interesting... good info to know
interesting... conky page says valid operands are:
'>', '<', '>=', '<=', '==', '!='
what about
${if_match ${exec laptop-detect}!=0}${battery_percent}${else}Power plugged${endif}are you sticking with i3?
the -v option will specifically print the output too
$ laptop-detect -v
We're a laptop (ACPI batteries found)
$ echo $?
0
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
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)
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)
interesting app... have you experienced any issues with screen re-drawing when grabbing an existing pty?
oliver is still amazing
I still have my delusions of adequacy :-)
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
you can probably resolve pretty much anything arch throws at you now :-)
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 $?
1Bringing 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
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)
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
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
exit code 127 typically means 'file not found' indicating a typo or PATH problem. Is your NM config completely vanilla?
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.
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
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.
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
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
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.
yeah, I do see the need to separate them out, but an option to stop *and* disable would be nice
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 chmsee2) When I restart my system, I see my volume settings are not saved.
Try setting things how you like and running alsactl
$ sudo alsactl storeAlso, 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.
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 withsudo 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
very nice... I'm very partial to blue themes (no innuendo implied - especially on a work computer)
arschbumtoo more like
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.
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.
It seems that ubuntu wants to be it's own entity that happens to use a linux kernel... like webos or android.
looks good to me
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 :-) )
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
Nearly as quick as your Aquarius .....
10 print "aquarius rules"
20 goto 10
runGood times... until you got the annoying "syntax error line xxx"
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
Now this is odd,
pacman -Qq | grep xf86-videoreports 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
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
I think bridge linux also has an xfce4 version
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
you are prolific!
i would vote for only including useful stuff and not putting things for the sake of having something there
do you get an error or the message "there is nothing to do"?
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)
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
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?
getting close to 500,000 signatures now
@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
If you want to add a little ArchBang flair
ArchBang should be required to have 15 pieces of flair
(sorry, can't resist)
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-cairoThen lots of goodies under gtk2 and gtk3
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)
I don't think it's linked.... looks like it's complaining about the id3 tags which have no bearing on audio
i see you're running jack... does it work as root? Are you in the audio group?
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
patch -R (I think)
probably easier to install via ABS and not apply it to begin with though
multiple cards!!!
this is the only one.
oops - the hdmi output in your pastebin link threw me