You are not logged in.
I will look into that once I am at work again, where the wifi does not work. Or I could try my wired network at home tomorrow too.
The problem is that this is indeed a roadwarrior netbook. I take it everywhere, and I need to be able to connect everywhere. I am stuck in the office for the next 3 weeks, so I got 3 weeks to fix it 
It's as if the removal of NetworkManager screwed something up, or that wicd is expecting something to be somewhere. I cannot explain otherwise why my home wifi does work and others won't...
Again, thanks for the help!
Offline
The problem is that this is indeed a roadwarrior netbook.
wpagui. It's all in my thread. I don't even install ceni anymore, I just carry my /etc/network/interfaces and /etc/wpasupplicant/wpa-roam.conf files with me to new installs.
Offline
....I am stuck in the office for the next 3 weeks, so I got 3 weeks to fix it
...
--How dare that guy that snowpine interviewed with say LInux guys just f**k around at work with their Linux sh*t

Offline
Noob followup question: if scrotwm/spectrwm hangs, can I ctrl+alt+F1 and stop or restart the wm or x? If it does happen, I use shutdown -r now... (It happened again yesterday when VLC crashed on opening a file...)
That could work, but you will lose your running apps/work and sit through a reboot (something *nix should rarely do 
man tells us, under the "Signals" section, that sending s*wm the HUP signal will tell it to restart it (like its M-q shortcut). A simple
killall -s HUP scrotwm/spectrwm will do. Saving this as an alias like 'restart-s(crot/pectr)wm' makes light work of restoring normality without losing your running state 
Last edited by kbmonkey (2012-05-12 20:57:11)
Offline
ForkTong wrote:What on earth will I tinker with now? (At work. While compiling.)
DWM, of course. Or Xmonad.
Curse you. Got everything working and now that I'm comfortable with everything just the way it is, I cannot un-read this.
Offline
^ To make you appetite bigger:
Offline
I'm probably the newest addition to the Scrotwm/Spectrwm family. I always wanted to try out a tiling wm at least once in my life but never really had the need for it, or so I thought. Truth is, it just comes in pretty handy in many, if not the most "every day" situations and now I use it as my primary wm on my laptop (which runs a wheezy-ed Crunchbang Statler). It's pretty intuitive and easy to get the hang on without needing to learn lua, haskell, C or whatnot.
The only thing that gets a bit on my nerves is the "flickering" bar. Is there a solution for this besides compiling the latest version? I would rather like to maintain my wm through a package manager if it's possible. So ... downgrade to Scrotwm?
Offline
try to set bar_delay to 1 in your config file.
Offline
If bar_delay = 1 doesn't work (it didn't for me) try piping conky through dzen2. This has the added advantage that you can put conky on the right side of the status bar and use colors.
In .spectrwm.conf:
bar_action = /home/pidsley/.config/scrotwm/scrotbar.shIn scrotbar.sh (you will probably need to adjust the with and x values):
conky -d -c "$HOME/.config/conky/conkyrc-dzen2" | dzen2 -ta center -w 1400 -h 12 -x 150 -y 1 -fn -*-terminus-medium-*-*-*-*-*-*-*-*-*-*-* & and in conkyrc-dzen2 (a simple conky, configure to your liking):
out_to_x no
background no
out_to_console yes
update_interval 1
total_run_times 0
temperature_unit fahrenheit
TEXT
CPU:${cpu cpu0}% | RAM: $memperc% ($mem) | root: ${fs_used /} | home: ${fs_used /home} | ${time %l:%M %P %A %d %b} With colors it looks like:
^fg(green)CPU:${cpu cpu0}%^fg() | ^fg(cyan)RAM:${memperc}%^fg() ($mem/$memmax) | ^fg(cyan)root:${fs_used_perc /}%^fg() ${fs_used /} | ^fg(cyan)home:${fs_used_perc /home}%^fg() ${fs_used /home} | ^fg(green)${time %l:%M %P %A %d %b}Last edited by pidsley (2012-08-01 20:19:20)
Offline
While using i3, I configured my dmenu different from the default, using this code
exec dmenu_run -fn 'xft:Terminus:pixelsize=8' -nb '#000000' -nf '#9ac0cd' -sb '#000000' -sf '#d70a53' -p 'picklist >> 'I am trying to use that same code in my scrot config, but when I do so, it is not working. After I MOD +q, dmenu just does not work at all.
I'm on Statler, so my scrotwm version is 0.9.20
thanks
Offline
@dkeg
I couldn't get it to run either (spectre v2.0 on wheezy) until I put it in a bash script and called that as the menu.
in my .spectrwm.conf:
program [menu] = $HOME/bin/sdmenuEdit - the if I remove the the ">>" from your dmenu_run command, it will work in the .spectrwm.conf file.
Last edited by PackRat (2012-10-22 01:25:55)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
@dkeg
How about this....
Create a script with something like this in it and make sure it's in your path (eg:/home/bin) and executable. Name it hatever you want. Here we'll call it dmenu-bind.sh
#!/bin/sh
exe=`dmenu_path | dmenu -fn -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1 -nb '#666666' -nf '#cccccc' -sb '#cccccc' -sf '#666666'` && eval "exec $exe"Then in your spectrwm.conf use
program[menu] = dmenu-bind.shIf that works, then just go about modifying the script to however you want.
I'm currently on the latest spectrwm snapshot, but it did work on older scrotwm versions as well.
Last edited by gutterslob (2012-10-22 13:04:42)
Point & Squirt
Offline
@PackRat, thanks, I created the script and set my program[menu] as you stated . That did work. I first tried removing the >>, but that didn't make any difference.
@gutterslob, so yes, that is essentially what I ended up doing.
What did I take away from this? That I should not doubt myself and have faith in what I have learned here. I did think to myself, 'hmm, I wonder if it would work if I created a script for it.' Instead of trying it, I just thought nah,. It was probably b/c while switching from nitrogen to feh, I was getting annoyed b/c I couldn't get it to work. Ended up I forgot my wallpaper folder is plural, I left off the 's'. Don't you hate when that happens.
Anyway, thanks both of you. Appreciated.
Offline
i think i am missing something in the default spectrwm.conf
i have this line
# autorun = ws[1]:x-terminal-emulator
Which i understand to be the reason my terminal (terminator) always starts on workspace 1, how can i get rid of this behaviour so i can run it on any workspace i like? i know the line is commented, but that just means it is the default behaviour, right?
thanks for any tips.
Offline
^ Maybe remove this line. I used urxvt and it looked like this:
# spawn app
program[term] = urxvtcand then this line:
spawn_term = urxvtcI never used the autorun feature.
You have to apply it to terminator.
Last edited by ivanovnegro (2012-11-02 21:39:33)
Offline
Anyone know how to achieve a dwm-like bar --with all workspaces labels- in spectrwm?
Last edited by m5 (2012-11-23 14:57:02)
Keep digging.
Linux beginner.
Offline
~/.spectrwm.conf - requires spectrwm-2.1.1
# SpectrWM: ~/.spectrwm.conf - v2.1.1 (Nov 2012)
# window border width & colors
border_width = 1
color_focus = rgb:cc/cc/cc
color_unfocus = rgb:66/66/66
# focus mode
focus_mode = default
focus_close = previous
focus_close_wrap = 1
focus_default = last
spawn_position = next
# total number of workspaces (default = 10, max 22)
workspace_limit = 8
# disable status bar on selected workspace (disable = 0)
bar_enabled_ws[2] = 0
# bar settings (spacing for netbook sized display - adjust bar_format and conky accordingly)
bar_enabled = 1
bar_border[1] = rgb:cc/cc/cc
#bar_border_unfocus[1] = rgb:cc/66/66
bar_font_color[1] = rgb:cc/cc/cc
bar_color[1] = rgb:33/33/33
disable_border = 0
bar_border_width = 0
region_padding = 12
tile_gap = 12
#bar_at_bottom = 1
bar_font = -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1
#bar_font = -*-montecarlo-medium-r-normal-*-11-110-72-72-c-60-microsoft-cp1252
#bar_font = -*-montegohu-medium-r-normal-*-11-80-100-100-c-60-iso10646-1
bar_format = +N:+I +S+4<%a %b %d %R %Z %Y+5< +U+5<+A
bar_action = conky
#bar_delay = 1
stack_enabled = 1
clock_enabled = 1
#clock_format = %a %b %d %R %Z %Y
title_name_enabled = 0
title_class_enabled = 0
window_name_enabled = 0
verbose_layout = 0
urgent_enabled = 1
# spawn app (urxvtc requires urxvtd daemon)
program[term] = urxvtc
#program[screenshot_all] = screenshot.sh full
#program[screenshot_wind] = screenshot.sh window
#program[lock] = xlock
#program[initscr] = initscreen.sh
#program[menu] = dmenu_run -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_font_color -sf $bar_color
program[menu] = dmenu-bind.sh
spawn_term = urxvtc
# dialog box size ratio .3 >= r < 1
dialog_ratio = 0.6
# mod key, (Alt = Mod1, Super = Mod4, Apple/Command = Mod2)
modkey = Mod4
# key bindings (see man page for additional defaults)
#unbind with: bind[] = <keys>
bind[cycle_layout] = MOD+space
bind[stack_reset] = MOD+Shift+space
bind[master_shrink] = MOD+-
bind[master_grow] = MOD+=
bind[master_add] = MOD+comma
bind[master_del] = MOD+period
bind[stack_inc] = MOD+Shift+comma
bind[stack_dec] = MOD+Shift+period
bind[swap_main] = MOD+Return
bind[focus_next] = MOD+j
bind[focus_prev] = MOD+k
bind[swap_next] = MOD+Shift+j
bind[swap_prev] = MOD+Shift+k
bind[term] = MOD+Shift+Return
bind[menu] = MOD+p
bind[quit] = MOD+Shift+q
bind[restart] = MOD+q
bind[focus_main] = MOD+m
bind[ws_1] = MOD+1
bind[ws_2] = MOD+2
bind[ws_3] = MOD+3
bind[ws_4] = MOD+4
bind[ws_5] = MOD+5
bind[ws_6] = MOD+6
bind[ws_7] = MOD+7
bind[ws_8] = MOD+8
#bind[ws_9] = MOD+9
#bind[ws_10] = MOD+0
bind[ws_next] = Mod+Shift+Right
bind[ws_prev] = Mod+Shift+Left
#bind[screen_next] = MOD+Shift+Right
#bind[screen_prev] = MOD+Shift+Left
bind[mvws_1] = MOD+Shift+1
bind[mvws_2] = MOD+Shift+2
bind[mvws_3] = MOD+Shift+3
bind[mvws_4] = MOD+Shift+4
bind[mvws_5] = MOD+Shift+5
bind[mvws_6] = MOD+Shift+6
bind[mvws_7] = MOD+Shift+7
bind[mvws_8] = MOD+Shift+8
#bind[mvws_9] = MOD+Shift+9
#bind[mvws_10] = MOD+Shift+0
bind[bar_toggle] = MOD+Shift+b
bind[focus_next] = MOD+Tab
bind[focus_prev] = MOD+Shift+Tab
bind[wind_kill] = MOD+Shift+x
bind[wind_del] = MOD+x
#bind[screenshot_all] = MOD+s
#bind[screenshot_wind] = MOD+Shift+s
bind[float_toggle] = MOD+t
#bind[version] = MOD+Shift+v
#bind[lock] = MOD+Shift+Delete
#bind[initscr] = MOD+Shift+i
#autorun functions
#autorun = ws[1]:xsetroot -solid "#333333" &
#autorun = ws[1]:feh --bg-tile $HOME/images/wallpapers/tiles/dot-stripe-dark-1.png &
#autorun = ws[2]:urxvtc -e top
#autorun = ws[2]:urxvtc -e htop
# quirks - remove with: quirk[class:name] = NONE (see man page for more)
quirk[MPlayer:xv] = FLOAT + FULLSCREEN
#quirk[Thunar:thunar] = FLOAT + ANYWHERE
quirk[Gcolor2:gcolor2] = FLOAT + ANYWHERE
#quirk[Firefox-bin:firefox-bin] = FLOAT + FULLSCREEN
#quirk[Firefox:Dialog] = FLOAT
#quirk[Gimp:gimp] = FLOAT + ANYWHERE
quirk[XTerm:xterm] = XTERM_FONTADJ
#quirk[pcb:pcb] = FLOATLast edited by gutterslob (2013-02-28 12:10:23)
Point & Squirt
Offline
one of the most customised scrotwms i've seen yet. that's truly a marvel to behold. gutterslob strikes again.
in honour of Aaron H. Swartz,
make liberating JSTOR (and similar)'s database(s) of knowledge from behind paywalls your #1 priority,
and keep making the world a better place.
live up to what he lived for.
Offline
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.