Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Sep 2014, 02:42
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to activate keyboard volume controls?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Wed 14 Dec 2011, 13:46    Post subject:  How to activate keyboard volume controls?  

In every other distro i tried, i was able to control the volume from my keyboard by just pressing the appropriate volume keys. This does not seem to work in Puppy Linux. Is there a way to use my volume keys?
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 2478
Location: Bulgaria

PostPosted: Wed 14 Dec 2011, 14:14    Post subject:  

Try with 0 (Vol+) and 9 (Vol-).
_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Wed 14 Dec 2011, 15:00    Post subject:  

I tried pressing the 0 key on the numeric keypad as well as the 9 key, and nothing happened. i also tried 9 and 0 along the top of my keyboard as well. Am I missing something?
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 2478
Location: Bulgaria

PostPosted: Wed 14 Dec 2011, 16:15    Post subject:  

rmcellig wrote:
I tried pressing the 0 key on the numeric keypad as well as the 9 key, and nothing happened. i also tried 9 and 0 along the top of my keyboard as well. Am I missing something?

I use smplayer and those keys work for the volume. What is your media player?

Just checked Mplayer. Same as smplayer. 0 and 9 for Vol (+) and (-).

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Wed 14 Dec 2011, 17:42    Post subject: Re: Activating keyboard volume controls
Subject description: Using the volume controls on my keyboard
 

rmcellig wrote:
In every other distro i tried, i was able to control the volume from my keyboard by just pressing the appropriate volume keys. This does not seem to work in Puppy Linux. Is there a way to use my volume keys?


I guess you are using a laptop and I guess you are using JWM as your desktop, and I guess you are using Slacko or Lupu. Shame I have to guess Smile
If so, add this code to the bottom of the hidden file /root/.jwm/jwmrc-personal (open the file in a text editor such as Geany)

Code:
<Key keycode="160">exec:amixer sset Master toggle</Key>
<Key keycode="176">exec:amixer sset Master 1+,1+</Key>
<Key keycode="174">exec:amixer sset Master 1-,1-</Key>


Save and exit.

Select menu>shutdown>restart JWM, and volume keys should work.

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 2088
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Sun 25 Dec 2011, 19:14    Post subject: same consideration but for PrtSc  

I have the same problem with the key PrtSc

I would like to start the script «mtpaintsnapshot.sh» if I press it...
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 2088
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Sun 25 Dec 2011, 19:28    Post subject: what can we do useful with the in linux free key
Subject description: with the «windows» sign on it?
 

what can we do useful with the in linux free key with the «windows» sign on it?

a good thing would be

- open the full mixeur (as the volume adjustment in the bar don't works on earphone+deadbeef) or
- start a translator program (or translate.google.com in a new browser window like meebo in the puppies where meebo did can be started from the jwm menue, option what crashes now after the last changes in meebo, see line « <Program label="Meebo MSN/Yahoo/IRC chat" icon="chat16.xpm">meeboview</Program> » in .jwmrc! you have to change the url in the script /usr/local/bin/meeboview and introduce the new url « https://www.meebo.com/messenger ») or
- start Xsane or
- start / turn down recording of voice, noices or music
- start / turn down radio or tv (full or only sound)

as they can be repetitive jobs along the day with relatively high frequency depending of the kind of business...

perhaps with a script like menu.lst from grub where all this possibilities would be concerned and a «default» line would select like in menu.lst one of all selections. the user can change it according to his actual business...[/b]
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Mon 26 Dec 2011, 02:17    Post subject:  

Oui, are you using JWM?
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 2088
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Mon 26 Dec 2011, 04:40    Post subject:  

yes, of course !
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Mon 26 Dec 2011, 05:15    Post subject:  

ok, here is what you need to do: first, determine what key number JWM sees you key as. To do this, just open a terminal, and type the command
Code:
xev

This will bring up a box on the screen. Next, just press the key you want to use, and watch the output in the terminal. You are looking for the key number, which will be displayed in the group of text. The number will be something like '115' (on my system this is the number for the win key.)
Once you have found the key no, you need to tell JWM what to do with it. The command is added to the bottom of /root/.jwm/jwmrc-personal and the syntax should look like this:
Code:
<Key keycode="115">exec:chromium</Key>


The bit that says 'exec:chromium' is the command you want to use and can be anything from a program as here (chromium browser) to a full on script.
The lines must be added above the final </jwm> at the bottom of the file.
Once you have done your edit, save and exit, re-start jwm, and the keycode should be working.

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 2088
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Mon 26 Dec 2011, 05:39    Post subject:  

thank you best!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0661s ][ Queries: 11 (0.0061s) ][ GZIP on ]