SEARCH

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

You are not logged in.

#1 Re: Help & Support (Other) » is there an different applet for slelecting wifi connections? » 2015-07-20 00:16:49

Coffee: Most coffee brewed outside my kitchen tastes like thin mud.

Wifi: What about conky or someting shellish like this

/sbin/iwconfig wlan0 | awk -F "\"" '/ESSID/ { print $2 }'

(please adapt to your system)
to monitor and wpa_gui to change networks? I think it even has a systray icon, but I could be wrong.

#2 Re: Artwork & Screenshots » July 2015 Screenshot Thread » 2015-07-16 03:19:55

@Nili: Your colour scheme is gorgeous. Really.
The spacing in your bar, between the spectrwm info and the bar_action, is it a well placed static space or is there the possibility to include a dynamic space?

#3 Re: Help & Support (Stable) » [Resolved] Cannot get sound / audio to work » 2015-07-16 03:06:23

I think this is quite confusing at the moment and I did not get whether you changed your system to pure alsa or are still having pulse or fragments thereof installed (But that may as well be me and not the thread).

Before doing someting like manually compiling/installing/... drivers (which I cannot believe is necessary) I would first test the different audio outputs of your computer circumventing every configuration.

Looking at your output of

aplay -L

I would suggest you try to talk to the devices directly by using that information like so:

speaker-test -Dpulse -c2
speaker-test -Dplughw:CARD=SB -c2
speaker-test -dwateveryoufindthere -cN

...you should at one point listen to pink noise coming from your speakers regardless your configuration.

If not... something is not good (hardware?).
But if you hear something, you know that it can be configured with the tools at hand (alsa and/or pulse. You really only need jack for pro audio).

--------
Idle thoughts:

a) I just had a look at a quite fresh install of BunsenLabs (netinstall-alpha)  and had to unmute pulse and headphones in alsamixer (alsamixer views pulse as a sound card).

b) Your not-hdmi sound card seems to have an analog (probably the headphone jack) and a digital output... thinking...

#4 Re: Development » RELEASED: BunsenLabs 8.1 (Hydrogen) Live ISO 32 & 64 bit (alpha2) » 2015-07-15 00:41:49

My eeepc running the BunsenLabs netinstall script version (which is awesome) is happily lying on a shelf all day and seeding the 64 bit iso.
I haven't tried that one out yet but I will as soon as my brain permits.

#5 Re: Artwork & Screenshots » July 2015 Screenshot Thread » 2015-07-15 00:21:05

Colossal_Crunch wrote:

How does everyone pull up those terminals with all the system info and cool logos???  8.(

unfugr@debakel:~$ apt-cache policy screenfetch inxi
screenfetch:
  Installed: 3.6.5-1
  Candidate: 3.6.5-1
  Version table:
 *** 3.6.5-1 0
        500 http://debian.uni-duisburg-essen.de/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
inxi:
  Installed: 2.1.28-1
  Candidate: 2.1.28-1
  Version table:
 *** 2.1.28-1 0
        500 http://debian.uni-duisburg-essen.de/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status

...it's in the repos. Yay! smile


-----------------------------------------------


Playing around with DAWs. Today: Ardour3. Hmm... Could be a keeper. Up and running in no time.
(Although there is that one xrun and a little timing difference between ardour3 & hydrogen after jumping uselessly around, having not really configured anything and with the wlan active and the cpu governor not set to performance.)

Debian Jessie, spectrwm.

2015_07_15_013535_1920x1080_scrot.jpg
direct link

#6 Re: WM/DE Talk » The great #! forums DWM thread » 2015-07-11 09:00:00

It tells you that 'showsystray' is undeclared. That means somewhere this declaration is missing or has faulty syntax or ...
I am by no means fluent in c, but I think that somehow the patch is not functional or (and this is what I would guess) that it is written for a slightly different version of dwm.

Maybe you could try to apply the patch by hand?
I did it always like this when I was using dwm, just to know what went where and to doublecheck everything.

---
Edit: What HoaS writes. That is what I mean in less words and more precise.

#7 Re: Help & Support (Other) » Colour management tools for Linux? » 2015-07-09 07:27:17

I use these test images as a reference...

...and xrandr to adjust the gamma.

For example my ~/.xinitrc (I start X with startx) contains the line

xrandr --output eDP1 --gamma 1.175:1.212:1.277 &

Such a line would also work in ~/.config/openbox/autostart.

____
Use

xrandr -q

to get the name of your display.

xrandr --output whatever --gamma 1:1:1

would do nothing, numbers below 1 darken, above 1 brighten.

#8 Re: Ideas & Suggestions » Timesaver for a new script? » 2015-06-14 09:54:46

For me it is more an assistive technology than a timesaver.

Scenario a)
Idea.
open terminal
cd bin
vim lalala
"hmm... do I actually need bash or would dash suffice?"
write the first lines
realize that without syntax highlighting I am totally lost.
save and close
chmod +x lalala
vim lalala
"what the heck did I want to write?"

Scenario b)
Idea.
dmenu via keybind
type 'ne' (custom entry named new·script)
enter name
terminal with vim is open, syntax highlighting is active, first lines are written
write

#9 Re: Ideas & Suggestions » Timesaver for a new script? » 2015-06-12 23:43:26

:8
Erm... Like this it would ask for a name if none was given.
For spawning things I am too ... whatever in the head right now.

#!/bin/bash
##
# bl-script will make a new script in ~/bin, make it executable,
# then open it in the default gui text editor.
#
# Written by <damo> for BunsenLabs
# and shamelessly tinkered with by <unfugr>

BIN="$HOME/bin"

if [ $# -lt 1 ]; then
    echo "Please enter a name for your script:" 
    read scriptname
fi

if [ $# -lt 1 ]; then
    SNAME="$scriptname"
else
    SNAME="$1"
fi

FPATH="$BIN/$SNAME"

if type bl-text-editor &>/dev/null;then 
    EDITOR=$(readlink -f $(which bl-text-editor))
else
    EDITOR=xdg-open
fi

> "$FPATH"
echo "#!/bin/bash" > "$FPATH"
echo -e "##\n## $SNAME\n" >> "$FPATH"

chmod +x "$FPATH"

if [[ $EDITOR = "/usr/bin/geany" ]];then
    $EDITOR "$FPATH:5:1" &  # set cursor at last line
else
    $EDITOR "$FPATH" &
fi

exit 0

(I hope I am not too forward and I did not make any embarassing mistakes.)

#10 Re: Ideas & Suggestions » Timesaver for a new script? » 2015-06-12 21:50:37

This is absolutely awesome and I got used to it instantly.
Although I followed Sector11's idea and renenamed it 'blsh', because.

Suggestions:

a) Line 23:

-echo "#!/bin/bash" > "$FPATH"
+echo "#!/bin/bash -x" > "$FPATH"

... I like testing new scripts that way and see what I have actually done.
Maybe with something like

echo -e "## Please remove "-x" from line 1 as soon as you are satisfied with your script." >> "$FPATH"

in Line 25?

b) It would be überawesome and over the top if bl-script would ask for a name for the new script (and maybe spawn a terminal to do so), so it could be run from a menu or even by a shortcut. But that could be too much actually...
Now I want to do some reading how that could be done big_smile

:8

#11 Re: Artwork & Screenshots » June 2015 Screenshot Thread » 2015-06-11 19:05:52

Nili wrote:

^unfugr well done! Awesome cli setup.

I did the same with stable, used testing for almost 1 year and half , just after passed to sid lived only for 5 days, apt-listbugs didn't tell me about kernel 4.0.2 grave ext4 bug so i did some kernel upgrade and then welcome sda corruption mad therefore decided too try stable, i don't have time anymore for tests. Stable is great, no more daily update and dist-upgrade. Better safety with stable.

Thank you.  :8

Aw, what a bummer! sad
I count myself so lucky. I booted only once with 4.0 before switching the grub-controlling and daily used system to stable.
The funny thing is that now I tinker more because I feel I have to repair less.
(Although in fairness there was never too much to do.)

#12 Re: Help & Support (Beginners) » Crackly sound on jack using internal soundcard » 2015-06-05 09:53:52

Stock crunchbang waldorf uses Kernel 3.2someting.
If I remember correctly then doing pro audio things with a vanilla debian kernel and an internal audio device is not a setup that wins you a cake. It's like riding a bicycle on a motorway or something.

Is the linux-image-rt- still around for 3.2 ?
The realtime patches do help a lot.

As far as I know, L.P. built in a switch that shuts down pulseaudio if the jack server is started but I don't know if that switch is in the version in waldorf.

You really should not need more ram. 4gb is ... well... much.
Simplified: You need more ram to increase the number of audio tracks, everything else is cpu.

Are all power saving things off?

Do you have cpufrequtils installed (You really want the performance governor).
Search term: cpu frequency scaling

#13 Re: Artwork & Screenshots » June 2015 Screenshot Thread » 2015-06-04 19:42:16

Debian jessie, spectrwm, urxvt, tmux, vim.

I switched my main system to a stable one because I am too lazy and too easily annoyed for sid at the moment and my backlight somehow does not like anything above kernel 3.16 (10% brightness as the absolute minimum which burns my eyes out in the morning).

Left: Having a great time with dmenu.
Right: Things.

2015_06_04_191626_1920x1080_scrot.jpg
direct link

#14 Re: Help & Support (Beginners) » Startup programs » 2015-06-04 16:03:59

^this!

And:
In vanilla crunchbang the runlevels 2 3 4 and 5 do exactly the same (I have loooked it up having booted into the live iso and I hope I haven't misread something). 3 4 and 5 are so to speak free to be played with if you want to keep runlevel 2 vanilla(-ish) as a fallback solution.
How?

sudo update-rc.d <name of service a> disable 4
sudo update-rc.d <name of service b> disable 4
...

and then to switch runlevels:

sudo init 4

... and see what happens.
To go back:

sudo init 2

Now if you want to boot with your customized runlevel 4, you can do the following:
Open /etc/inittab with your favourite text editor using root privileges...

sudo nano /etc/inittab

...and change this (line 5 in my debian jessie)

# The default runlevel.
id:2:initdefault:

like so:

# The default runlevel.
id:4:initdefault:

This can easily be fixed from a live system if something goes totally pear-shaped.
Oh. And I would not recommend to play with runlevels S 0 1 and 6 for the time being as you can really mess things up there.
Read the comments in /etc/inittab, they explain why.
smile

________________
Sidenote: If you should want to try what happens when disabling slim (I don't say you should) I recommend to work outside of X because it will kill your openbox session.
You can always use

sudo update-rc.d <name-of-service> stop|start

to try something out temporarily.

#15 Re: Help & Support (Beginners) » Startup programs » 2015-06-03 00:29:06

Thank you, HoaS. smile
Yes, sometimes I miss some of the systemd commands, but then ... for me sysvinit is somehow simpler to understand.
I really don't know why I can't wrap my head around systemd.
----------------------

¹ Erm... I wrote partial bogus up there. 'K' does not mean that this service is ignored, but that it is stopped (if running) upon entering the runlevel. That can be a huge difference.
It was early in the day and I hadn't had any medication.  :8

#16 Re: Help & Support (Beginners) » Startup programs » 2015-06-02 09:17:27

I would recommend this for a quick&easy solution:

PackRat wrote:

Another good program to check programs run at startup is rcconf

sudo apt-get install rcconf

If you want to get your hands greasy this is another way of managing services with sysvinit (in debian and its derivatives):

who -r

tells you your current runlevel.
Example:

unfugr@debakel:~$ who -r
         run-level 2  2015-06-02 10:11                   last=S

tells me I am in runlevel 2 and the last runlevel before that was runlevel S.
Now I can do

unfugr@debakel:~$ ls -l /etc/rc2.d/
total 4
lrwxrwxrwx 1 root root  14 Mär 24 01:33 K01dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root  16 Mär 26 03:19 K01gdomap -> ../init.d/gdomap
-rw-r--r-- 1 root root 677 Apr  6 20:44 README
lrwxrwxrwx 1 root root  18 Mai 11 14:31 S01bootlogs -> ../init.d/bootlogs
lrwxrwxrwx 1 root root  17 Mai 21 11:54 S01hddtemp -> ../init.d/hddtemp
lrwxrwxrwx 1 root root  14 Mär 23 21:59 S01motd -> ../init.d/motd
lrwxrwxrwx 1 root root  18 Mai 11 14:31 S02rc.local -> ../init.d/rc.local
lrwxrwxrwx 1 root root  19 Mai 11 14:31 S02rmnologin -> ../init.d/rmnologin

Yay! they have a README. Read it. It is fun.

cat /etc/rc2.d/README
README wrote:

[...]To disable a service in this runlevel, rename its script in this
directory so that the new name begins with a 'K' and a two-digit
number, and run 'update-rc.d script defaults' to reorder the scripts
according to dependencies[...]

So: Everyting that starts with an 'S' gets run upon entering the runlevel, everything that starts with a 'K' is ignored¹.
Your list of services will probably be a bit longer than mine.

Another way instead of renaming

sudo mv /etc/rc2.d/S01annoyingservice /etc/rc2/K01annoyingservice

and running

sudo update-rc.d

afterwards as the readme tells us, is this (silly example):

root@debakel:/home/unfugr# update-rc.d motd disable 2
insserv: warning: current start runlevel(s) (1 3 4 5) of script `motd' overrides LSB defaults (1 2 3 4 5).
insserv: warning: current stop runlevel(s) (2) of script `motd' overrides LSB defaults (empty).

In waldorf you would run

sudo update-rc.d <name of service> disable|enable <number(s) of runlevel(s)>

More / deeper information:

man update-rc.d

I hope this is more helpful than confusing...

-----------------------------------------
Aftertought: If you are planning to switch to BunsenLabs as soon as it is ready (which will come with systemd by default) it is probably the easiest thing to install rcconf for the time being because all that I wrote will be obsolete then (except you want to switch BL back to sysvinit).
In standard BunsenLabs what damo wrote in post #2 will be the way to go.

#17 Re: Help & Support (Other) » [es ist gelöst] Any GTK theme gurus? » 2015-04-05 09:48:44

I'm no theme guru.
But this is what I do if I want to change a colour in a theme.

If my theme resides in /usr/share/themes I do

cp -r /usr/share/themes/my-theme ~/.themes/my-theme-custom

then

cd ~/.themes/my-theme-custom
grep -lr hexcode-of-colour-I-want-to-change-without-leading-#

...and I have a list with all files containig this colour.

More fun:

vim -p $(grep -lr hexcode-of-colour-I-want-to-change-without-leading-#)

and then search and replace.
...if you happen to use vim, but it should work with every editor that is able to open multiple files.

If the background in your theme happens to be an image file that is not defined by xml (you can edit *.svg or *.xpm in your text editor, but not *.png for example) ...well, you have to ask your resident gimp for help.

Still in your theme directory:

gimp $(find -name *.png)

...opens all *.png contained in your theme in gimp.

#18 Re: Off Topic / General Chat » Linux and malware? » 2015-03-24 12:30:38

^ That.
And: I think I remember that clamav / freshclam compares your installed version to the latest upstream version of clamav so it is a normal thing to get this warning if you are not running a bleeding edge distro. I once had this on sid a while back...
I could be totally and utterly wrong.

___________________
Edit:
What I meant to say with this: Clamav tells you everyting that could be worth knowing (includig your neighbour's cat's underwear size and so on...) and it is of great worth to read and research carefully what it tells you.

#19 Re: Artwork & Screenshots » November 2014 Screenshot Thread » 2014-11-10 13:11:06

Sector11 wrote:

I missed this totally ... Thank you.  Did you make it?

Sorry, I should have mentioned it; yes, I made it, inks and so on, it is no derivative.
There are still errors in it, but I am too lazy to correct them at the moment.

#20 Re: Artwork & Screenshots » November 2014 Screenshot Thread » 2014-11-07 21:53:48

Sector11 wrote:

and if unfugr's wall is a part of the wallpapers I'll love it.  big_smile

:8 Thank you.
http://postimg.org/image/qebpmvnvn/full/

#21 Re: Artwork & Screenshots » November 2014 Screenshot Thread » 2014-11-07 20:32:52

I sometimes wish I could focus on light backgrounds, but colourful Terminus on #101010 seems to be the only solution for me...
2014_11_07_205955_1920x1080_scrot.jpg
Debian unstable, dwm

#22 Re: Help & Support (Crunchbang 11 "Waldorf") » Intel Graphics Issues / Lenovo Z50-70 I'd love to stay on crunchbang.. » 2014-11-06 10:00:18

Stab in the (semi-)dark: Maybe try the backported version of xserver-xorg-video-intel?

#23 Re: Tips, Tricks & Scripts » Workaround: ~30s pause in boot process in sid/sysvinit » 2014-10-11 11:55:13

Thank you, twoion for mentioning this, I plainly forgot it in my original post. :8

#24 Re: Artwork & Screenshots » October 2014 Screenshot Thread » 2014-10-11 11:44:39

2014_10_11_123452_1920x1080_scrot.jpg

Debian sid, dwm, conky (cpu, mem, soundcard indicator, net, battery, date, time) in status bar.
Master:
urxvt/tmux: scrot / nano with dwm's config.h open / screenfetch-dev
Stack:
urxvt/tmux: moc / alsamixer (hidden window)
urxvt/tmux: wordgrinder
iceweasel

Totally cluttered to give an overview. I don't usually work like this. Or at least I use different tags.
Fontsize is that huge because it's a 14"/1920x1080 screen.

#25 Re: Tips, Tricks & Scripts » Workaround: ~30s pause in boot process in sid/sysvinit » 2014-10-10 22:12:13

unfugr@debilarium:~$ apt-cache policy popularity-contest 
popularity-contest:
  Installed: 1.61

Actually I really liked some of the workings of systemd, but I was kind of losing control of my system... Maybe I am too dumb to understand it or it is just too big or both or ... don't know.
Waiting for uselessd smile

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