Skip to the posts
Buffalo's neighborhood journals since 2003 🍀 Patrick Spicy Devil Logan🌭 Sahlen🥨 Weber Spank🥟 Pierogi🐸 Scaj🍺 Labatt Utica Pink Cherio❄️ Snow Murder

tinypliny’s journal

🏷️ linux

99 posts

Purge Purge Purge

·

I need to remember these four commands

Purges configuration files.
  • sudo apt-get purge PACKAGENAME

Purges dependencies
  • sudo apt-get --purge autoremove

Finds any stragglers
  • find / -iname '*PACKAGENAME*'

Purge configuration files for ALL the packages removed.
  • aptitude purge ~c

Remove ghetto icon text highlighting (XFCE)

·

I hate it when the Icon text is surrounded by a ghetto highlight on the desktop. Fix for removing the ghetto icon text highlight.

Edit the ~/.gtkrc-2.0 file

# Changing default ghetto looks
style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 75

base[NORMAL] = "#000000"
base[SELECTED] = "#CFD784"
base[ACTIVE] = "#FFE7BA"

fg[NORMAL] = "#D8D8BF"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#ffffff"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"


System76 PanP7 LSPCI output

·

This is the lspci devices output for the super-crappy Pangolin performance laptop panp7 from system76 (*February 2011) a.k.a Clevo W765CUH (Model: W76CU)

LSPCI Output for Reference:

Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18) (prog-if 00 [Normal decode])
    Kernel driver in use: pcieport
Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
    Kernel driver in use: ehci_hcd
Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
    Kernel driver in use: HDA Intel

PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) (prog-if 00 [Normal decode])
    Kernel driver in use: pcieport
PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) (prog-if 00 [Normal decode])
    Kernel driver in use: pcieport
PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06) (prog-if 00 [Normal decode])
    Kernel driver in use: pcieport
PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06) (prog-if 00 [Normal decode])
    Kernel driver in use: pcieport
USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
    Kernel driver in use: ehci_hcd
PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) (prog-if 01 [Subtractive decode])    
ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)    
SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06) (prog-if 01 [AHCI 1.0])
    Kernel driver in use: ahci
Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
VGA compatible controller: ATI Technologies Inc M92 [Mobility Radeon HD 4500 Series] (prog-if 00 [VGA controller])
    Kernel driver in use: radeon
Audio device: ATI Technologies Inc RV710/730
    Kernel driver in use: HDA Intel

Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
    Kernel driver in use: rtl819xSE
System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 80)
    Kernel driver in use: sdhci-pci
Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 80) (prog-if 01)
System peripheral: JMicron Technology Corp. MS Host Controller (rev 80)
    Kernel driver in use: jmb38x_ms
Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 03)
    Kernel driver in use: jme
Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)    
Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
Host bridge: Intel Corporation Core Processor Reserved (rev 05)
Host bridge: Intel Corporation Core Processor Reserved (rev 05)
    
According to this I have two audio devices:
  • Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
    Kernel driver in use: HDA Intel
  • ATI Technologies Inc RV710/730
    Kernel driver in use: HDA Intel

I am bit confused... right now. What's new?

PulseAudio Debian repositories

·

The latest pulseaudio debian repositories are at this:

I hope they fix the low-volume-through-front-speakers issue I have been having with the older versions...

NOTE: This was a bad decision. Stick to the repository version.


Faster boot times on Crunchbang

·

Some stuff you can do for a faster boot time on Crunchbang.

1. Enable autologin.
Open the terminal and type


gksu gdmsetup


You will need to enter your administrator password. Go to the "Security" tab and check "Enable Automatic Login".

2. Decrease grub menu timeout.
Edit the /etc/default/grub file and change the grub option menu timeout to 1 or 0

GRUB_TIMEOUT=1 (or even 0).



Additional random but useful notes that might be helpful to people struggling with existential queries on Crunchbang:
a) Prevent Iceweasel from weaseling in.
I like Google Chrome beta on my OS. But uninstalling the default Chromium compulsorily installs something called iceweasel. One way around this is to install the iceweasel-dummy package to avoid installing iceweasel when you remove chromium. Apparently, there is some java dependency on this neverending it's-either-chromium-or-iceweasel vicious cycle on crunchbang. What a mess.

b) To check if JRE (Java Runtime Environment) successfully installed on your laptop, type the following at the terminal:

find / -iname java -print 2>/dev/null



Compiling RTL8191SEvB drivers on Crunchbang and Debian

·

With my new found "Su" power, I compiled the RTL8191SEvB wireless driver in Crunchbang and am documenting all the (as it turns out, rather minor) hurdles and leaps here. The good news is if I can do it, you can surely do it too. I am pretty much the lowest of the lowest common denominators when it comes to dealing with linux. And no, I am not being humble. Linux and I haven't found much common grounds for camaraderie yet. However, we tolerate each other because we simply have to. The alternatives are even more hideous and strewn with frustrations.

0. Get the driver from the Realtek site at this Get both RTL8192SE and RTL8191SE-VA2 if you are doubtful of what to get.
Special Note: Pay attention to which version of the driver you are downloading. First check your kernel version with:

uname -r


Then pick either
--> Linux driver for kernel 2.6.34 (and earlier) or
--> Linux driver for kernel 2.6.35 (and later)
depending on what version came up with uname -r. I am telling you based on my bitter experiences that you will end up wasting a ton of time if you download the wrong version.

1. Crunchbang has a problem with su and can't really switch you into Su root mode unless you do this: At the terminal type:

sudo su

followed by

passwd

The system should now ask you for a new root user password. Enter something that you will remember. You are set with a Su command to go into root mode like in regular debian.

2. Type the make command at the terminal:

make


If you have a vanilla no-frills crunchbang installation "make" is sure to complain with:
make: *** /lib/modules/2.6.32-5-amd64/build: No such file or directory. Stop.
make: *** [all] Error 2

2a. It's whining about the lack of kernel headers so install the kernel headers:

apt-get install linux-headers-2.6.32-5-amd64


(...which makes you wonder why the kernel was headless to begin with. Perhaps to save space. Perhaps to add to your vexation. Who knows.)

--
Note: If you want to install these headers manually, these are the files you need from the debian repository:
  • linux-headers-2.6.32-5-common_2.6.32-31_amd64.deb
  • linux-kbuild-2.6.32_2.6.32-1_amd64.deb
  • gcc-4.3_4.3.5-4_amd64.deb
  • gcc-4.3-base_4.3.5-4_amd64.deb
  • cpp-4.3_4.3.5-4_amd64
  • linux-headers-2.6.32-5-amd64_2.6.32-31_amd64.deb
  • linux-headers-2.6-amd64_2.6.32+29_amd64.deb

In that order.


3. You can then go ahead and issue the make command again:

make

. A ton of mumbo-jumbo will scroll across your terminal but most of it will be orderly except this line:

/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_firmware.c:722: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’


Some not-very-consequential warning. I am told it could be because of the carelessly or poorly written code for the driver. Which is also claimed as the reason (by debian overlords in the #debian channel on the irc.debian.net server) why it was not included in the native Debian kernel and is only scheduled for inclusion in the 3.0 version after some squabbling or quality checks or both... or none. Again, who knows what's going on the dark recesses of kernel-developers minds.

4. Assuming, there are no other warnings and errors (there were none in mine), issue the make install command:

make install

Another scroll of messages where linux will enter and exit various directory locations will follow. Hopefully these entries and exits will pass without incident. If there is some permission error, you probably don't have Su power. See step 1. Sudo doesn't cut it for the whiny RTL8191SEvB driver.

5. Finally. SHUT DOWN completely and reboot. Hopefully you will be able to see your wireless networks now. If not, you have probably wasted your time reading these instructions and it's time to go and read the other zillion forum posts about this difficult wireless driver on the rest of the net. Even if none of them end up helping you, they would have, at the very least, taken a shot at helping build some character - which you will need for putting up with no wireless in a laptop.

System76 == Ubuntu. Dissatisfied Review.

·

After much heartache, I have finally given up trying to make other worthy linux distros work on my crappy System76 Pangolin "Performance" PanP7 laptop. In short, there is no other OS apart from Ubuntu that can work with the hideous combination of obscure hardware that System76 has piled on the Pangolin Performance laptop.

All Debian: Wireless doesn't work. Because the Realtek RTL8191SEvB driver is not included in the kernel.

All Slax: Same problem as above

All ArchLinux: Ethernet doesn't work. Because the JMicron ethernet driver is not included in the kernel.

All Fedora: Either the wireless doesn't work or ATI throws a fit somewhere down the line.

Many modified Ubuntus: Either ethernet or wireless doesn't work. Naturally, the most useless and obscure of hardware drivers (JMicron and Realtek RTL8191SEvB) are the first to go in any modification because the sane systems don't have them. Except, of course the Pangolin Performance - the crappy prison/refugee-home laptop from System76 where all obscure laptop hardware come to roost.

Ubuntu from minimal CD (mini.iso): Doesn't work because the ethernet card JMicron driver is not on the mini.iso and it refuses to budge after a while. Pity. This was one way to cut the ubuntu bloat.

Ubuntu itself: Patchy performance on EVERYTHING. a) Because ubuntu is just a nickname for crappy and b) Because ubuntu (crappy) + Pangolin Performance PanP7 (uber-obscure) makes for a crappy obscure experience that does not have a common ground in solutions found on the net for any problem. The list of frustrations go on and on with ubuntu. Java doesn't function properly. Proprietary technology doesn't compile well. R-packages don't work.

Which leaves me with...

Super OS: Also an ubuntu modification but with every imaginable proprietary software bundled in. Around 400+MB more than standard Ubuntu. And this is where I have thrown in my lot for now. Atleast, I am still seeing my ethernet card, wireless networks and camera. Java is installed and so are a zillion small proprietary bits that make everything tick for a normal person. And yes, I am on the Unity shell and it's a resource hog, but System76's obscure hardware formula leaves me with no other choice. The baseline RAM consumption is around 2GB without anything else running. Its a disaster in terms of minimalism. But ATLEAST, I don't need to waste time looking at the endless forum posts of blind leading the blind for the minutest problem in the world.

As I said, stay away from System76. Unless they realize that linux is not just Ubuntu, their laptops will be obscure and not play well with anything other than Ubuntu. This is a problem because Ubuntu is definitely not the definitive linux and has several other worthy competitors who have thought about things much more carefully and deliver wonderful solutions.

All of which I can't now enjoy. Screw you, System76. You have put me in bloaty Ubuntu prison.


EDIT: I managed to put Fedora 15 on the Pangolin System76 system without ATI software and terrible graphics. However, the wireless performance is WORSE than TERRIBLE. Unless you are right next to a really strong wireless signal, forget connecting reliably to any wireless network.

The bottomline is AVOID System76. Their hardware is obscure and does not play well with anything except Ubuntu. Even on Ubuntu the wretched Pangolin System76 laptop has problems. For a company that drums on and on about "lnux friendliness", Pangolin PanP7 is a total disaster for many linux distros and everyday connectivity.

RTL8191SEvB - worst linux support ever

·

If you want to run linux and are getting a laptop, and see this wireless card listed in the specs:

Realtek RTL8191SEvB

Run. Run as far as you can from any laptop that has this wireless card.

The Realtek RTL8191SEvB wireless card has SO MANY troubles with linux that it's a shame that it was ever included as a wireless option for any laptop. Only Ubuntu works with the RTL8191SEvB and that too, in a patchy sporadic way. NONE of the other linux distros include the driver to the RTL8191SEvB. What is worse is it throws a ZILLION errors when you try to compile it from the driver posted on the Realtek website.

RTL8191SEvB is quite plainly the WORST-SUPPORTED wireless card EVER on linux. There is NO support and all advice on the internet about how to get it working is useless, time-wasting and has a ZERO success rate.

I hate you System76, for putting the RTL8191SEvB wireless card on Pangolin Performance. I hate you because only Ubuntu has patchy support for this card and I am pretty much bound to the sucky OS if I ever want wireless working even half-decently. For all your linux-centric philosophy, putting the RTL8191SEvB wireless card on your Pangolin Performance PanP5 COMPLETELY traps your users into Ubuntu - which is just as much of a resource-hog as the worst windows. You are a ludicrous snobbish company. Your customer support maybe fast and responsive but NOT helpful AT ALL when it comes to RTL8191SEvB installation on linux distros other than Ubuntu.

Stay away from realtek RTL8191SEvB. For good measure, also stay away from System76.

Make skype audio work in Debian

·

I am really tired of struggling with skype on Debian (and Crunchbang) to get its audio to work properly. If the microphone works the output doesn't work, if the output works, the microphone doesn't. I think I may have found a solution and I am posting it here so other frustrated souls can find it.

Install Pulseaudio if you only have ALSA. ALSA alone does NOT work with skype regardless of whatever people on the #Debian channel might think or tell you.
  • sudo apt-get install pulseaudio

Install pulseaudio volume control
  • sudo apt-get install pavucontrol

Run Skype.

Go to the Sound devices sections. Click on the Open PulseAudio Volume Control button. pavucontrol will open.
  1. In every tab maximize ALL the volume sliders.
  2. Go to the configuration tab. Mine has two sections. One is called RV710/730. Turn this off in the dropdown menu below it.
  3. The other one is called "Internal Audio". Choose "Analog Stereo Duplex" in the dropdown menu.
  4. When you go back to the "Input Devices" tab now, you will see that there is an setting for "Internal Audio Analog Stereo". Crank this to 100%.
  5. In the "Output Devices" tab, choose the "Analog Output" port from the dropdown menu. Crank the front left as well as front right channel to the max 100%.

I think this will make your microphone as well as sound output work on skype. Test with skype test call to echo123.


Nattiness, but nothing else!

·

So I decided to have my own Natty Party, went and bought a kilo of 85%++ dark chocolate (they have an excellent lindt sale at walgreens), brewed a couple litres of tea and took 11.04 for a test spin.
image
Very fancy, I admit. But not utilitarian fancy... For example, the menu is a combination of a magnified gnome-do and the linux-mint menu. Everything hovers in 3D glory. But I am not quite sure if I like this sort of menu. Maybe with a few keyboard shortcuts but not on its own...

I can't easily find a way to shuffle things around in the main panel at the top. I also can't figure out how to move that application-dock-panel to the right. I like to have everything on the right. I am not a left-hander and I resent things that force me to clumsily switch to my left hand.
image

And there is too much Mac-iness that I don't like. All the program-related menus appear in the top panel. I absolutely loathe this behaviour in Mac - one of the many reasons why the Mac interface is not so "intuitive" or appealing to me.
image

I tried to do some simple image manipulating and resizing. In typical Ubuntu contrariness, everything already installed was definitely not what I wanted/liked. Sometime natty eye-candy is just not enough.

Currently, I am on madbox on my oldest laptop (Ubuntu 10.10 kernel + Openbox +SLiM, WinXP on my daily laptop and a stripped down Ubuntu 10.10 64bit on my analyses laptop. I don't see the nattily-dressed Ubuntu making a grand entry on any one of them for now. Seems to me that most of the nattiness has been adopted at the cost of flexibility.