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

You are not logged in.

#1 Re: Tips, Tricks & Scripts » [script] get-youtubedl: download recent youtube-dl versions securely » 2015-10-02 12:31:33

Thanks for the nice script twoion - it worked okay here without trouble :-)

#2 Re: Artwork & Screenshots » September 2015 Screenshot Thread » 2015-09-19 13:48:50

pingu wrote:

it's been said before, but really cool. Great music also. CB is  one of my favorite singers, just after Mireille Delunsch.

Thanks pingu :-)

#3 Re: Artwork & Screenshots » September 2015 Screenshot Thread » 2015-09-18 06:55:03

packrat,ohnonot: Thanks guys

Oh dear God, you're right - I've been spelling Celsius wrong my whole life :-)

With the music player, you are looking at 3 urxvt terminals. The first is just a standard ncmpcpp in playlist mode, the second is ncmpcpp in visualizer mode, and the third is a perl script of my own which displays a progress/status bar for MPD. All 3 urxvt are embedded within a single instance of FvwmButtons, a configurable kind of panel that allows you to embed text, images, and other programs within a single window. Lastly, an external coverart script sometimes reminds FvwmButtons to update the album art.

#5 Re: Help & Support (Crunchbang 11 "Waldorf") » Looking for minimalist player for AAC radio streams... » 2015-03-23 20:26:45

ohnonot wrote:

i play aac streams with moc aka mocp.

Yes, indeed - it only seems to use about 8MB. That said, I am hoping for a simpler tool to use within a script. I already use ncmpcpp for music playlists, but want to write my own script to do the radio streams.

pvsage wrote:

My gut instinct is that decoding AAC simply requires that much more processing power than decoding mp3.

If I decode an aac file with faad, it only uses 700KiB of memory. But faad will only decode from a file though, not from stdin. So I feel sure that if an aac123 existed, then its memory footprint would be small. But until an aac123 is written, my options will remain limited.

Thanks for your comments guys.

#6 Help & Support (Crunchbang 11 "Waldorf") » Looking for minimalist player for AAC radio streams... » 2015-03-23 10:15:04

Replies: 8

If I play an MP3 radio stream with mpg123, then it uses memory of only about 1.5Mb.

$ mpg123 -@

Whereas if I want to play an AAC radio stream, the simple tools I know of are ffplay, mpv + mplayer etc. But they each use memory of 20Mb+.

$ mpv --no-ytdl --really-quiet
$ ffplay -loglevel -8 -nodisp  -i

So I wonder is if there is a simpler way to play an AAC radio stream? A way that uses much less than 20Mb memory?

Thanks for the help!

#7 Re: Tips, Tricks & Scripts » Some wasted space on window borders » 2015-01-12 00:31:10

I have done that in the past with devilspie - modifies the properties of newly created windows. gdevilspie is a nice gui with which you can set it up with. And I am sure other ways exist too.

sudo apt-get install gdevilspie devilspie

#8 Re: Artwork & Screenshots » January 2015 Screenshot Thread » 2015-01-07 09:43:01

PackRat wrote:

suitable for any machine  8o

Agreed. +1 for FVWM.


#9 Re: Tips, Tricks & Scripts » Set the default ALSA card interactively with Asoundconf » 2014-11-17 01:40:54

Alad wrote:

Wrote a replacement, as asoundconf is bloat. Just run defsound default, and select the right card.

Thanks Alad, defsound worked okay for me, and programs like mplayer and mpv now work fine. But what is the best way to make that alsa default setting system-wide rather than just for the current user?

On my system, mpd is a system daemon which runs as user "mpd". Yet user "mpd" isn't typically setup with login rights or a home folder. So running defsound as my normal user fixed sound for everything except mpd. Of course, I did get mpd going after editing /etc/mpd.conf. Even so, setting a systemwide alsa default would be simpler for me in the future.

#10 Re: Tips, Tricks & Scripts » Script: What Have I Installed So Far? » 2014-11-09 06:23:14

A useful script for my toolkit. But I have redone it as a function for my /root/.bash_aliases.

 debhist()  { zgrep -h '\ install\ ' /var/log/dpkg.log* | sort -n | cut -d $' ' -f 1,2,4 | sed -r 's/:[0-9a-z]+$//' | column -t ; }
## To view installed debs by date
debhist | less

#11 Re: Tips, Tricks & Scripts » Bash aliases - and what they do » 2014-09-23 12:53:48

@twoion @Sector11 : You are most welcome. I wrote mtoc() after having tried to read the 8411 line fvwm manpage :-/

#12 Re: Tips, Tricks & Scripts » Bash aliases - and what they do » 2014-09-23 11:07:03

Sometimes with a big manpage, I wish I could see its table of contents. So I use this mtoc function to generate a manpage's table of contents...

mtoc() { man --ascii "$1" 2>/dev/null | awk '
            BEGIN { a[""]++ }
            /^\s{0,4}\S/ && !($0 in a) { a[$0]++ ; b[i++]=$0 }
            END { for (j=0 ; j<i ; j++) print b[j] } '

#13 Re: Tips, Tricks & Scripts » [mutt] fix corrupted mbox file » 2014-06-21 09:38:10

twoion wrote:

First time I've heard about this: Turns out is a much more powerful utility for munging mailboxes – thank you very much.

You're most welcome!

#14 Re: Tips, Tricks & Scripts » [mutt] fix corrupted mbox file » 2014-06-21 03:23:25

I too had to fix a corrupted mbox file recently. I used the formail utility from the procmail package to help reformat the mbox file.

$ formail -s <input.mbox >output.mbox

#15 Re: Artwork & Screenshots » June 2014 Screenshot Thread » 2014-06-05 22:38:05

PackRat wrote:
daggoth wrote:

My current desktop. More details here.

that is nice; going to have to take a look at the configs.

Thanks. And I like your sreenshots a lot too. But since you're looking at the configs... 

The coverart on ncmpcpp is a feh image viewer on the top layer. Such that if ncmpcpp was moved, then it would look wrong. But move, resize, maximize, iconify could be disabled in the fvwm config if I needed.

The histogram is just a perl script - shows downloading for the last hour. But the histogram uses 6p bitmap fixed, whereas the labeled axis is in 14p. So the labeled axis is actually a separate image, and the two are contained in an FvwmButtons.

#17 Re: Tips, Tricks & Scripts » Slim configuration for #! November 2011 » 2014-04-09 13:59:53

mike green wrote:

Hi folks, I have two window managers installed, openbox and i3. F1 used to work as expected to cycle through the window managers at login, but now it no longer does anything at all. Anyone any ideas why this might be?

This is more an observation than a solution. My distro is synced to "testing" rather than "stable" repos. And recently, a package upgrade for slim slightly changed the format of /etc/slim.conf. Such that before, your windows managers were listed in the conf file like this...

sessions    startxfce4,openbox,fvwm

Whereas now, that line in the conf has changed to just point to a folder that contains the same info, like this...

# Set directory that contains the xsessions.
# slim reads xsesion from this directory, and be able to select.
sessiondir            /usr/share/xsessions/

If this is your problem, then perhaps check that /usr/share/xsessions contains the files that slim expects to find there.

#18 Re: Artwork & Screenshots » March 2014 Screenshot Thread » 2014-03-19 05:55:10

cra1g321 wrote:
TeoBigusGeekus wrote:

A few changes here and there:

Why would choose to screenshot your desktop, clearly showing you are sharing copyrighted content, e.g. Movies ??  roll

Before my last scrot, I did once query the unixporn moderators as to whether there were any policies there against having torrent clients sharing stuff in screenshots. But they basically said no, go for it. So now I ask the #! forum mods, are there any policies here against torrent clients in scrots?

I myself am particularly drawn to scrots that feature a nicely modded torrent client doing its thing.

#19 Re: Tips, Tricks & Scripts » App of the day - gdmap » 2014-01-19 22:03:54

+1 for your good taste in music ^^^. "The Songs of Distant Earth" was a great album...

#20 Re: Help & Support (Testing/Unstable) » DBus error: failed to connect to socket 'system_bus_socket' » 2013-11-20 10:14:59

I have the same bug with the same error in the Slim log. Although its only happened to me twice so far. This bug_report looks promising. They have basically suggested that dbus isn't up and running when slim starts, causing a fail.  Anyway, if the bug occurs here more frequently, then I'll try out his suggested bugfix...

I am running Crunchbang synced to the testing repos.

#21 Re: Artwork & Screenshots » November 2013 Screenshot Thread » 2013-11-02 12:56:16

rstrcogburn wrote:

Cog tips his hat... yessir.
Hop in the FVWM thread and share the goodness of that config.

Glad you liked it :-)

Gonna work on the .fvwmrc for a while before I post it to that thread though. Like Debian, it's ready when it's ready...

#22 Re: Artwork & Screenshots » November 2013 Screenshot Thread » 2013-11-02 01:54:48

dgz wrote:

@daggoth, i really like this

Kind words :-) I am also a fan of your screenshots - a great painting can make for a stylish wallpaper.

#24 Re: Feedback & Suggestions » How we moderate your forum - feedback encouraged » 2013-09-02 07:01:36

I'm not a frequent poster, but I do lurk here often- typically in the screenshots thread.

I do basically agree with bobobex's guidelines - it is common sense stuff for most people. And I believe the current moderators do a good job. So there is no obvious need for big changes.

Indeed the sentiment here is mostly friendly. On other forums, I am sometimes bugged by the prevalent rtfm culture - tactless. But the crunchforums have somehow manage to cultivate a gentler approach.  So y'all must be doing something right...

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.
Server: acrobat

Debian Logo