Linux Community's Journal
[Most Recent Entries]
[Calendar View]
[Friends]
Below are the 20 most recent journal entries recorded in
Linux Community's LiveJournal:
[ << Previous 20 ]
| Saturday, July 11th, 2009 | 3:29 am [slyfoot]
 |
Invert Screen Colors In KDE?
Hey folks, I'm a visually impaired guy trying to find a way to easily invert the screen colors in KDE (3.5+). There actually is a way to do this in the Accessibility section (Visible Bell), but unfortunately it only flashes an inverted screen at a minimum of 100 msecs and a maximum of 2000 msec. But ideally I just want to be able to toggle the screen to inverted colors and have it stay that way while I do something like view a PDF file. The "Visible Bell" feature is triggered whenever the system bell goes off. I thought perhaps running a script to constantly trigger the system bell might work, but it might just end up constantly flashing the screen too, which isn't helpful either. OR if someone happens to know where the configuration file is where I can try changing the value from 2000 msecs to 9999999 msecs, Since the code that the "Visible Bell" feature obviously works well enough to invert the screen in brief flashes, then someone who is familiar with the source code for the KDE Accessibility features could eatract it and turn it into a useful program that could be executed with a keyboard shortcut similar to the Mac's control+alt+apple+8 sequence. Any ideas? | | Thursday, July 9th, 2009 | 2:57 pm [jackal]
 |
Checking for failed disk inside a RAID config on Linux (for generic Adaptec card)
I need a GENERIC (none Vendor specific) command for checking the status of a harddrive inside a hardware raid configuration. I have the vendor supplied commands for doing this (for HP and Dell), but I need to do this on a generic machine with an Adaptec 5805 card in it. FOR HP:# hpacucli controller slot=0 physicaldrive all show status physicaldrive 1:0 (port 1:id 0, 36.4 GB): OK physicaldrive 2:0 (port 2:id 0, 36.4 GB): OK physicaldrive 1:1 (port 1:id 1, ??? GB): Failed physicaldrive 2:1 (port 2:id 1, ??? GB): Failed FOR DELL:# omreport storage adisk controller=0 FOR Generic/Adaptec card????????????????? -- Update Nevermind - I found it. 1- Install StorMan2- /usr/StorMan/arcconf getconfig 1 | | Saturday, July 4th, 2009 | 11:02 pm [vivisectdeath]
 |
attempting to install aircrack-ng, error post 'make'
I am confused. me@me-laptop:~/aircrack-ng-1.0-rc3$ make make -C src all make[1]: Entering directory `/home/me/aircrack-ng-1.0-rc3/src' make -C osdep make[2]: Entering directory `/home/me/aircrack-ng-1.0-rc3/src/osdep' Building for Linux make[3]: Entering directory `/home/me/aircrack-ng-1.0-rc3/src/osdep' gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o osdep.o osdep.c gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o network.o network.c gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o linux.o linux.c gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o linux_tap.o linux_tap.c gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o radiotap-parser.o radiotap-parser.c gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o common.o common.c ar cru libosdep.a osdep.o network.o linux.o linux_tap.o radiotap-parser.o common.o ranlib libosdep.a touch .os.Linux make[3]: Leaving directory `/home/me/aircrack-ng-1.0-rc3/src/osdep' make[2]: Leaving directory `/home/me/aircrack-ng-1.0-rc3/src/osdep' gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c In file included from aircrack-ng.c:65: crypto.h:12:26: error: openssl/hmac.h: No such file or directory crypto.h:13:25: error: openssl/sha.h: No such file or directory crypto.h:15:25: error: openssl/rc4.h: No such file or directory crypto.h:16:25: error: openssl/aes.h: No such file or directory cc1: warnings being treated as errors In file included from aircrack-ng.c:69: sha1-sse2.h: In function ‘calc_4pmk’: sha1-sse2.h:143: warning: implicit declaration of function ‘HMAC’ sha1-sse2.h:143: warning: implicit declaration of function ‘EVP_sha1’ aircrack-ng.c: In function ‘crack_wpa_thread’: aircrack-ng.c:3876: warning: implicit declaration of function ‘EVP_md5’ make[1]: *** [aircrack-ng.o] Error 1 make[1]: Leaving directory `/home/me/aircrack-ng-1.0-rc3/src' make: *** [all] Error 2 I don't know nearly enough to recognize the pattern and know what to do about it.... if anyone can give me info or even a pointer as to how to decipher this and what the problem is, that would be awesome. | | Wednesday, July 1st, 2009 | 1:13 pm [mattcaron]
 |
Network filesystems
So, here's one for the crowd. It's been 30 years since networks (and hence, network filesystems) have been common. So, why are we stuck with NFS and SMB as the best network filesystem protocols (yes, I know there are others but most of them suffer from one or more of the problems I'm about to detail.. and if they don't, TELL ME, please). ( cut for sanity )Ideas are welcome. | | Monday, June 22nd, 2009 | 7:49 pm [andthewaves]
 |
switching to linux
Recently I was given a mini laptop thingy (ASUS Eee PC 2G Surf), with no discs or anything. It has Windows XP on it now but everything is failing, no sound, no internet, 10 MB left on the harddrive, no antivirus etc etc. I'm losing my mind. So, since I will only be using this thing for internet and word processing, I was thinking maybe switching to Linux would be a good option?? I've never used Linux before though so I need some help. The harddrive is only 2G, and then it has an 8G memory card. Is that enough space for Linux? Will it be difficult to find drivers and stuff to make the sound/keyboard/mouse etc work? Will I be able to connect to wireless internet easily? I'm a traveler so this is really important. Well I guess I'll just start with that. Any advice is appreciated! Thanks! | | Tuesday, June 16th, 2009 | 4:06 pm [pkbarbiedoll]
 |
Restrict port access to a range of IPs
Have a publicly accessible box and need to restrict access to a specific port (1234) to a range of IPs (10.100.1.1/100). Can this be handled through iptables alone, or do I need to rely on the vendor firewall config (SLES 10)? Read through man iptables & googled - didn't see how to accomplish this task. thanks for any pointers/help. | 4:03 pm [pkbarbiedoll]
 |
| | Saturday, June 13th, 2009 | 6:30 pm [slyfoot]
 |
Forcing Wild Cards
How do you pass wildcard arguments to commands that don't take them? For some reason the unrar command won't allow a wildcard argument like unrar x *.rar. I'm sure there must be a way around it, but I don't know how. | | Friday, June 12th, 2009 | 2:15 pm [crazybert]
 |
Windows 7 as Samba domain member
Hi! Does anyone have any idea if there's any progress on this issue?I found lots of complains and discussions, but they're all dated at the beginning of this year... Tried DomainCompatitility Tried relaxing NTLM to v2 if negotiated Tried disabling DNS resolution Tried to remove 128bit constraint ...even tried to move to Samba 4, but just got another sort of issue there...still unable to add Windows 7 to a domain.... Thanks! | | Sunday, May 31st, 2009 | 3:55 pm [jackal]
 |
Script to download annoying Navy Alarm Sounds
I needed some annoying alarm sounds on my computer to use as alarm clock sounds. I found this site to have some really annoying alarm sounds. For some reason wget -r -l 2 will not download .wav files... no idea why... So I had to write a script around it:
$ cat foo.sh
#! /bin/bash
# Get the page
wget http://policeinterceptor.com/navysounds.htm -O navysounds.html
# Parse out the wav URLs
cat navysounds.html |grep wav| sed "s/.*http:\/\///g" | sed "s/\".*//g" > wav_list
## do something to get audio url
for i in `cat wav_list`;
do
echo $i
wget $i
done
--- So why will "wget -r" NOT download .wav files?? | | Saturday, May 30th, 2009 | 1:17 pm [slyfoot]
 |
Reading Man Pages Like Normal Text Files?
Can anyone tell me how I would display man pages with the left margin jsutified on column 1 and the right margin ragged (similar to a normal text file) rather than left justified and right justified in a column on the right side of the screen? I use large fonts in a console window and the format of man pages is just too distracting. I've tried using "man [command] > [command].txt" but I end up with control characters. I would be happy if I could figure out how to get the "less" command to ignore indents altogether. [Edit: Okay, I checked wiki and I found out that I can use this command to get plaintext: man foo | col -b > foo.txt I can then load it into a text editor and remove all indents. Still, I wonder if there is an easier way to read man pages in text and without indents on the fly?] | | Wednesday, May 27th, 2009 | 1:06 pm [brutal_truth]
 |
Powerbook g4 Aluminum 12.1"
One of my girlfriend's class mates at RISD is going into Furniture. He has to take a CAD class, and the minimum specs for the Macintosh the student's need didn't meet his current machine's... He gave it to me. This makes me extremely happy seeing as I love Macintosh hardware (PPCs anyway). So, while waiting for the OS X disc to arrive in the mail, I figured I would set up some Debian. When the OSX disc arrives I'll backup the boot sector, install OS X, and then restore the boot sector and add an entry for the Berkley Softw--- I mean OSX install. So the meat and potatoes of this post is: does anyone have any advice for Linux on the PowerPC arch? Any advice on the cohabitation of OS X and Linux? Are there any other *nix's that would function well on PPC? All advice appreciated. | | Thursday, May 21st, 2009 | 12:36 pm [jackal]
 |
Moblin beta = KABOOM
I was really looking forward to trying the Moblin beta... but it crashed and burned when I tried to install it on my Dell Mini 12. I selected Boot and Install and it was never able to start X... :( | | Monday, May 18th, 2009 | 6:30 pm [slayne_souls]
 |
The War on Sharing: Why the FSF cares about the RIAA lawsuits
OMG where does the RIAA stop??? Now going after the "free Software Foundation, Gimme a Break! of course The RIAA has no case but still the fact they are picking fights is enough. heres the article from fsf.org ---------------------------------------- ---------------------------------------- -------- by John Sullivan FSF Operations Manager We don't make (much) music here at the Free Software Foundation, so it's natural for people to wonder why the FSF has been standing up for individuals targeted by lawsuits launched by the Recording Industry Association of America (RIAA). Most recently, we filed an amicus curiae brief in the case of Sony BMG Music Entertainment, et al. v. Joel Tenenbaum showing the RIAA's theory of statutory damage awards to be unconstitutional. Some would prefer we not fight these lawsuits, suggesting that they are a distraction from the FSF's core charter. But opposing them is actually an important part of our mission to support free software. First, they represent a concerted attempt to rewrite copyright law in a way that threatens to undermine the ultimate goals of the free software movement. Second, a vocal minority in the entertainment industry uses these lawsuits as warrants to justify Digital Restrictions Management technology and other measures to monitor and control the flow of information over the internet. Third, if unopposed, these lawsuits create a culture in which people are afraid to share, presuming sharing to be theft. ( Read more... ) | | Saturday, May 16th, 2009 | 7:49 pm [jackal]
 |
decoding a kernel oops message
Is there a place you can go and cut and paste a kernel oops message into a webpage and have it return to you what the crash was caused by in human readable English? I had a kernel panic on my cent 4.7 box yesterday and the oops made it into syslog, but upon reading it... i have not a clue what killed the kernel. :/ | | Friday, May 15th, 2009 | 5:50 pm [jackal]
 |
Question about alarms when drives die inside hardware raid arrays
I've got a problem I'm trying to solve. If a disk goes bad inside a raid configuration (assume HP or DELL Enterprise level linux hosts), where is that event captured? I know if I manually go run hpacucli I can see the raid configuration. But I want a real time alarm. I'd prefer a trap. Does this information get recorded into the IPMI System Event Log (SEL)? So if I were running ipmievd it would get logged via syslog. That's a start but I need to get it off the host as a SNMP trap, preferably through the OS provided SNMP daemon (not the hardware vendor supplied one). | | Tuesday, May 12th, 2009 | 10:01 am [necroad]
 |
ATI drivers
I haven't used ATI for years. However, my friend is getting a new computer and originally said that he wanted me to install linux on it for him. He told me yesterday though that he's getting an ATI graphics card as nvidia is too expensive for him right now. I don't know how well ATI drivers work these days with linux -- any recent experience? If it's relevant, I'll be installing arch. Current Mood: tired | | Friday, May 8th, 2009 | 1:07 pm [anivair]
 |
looking for program idea: almanac
A friend is looking to make an almanac type calendar book. Like a sort of framer's almanac. Anyone have a solid program for this sort of creation? I know, most office suites can handle this, but the calendar also needs to be interactive (so that we can set up regularly occurring events and what not as well as easily break pages for stories, recipes, etc). Suggestions? | | Friday, May 1st, 2009 | 11:02 am [anivair]
 |
WTF: rsync
I've never seen anything like this, so maybe someone here can help. The following is a rsync that i just tried to run to troubleshoot some stuff on our server. [root@myserver data]# /usr/bin/rsync -avz /u/data/clindex.dat /media/usbdisk/u/data building file list ... done rsync: chown "/media/usbdisk/u/data/clindex.dat" failed: Operation not permitted (1) sent 80 bytes received 20 bytes 200.00 bytes/sec total size is 65536 speedup is 655.36 rsync error: some files could not be transferred (code 23) at main.c(702) Okay, what the hell is that? I've never seen rsync refuse to transfer a file. I've certainly never seen it fail to send a file as root. it's the same error if I run -avxP. -av is the same. I have never seen that before. Not sure what it even implies, let alone how to fix it. I'm running CentOS. rsync is version 2.6.9. The directory on the receiving end is an external usb hard drive. I'm logged in as root. | | Sunday, April 26th, 2009 | 10:03 pm [poseidon]
 |
Hey everyone. I just put kubuntu on my laptop and I installed Xfmedia as my mp3 player and I'm having one issue with it now. (It's my default mp3 player for now) My problem is, if I have it open and I try to open another mp3, it loads it in a new window and plays both of them at the same time. Is there a way to force kubuntu to only have one instance of a certain application open at a given time? (Oh yeah, and I'm still a noob when it comes to linux, so if you could dumb any explanations down to my level, it would be appreciated. Thanks!) |
[ << Previous 20 ]
|