LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-25-2011, 02:41 AM   #76
dh2k
Member
 
Registered: Jan 2006
Distribution: Slackware 13.0 (KDE 3.5.10 from 12.2; Xfce 4.6; Fluxbox); Slackware 13.1 (KDE 4.5)
Posts: 211

Original Poster
Rep: Reputation: 52

Quote:
Originally Posted by dh2k View Post
libaosd - on screen display tool.
http://slackbuilds.org/result/?search=libaosd&sv=
..
..

I will shortly update this with keybinds and in-line scripts I use.

*** UPDATED ***


I copy this script to '/usb/bin/'
http://findyourslack.awardspace.co.uk/scripts/aosd.sh
Code:
sudo cp /path/to/script/aosd.sh /usr/bin/aosd.sh
keybinded in '~/.fluxbox/keys'
Code:
# volume settings, use 'xev' in terminal to find keycode(s)
Mod4 21 :Exec aosd.sh volup     # <super>+<=> 
Mod4 20 :Exec aosd.sh voldown   # <super>+<-> NOT KEYPAD MINUS 
Mod4 19 :Exec aosd.sh mute      # <super>+<0> NOT KEYPAD ZERO, this is a mute toggle


If link above is not working then here is script code:
Code:
#!/bin/bash
#================================================================================
## mixer-osd
# Modified from the work of jelloir and slapfish on the CrunchBang
# Modified more by dh2k @ http://www.linuxquestions.org/questions/slackware-14/
# dholl2000 at gmail dot com
### 
#================================================================================

# Some user-defined values
MIXERNAME="Master" # The name of the amixer master device
GRANULARITY=32 # The approximate number of possible volume positions allowed
FONTSIZE=32 # The size of font used by the OSD display
MUTETOGGLE='muted'

# Pull the numerical limit from the Mixer
LIMIT=$(amixer get $MIXERNAME | grep "Limits" | awk '{print $5}')

# Set volume increment based on granularity
let VOLINC=LIMIT/GRANULARITY
let volmod=LIMIT%GRANULARITY
let threshold=GRANULARITY/2
if [ $volmod -gt $threshold ]; then
   let VOLINC=VOLINC+1
fi

# Command line handler
case $1 in

   volup) (amixer set $MIXERNAME $VOLINC+) ;;

   voldown) (amixer set $MIXERNAME $VOLINC-) ;;

   mute) (amixer set $MIXERNAME toggle) ;;

   *) 
      echo "Usage: $0 { volup | voldown | mute }"
      exit
      ;;

esac

# Detect mute status and set OSD color
MUTESTATUS=$(amixer get $MIXERNAME | grep "Left:" | awk '{print $7}' | tr -d '[]')

if [ $MUTESTATUS == "off" ]; then
   OSDCOLOR=red; else
   OSDCOLOR=green
   MUTETOGGLE=''
fi


# Create the "I" bar based on mixer setting and granularity
volset=$(amixer get $MIXERNAME | grep "Left:" | awk '{print $4}')

let volcounter=volset/$VOLINC
if [ $volcounter -gt $GRANULARITY ]; then
   volcounter=$GRANULARITY
fi

OSDI=""

while [ $volcounter -gt 0 ]
do
   OSDI=`echo $OSDI"I"`
   let volcounter=volcounter-1
done    

# Clean up any running aosd_cat processes
killall aosd_cat &> /dev/null

# Display the "I" bar  
# *** COMMENTED OUT AS TO LEAVE AS AN OPTION; 
# I PERSONALLY LESS IS MORE ;-)
#echo "$OSDI" | aosd_cat   -n "Sans $FONTSIZE" -u 1000 -o 200 -R $OSDCOLOR -S none -f 0 -y -10 &
#echo "$OSDI" | aosd_cat   -n "Sans $FONTSIZE" -u 250 -o 100 -R $OSDCOLOR -S none -f 0 -y -10 &
#vol=`amixer get $MIXERNAME | grep "Front Left:" | awk '{print $5}'`; 
#echo Vol $vol | aosd_cat   -n "Sans 16" -u 1000 -o 200 -R $OSDCOLOR -S none -f 0 -y -64

# NICE AND SIMPLE
vol=`amixer get $MIXERNAME | grep "Front Left:" | awk '{print $5}' | grep -oE "[[:digit:]]{1,}"`
echo volume: $vol% $MUTETOGGLE | aosd_cat   -n "Sans 16" -u 500 -o 100 -R $OSDCOLOR -S none -f 0 -y -64

# END

Last edited by dh2k; 04-25-2011 at 02:45 AM.
 
Old 05-19-2011, 03:50 AM   #77
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Some FLOSS pdf readers:
http://pdfreaders.org/
I'm currently using Zathura, because I've had xpdf crash a few times on some pdfs.
 
Old 05-19-2011, 01:58 PM   #78
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Am I missing something here because I still haven't read about freemind/xmind. If any of you guys use it I believe you would be able to list it as a 'gem' but it is not a small piece of software.
My only contention with freemind/xmind is these are based on jre - something I believe is a piece of half baked software (download freemind 8.0 and see how often it crashes). Freemind version 9.0 looks _very_ good.
Does anyone know about a mindmapping software that is based on C so that it does not crash that often?
 
Old 05-19-2011, 03:34 PM   #79
dh2k
Member
 
Registered: Jan 2006
Distribution: Slackware 13.0 (KDE 3.5.10 from 12.2; Xfce 4.6; Fluxbox); Slackware 13.1 (KDE 4.5)
Posts: 211

Original Poster
Rep: Reputation: 52
Just found myself a new audio-mixer for my lite-boxes:
rexima

console based audio mixer; is part of stock install in <ap>.
'xterm -e rexima' is now on my slack flux' boxes

Last edited by dh2k; 05-20-2011 at 03:26 AM.
 
Old 05-19-2011, 09:02 PM   #80
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
Quote:
Originally Posted by dh2k View Post
libaosd - on screen display tool.....
Code:
aosd_cat -i /path/to/text/file/to/display
thanx for this....

I'm running visualizations for mpd, using projectM-jack, and was toying with ways to get the song titles to display, hence

Code:
mpc | head =n 1 | aosd_cat -R white -n "dejavu sans 30"
works great in a loop, with keybindings, etc...

cheers,
 
Old 05-20-2011, 09:05 AM   #81
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Rep: Reputation: 47
Quote:
Originally Posted by SilverBack View Post
Am I missing something here because I still haven't read about freemind/xmind. If any of you guys use it I believe you would be able to list it as a 'gem' but it is not a small piece of software
I dropped mind mapping (used it for 2 years) ever since I found another way to process the ideas in my mind. Been using an ancient dos-era program called MaxThink, an idea processor which masquerades as an outliner.

Imagine having 6 styles of thinking built into a software: analysis, evaluation, synthesis, experimental, perceptual and managerial, plus some very creative brainstorming tools. What it does is to process the ideas on the screen, but reveals insight in the mind. No other commercial/FOSS program I tried could replicate the effect. Tried emacs-outliner, freemind and some other all-in-one outliners on windows platform.

Creator of the program is Neil Larson, pioneer of angle bracket hypertext jumps, later adopted by Netscape, Lynx and modern browsers. (wiki)

Best program I found after discovering slackware. Also using it to track hierarchy-based relationships (ie package dependencies) in slackware.

Last edited by linuxs64; 05-20-2011 at 09:13 AM.
 
Old 05-21-2011, 01:30 AM   #82
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
Found a great app for tracking sports activities and reading my garmin forerunner 305 gps-device:

Turtle Sports.
 
Old 05-21-2011, 09:04 AM   #83
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
A couple things I use that I don't think many people know about are Calibre and AcetoneISO.

Calibre converts pdf files into ebook formats for various readers like Kindle or Nook, with a lot of customization options.
AcetoneISO is an excellent disc image handler, able to create proper PSX images for those of us who play ps emulators, and with a lot of other handy disc image tools and options.
 
Old 05-22-2011, 08:13 AM   #84
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Hmm ... I forgot to mention GNU Parallel, which is like xargs on steroids.
 
Old 05-22-2011, 03:48 PM   #85
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
@linuxs64 well downloaded the latest version... did not run on wine1.2.3. Read somewhere that you need to run it in a dosbox so will try and install dosbox and see how it goes.
Also read in a couple of blogs that the newer versions are not at parvwith the older versions. Seems like the best version was 1.70 but could not find _any_ older versions on the net.
Any pointers would be appericiated. Afterall if someone says there is something better than freemind I _have_ to look at it atleast .
 
Old 05-24-2011, 05:00 AM   #86
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
I dont know how many people using Slackware know about it, i dont think its little known in general, but reading about rexima, reminded me of remmina which is very decent and generally lightweight remote desktop client.
 
Old 05-24-2011, 06:00 AM   #87
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by sahko View Post
I dont know how many people using Slackware know about it, i dont think its little known in general, but reading about rexima, reminded me of remmina which is very decent and generally lightweight remote desktop client.
Two thumbs up here!!!

I use remmina for VNC, XDMCP, and RDP. The Xfce plugin allows me to right-click on the icon and quickly choose a saved connection.
 
Old 06-10-2011, 04:12 AM   #88
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
epdfview:
http://trac.emma-soft.com/epdfview/
 
Old 06-10-2011, 12:53 PM   #89
unclejed613
Member
 
Registered: Mar 2009
Posts: 352

Rep: Reputation: 32
xman...... discovered kind of by accident, but it's a manpage viewer for x. it also shows a listing of all available manpages (so you don't waste time typing "man xyz" and getting "xyz manpage does not exist" errors).
 
Old 06-10-2011, 02:29 PM   #90
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
For a change, I'll ask a question - what is your favourite DE independent basic photo viewer? No fancy features required - just to display photos in common formats.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gems update divyashree Linux - Newbie 0 01-10-2011 12:35 AM
LXer: FOSS Gems Sparkle in the Summer Sun LXer Syndicated Linux News 0 05-28-2009 03:10 PM
Hidden Linux/GNU/Bash gems for the self learner? randomsel Linux - General 1 06-26-2008 06:34 PM
Trying to install Ruby gems with setup.rb - how to make it run Bartee Linux - Newbie 2 12-24-2007 01:49 PM
LXer: Gems aims to make large-scale Gentoo Linux management easier LXer Syndicated Linux News 0 08-03-2006 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration