SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-07-27 16:25:56

dev/censor
Member
From: Lemon Red
Registered: 2011-07-27
Posts: 18
Website

#! on a Dell Inspiron E1505

...and I've never seen it run this good. My laptop is the fastest and most responsive it's been in the six to seven years I've watched it go to hell. I wonder why I didn't nix the idea of a traditional desktop environment sooner. I guess that's what I get for running KDE since 2001 and KDEmod as soon as Chakra fell from betwixt Arch's knees.
But now. Now I see the beauty of nothingness. Minimalism at its finest. Fast, stable, responsive. All I could ask for in a DE and this weighs in at a fraction of one.
This being said, I am completely new to the Openbox environment. To make matters worse, I'm testing the waters with the worst built, and possibly one of the hardest laptops to use as far as hardware compatibility goes. I had to give up Arch only because of horrible support for the iwl3945 adapter and unknown issues with Xorg, kicking off no errors, and only giving me a black, dead screen with no backlight as a graphical environment.
But finally. I found a lightweight WM, packaged in a powerful lightweight distro.

...now if we could just go to a rolling release and use pacman =3
(edit: I just realized ArchBANG (or A! as I like to call it) is not just a joke I thought I was witty by saying to my linux abusing girlfriend. I might check it out on a physical machine one of these days, but I'm holding on to #! for now.)

Who in the community uses this extremely common and almost worthless laptop or its sister, the Inspiron 6400? What have you done to better run OB and #! on it? Is there a way to regain support for the media buttons on the front panel of the laptop?

./Dev

EDIT: Here's the working code to implement the mute, volume raise, and volume lower dedicated media controls. Just copy and paste this anywhere in the keyboard portion of your rc.xml and restart to initiate support.

~/.config/openbox/rc.xml

<!-- Keybindings for media buttons -->
    <keybind key="XF86AudioMute">
      <action name="Execute">
        <execute>amixer set Master toggle</execute>
      </action>
    </keybind>
    <keybind key="XF86AudioRaiseVolume">
      <action name="Execute">
        <execute>amixer set Master 3%+</execute>
      </action>
    </keybind>
    <keybind key="XF86AudioLowerVolume">
      <action name="Execute">
        <execute>amixer set Master 3%-</execute>
      </action>
    </keybind>

Last edited by dev/censor (2011-07-27 19:30:57)


"Designed for Windows XP. Powered by #!"
Dell Inspiron E1505 | #! Statler | RAM: 3GB Swap: 3GB | 160GB HDD - boot|root|var|tmp|home partitions.
"LR Mobile"
Asus ROG G74SX | Archlinux : Win 8 | RAM: 8GB Swap: 4.5GB | 750GB HDD : 230GB SSD - boot|root|var|tmp|home partitions.

Offline

Be excellent to each other!

#2 2011-07-27 17:53:28

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: #! on a Dell Inspiron E1505

My dad has a Dell Inspiron E1505 however it has a Broadcom wireless and NVIDIA graphics. I tried an Ubuntu LiveCD once and it seemed to work fine.

Offline

#3 2011-07-27 18:00:14

dev/censor
Member
From: Lemon Red
Registered: 2011-07-27
Posts: 18
Website

Re: #! on a Dell Inspiron E1505

Oh, the laptop works, there are just a lot of special functions that aren't implemented, especially in lightweight or modular distros. The E1505 also came in three models (I hate Dell for this crap), the Broadcom with NVIDIA, The Broadcom with ATI, and the (much worse) iwl3945 with NVIDIA (at least the GeForce 7 Go was somewhat of a saving grace...).
I just installed and booted #! from physical machine last night, so I'm still setting up conky, tint2, and my sysmenu. Any suggestions, Mr. Anonymoose?

./Dev


"Designed for Windows XP. Powered by #!"
Dell Inspiron E1505 | #! Statler | RAM: 3GB Swap: 3GB | 160GB HDD - boot|root|var|tmp|home partitions.
"LR Mobile"
Asus ROG G74SX | Archlinux : Win 8 | RAM: 8GB Swap: 4.5GB | 750GB HDD : 230GB SSD - boot|root|var|tmp|home partitions.

Offline

#4 2011-07-27 18:17:00

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: #! on a Dell Inspiron E1505

I never tried the buttons but if they register with xev, you can setup keybinds for them. Also search the forums, there are several threads on keybinds/media buttons.

Offline

#5 2011-07-27 18:28:03

dev/censor
Member
From: Lemon Red
Registered: 2011-07-27
Posts: 18
Website

Re: #! on a Dell Inspiron E1505

They do register, and I tried keybinds for the volume up and down to go in increments of 5%, but seemingly to no effect.

    <!-- Keybindings for Dell media buttons -->
    <keybind key="XF86AudioRaiseVolume">
      <action name="Execute">
        <execute>amixer -c 0 set PCM 5%+</execute>
      </action>
    </keybind>
    <keybind key="XF86AudioLowerVolume">
      <action name="Execute">
        <execute>amixer -c 0 set PCM 5%-</execute>
      </action>
    </keybind>

I noticed that it is effecting the PCM, but I want it to control Master volume. Is there a variable for that?


"Designed for Windows XP. Powered by #!"
Dell Inspiron E1505 | #! Statler | RAM: 3GB Swap: 3GB | 160GB HDD - boot|root|var|tmp|home partitions.
"LR Mobile"
Asus ROG G74SX | Archlinux : Win 8 | RAM: 8GB Swap: 4.5GB | 750GB HDD : 230GB SSD - boot|root|var|tmp|home partitions.

Offline

#6 2011-07-27 18:29:10

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: #! on a Dell Inspiron E1505

Did you try using "Master" instead of "PCM"?

Offline

#7 2011-07-27 18:40:01

dev/censor
Member
From: Lemon Red
Registered: 2011-07-27
Posts: 18
Website

Re: #! on a Dell Inspiron E1505

Yes, and master stood still.

I have googled amixer terminal commands and those two keybinds look like they should work with Master if I "set Master" but for some reason my laptop is stubborn.

Last edited by dev/censor (2011-07-27 18:51:36)


"Designed for Windows XP. Powered by #!"
Dell Inspiron E1505 | #! Statler | RAM: 3GB Swap: 3GB | 160GB HDD - boot|root|var|tmp|home partitions.
"LR Mobile"
Asus ROG G74SX | Archlinux : Win 8 | RAM: 8GB Swap: 4.5GB | 750GB HDD : 230GB SSD - boot|root|var|tmp|home partitions.

Offline

#8 2011-07-27 18:55:41

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: #! on a Dell Inspiron E1505

Does the command work from the terminal? Did you check if your Master channel is already maxed?

Alternatively, try using this command:

amixer set Master 5+

Offline

#9 2011-07-27 19:01:38

dev/censor
Member
From: Lemon Red
Registered: 2011-07-27
Posts: 18
Website

Re: #! on a Dell Inspiron E1505

the command works, but is moving in increments of 17% even with the given value of 5


"Designed for Windows XP. Powered by #!"
Dell Inspiron E1505 | #! Statler | RAM: 3GB Swap: 3GB | 160GB HDD - boot|root|var|tmp|home partitions.
"LR Mobile"
Asus ROG G74SX | Archlinux : Win 8 | RAM: 8GB Swap: 4.5GB | 750GB HDD : 230GB SSD - boot|root|var|tmp|home partitions.

Offline

#10 2011-07-27 19:15:18

dev/censor
Member
From: Lemon Red
Registered: 2011-07-27
Posts: 18
Website

Re: #! on a Dell Inspiron E1505

So I must have farted in the wrong direction again, because now it's working just fine. I did, however, have to set the increment to +/- 3% because even then it's moving at 4-5% with each execution. But, 4-5% is just as good as 5% in my book, so now I'm off to trying to get global support keybinds with my media buttons. As I get them working correctly I'll post the code here, so anyone with an old Dell can copypasta it into their rc.xml
I'm trying so hard to switch from .conf to .xml and from nano/vi to gedit. I'm used to resorting to command line because I'm so bogged down with graphical bloat.


"Designed for Windows XP. Powered by #!"
Dell Inspiron E1505 | #! Statler | RAM: 3GB Swap: 3GB | 160GB HDD - boot|root|var|tmp|home partitions.
"LR Mobile"
Asus ROG G74SX | Archlinux : Win 8 | RAM: 8GB Swap: 4.5GB | 750GB HDD : 230GB SSD - boot|root|var|tmp|home partitions.

Offline

#11 2011-07-27 19:41:08

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: #! on a Dell Inspiron E1505

You can still use nano/vi if you prefer them smile

Offline

#12 2011-07-27 19:55:20

dev/censor
Member
From: Lemon Red
Registered: 2011-07-27
Posts: 18
Website

Re: #! on a Dell Inspiron E1505

oh, and I do for certain applications, but I'm enjoying the perks of a graphical environment that isn't running on 98% load.
Alright, so that's a bit of an exaggeration. I've haven't seen any cpu in anyone of my devices hit 98% since I made the switch to linux. Now, even with this old laptop, I rarely see either core hit 20% for more than 0.2-0.5 seconds.
I built this setup mainly as a terminal/workstation for my server, so I shouldn't see it jump much higher than that anyways.


"Designed for Windows XP. Powered by #!"
Dell Inspiron E1505 | #! Statler | RAM: 3GB Swap: 3GB | 160GB HDD - boot|root|var|tmp|home partitions.
"LR Mobile"
Asus ROG G74SX | Archlinux : Win 8 | RAM: 8GB Swap: 4.5GB | 750GB HDD : 230GB SSD - boot|root|var|tmp|home partitions.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo