You are not logged in.
I have been trying to find a way to get a background image, and is something like this the best way?
feh --bg-scale /path/to/imageAlso, I can't seem to get conky working with the bar. I have changed baraction to equal conky and changed my conky to this, but I can't seem to get it working.
out_to_x no
out_to_console yes
update_interval 1.0
total_run_times 0
use_spacer none
TEXT
${time %R %a,%d-%#b-%y} |Mail:${new_mails} |Up:${uptime_short} |Temp:${acpitemp}C |Batt:${battery_short} |${addr wlan0} |RAM:$memperc% |CPU:${cpu}% | ${downspeedf wlan0}Also, is there an easy way to get something like stalonetray working? I already have it quirked to float, but is there a better way? Sorry for all the questions, but thanks in advance if you take the time to answer them 
Last edited by steampunknyanja (2011-09-02 03:10:00)
Offline
Have you checked this thread yet?
http://crunchbanglinux.org/forums/topic … h-scrotwm/
I think all your queries should have been answered there already.
With regards to the background, it depends on how you're starting ScrotWM. If you're using Crunchbang and rely on GDM, you'll need to create a start script and edit the Scrotwm.desktop file in your /usr/share/xsessions to have it point to the script. I believe there's a post in the thread I linked to (by Gazhole, iirc) that has the details. If you're using the more traditional startx method, then all you need to do is add "feh --bg-scale /path/to/image &" to your .xinitrc
With regards to piping conky, please note that "bar_action = conky" will only look for a ~/.conkyrc. If your conky config is in a different location, then you have to "bar_action = path/to/conkyrc"
Here's my ~/.conkyrc
# Conky configuration for ScrotWM Bar
##############################################
# Settings
##############################################
out_to_x no
background no
out_to_console yes
update_interval 1
total_run_times 0
use_spacer none
TEXT
Kernel - $kernel Processor - ${cpu cpu0}.00% Memory - ${memperc}.00% Swap - ${swapperc}.00% Root - ${fs_used_perc /}.00% Home - ${fs_used_perc /home}.00% Temperature - ${hwmon 1 temp 1}'C Uploads - ${upspeedf eth0}kb/s Downloads - ${downspeedf eth0}kb/sNote the the part below "TEXT" is a 1-liner. You can't pipe more than one line. Only other difference I see is my inclusion of "background no", not I'm not sure if that has any effect or not.
I don't run a tray since I don't have applets, so I can't help with stalonetray, though that thread I linked to above has some members discussing it.
Cheers~
Last edited by gutterslob (2011-09-02 00:11:29)
Point & Squirt
Offline
Thank you, this is really helpful. I'll try these out.
Offline
So far, Iv'e gotten the background working, but I can't seem to get conky working. This is my .scrotwm.conf
color_focus = red
color_unfocus = rgb:88/88/88
# bar settings
bar_enabled = 1
bar_border[1] = rgb:00/80/80
bar_color[1] = black
bar_font_color[1] = rgb:a0/a0/a0
bar_font = -*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*
bar_action = conky
stack_enabled = 1
clock_enabled = 1
title_name_enabled = 0
title_class_enabled = 0
spawn_term = x-terminal-emulator
dialog_ratio = 0.6
modkey = Mod4
bind[cycle_layout] = MOD+slash
bind[stack_reset] = MOD+Shift+slash
bind[menu] = MOD+space
quirk[Gimp:gimp] = FLOAT + ANYWHERE
quirk[stalonetray:stalonetray] = FLOAT + ANYWHERE
quirk[net-minecraft-MinecraftLauncher:sun-awt-X11-XFramePeer] = FLOAT + ANYWHERELast edited by steampunknyanja (2011-09-02 01:49:01)
Offline
Please use code tags, not quote. ^^^
"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."
- TF2 Soldier
Offline
@steampunk
Is the bar flickering?
First, add the line
bar_delay = 2to your .scrotwm.conf
if still no luck;
Just to be sure, you conky config is ~/.conkyrc right?
Does it work if you do this:
bar_action = /home/<yourusername>/.conkyrcReplace <yourusername> with your own, obviously.
Also, what version of ScrotWM are you using? Is it the one installed via apt-get/synaptic (I assume you're on CrunchBang) or did you grab the latest snapshot and install manually from source?
If it still doesn't work, try adding "background no" to your conky (or just replace it entirely with the one I posted above) and see if it works.
Lastly, since you already have the time displayed in your conky, you might as well set "clock_enabled = 0" in the scrotwm.conf (no point having 2 clocks).
Last edited by gutterslob (2011-09-02 01:46:42)
Point & Squirt
Offline
Please use code tags, not quote. ^^^
Sorry, I didn't even know about those. I fixed my original posts.
@steampunk
Is the bar flickering?
No, just the same as it was without conky at all
Just to be sure, you conky config is ~/.conkyrc right?
Does it work if you do this:bar_action = /home/<yourusername>/.conkyrcReplace <yourusername> with your own, obviously.
I am sure it is ~/.conkyrc, and /home/<username>/.conkyrc also didn't work 
Also, what version of ScrotWM are you using? Is it the one installed via apt-get/synaptic (I assume you're on CrunchBang) or did you grab the latest snapshot and install manually from source?
yes, I am on crunchbang, and I used apt-get to install scrotwm
If it still doesn't work, try adding "background no" to your conky (or just replace it entirely with the one I posted above) and see if it works.
I copied the one you posted, and although it runs in the terminal, it does not show up on the bar.
Lastly, since you already have the time displayed in your conky, you might as well set "clock_enabled = 0" in the scrotwm.conf (no point having 2 clocks).
Done, but for now I am without any clock
Thank you for your help, I'm just wondering what I could have done wrong.
Also, how do I set up a keybind to change the volume?
EDIT: I just ran conky from the dmenu, and now it is showing in the bar. This probably means something is wrong with my start up script:
nm-applet &
xfce-power-manager &
conky &
sleep .2
scrotwmHave I started conky too soon?
Last edited by steampunknyanja (2011-09-02 02:07:23)
Offline
psyco430404 wrote:Please use code tags, not quote. ^^^
Sorry, I didn't even know about those. I fixed my original posts.
Its not a big deal, im just running on a smallish monitor and it was a pretty big block xD.
"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."
- TF2 Soldier
Offline
/snip/
Its not a big deal, im just running on a smallish monitor and it was a pretty big block xD.
I'm glad you told me 
Offline
@steampunk
I edited that prior post and added one bit about setting the bar_delay in your .scrotwm.conf.
Did you try that yet?
Last edited by gutterslob (2011-09-02 02:05:39)
Point & Squirt
Offline
@steampunk
I edited that prior post and added one bit about setting the bar_delay in your .scrotwm.conf.
Did you try that yet?
Yes, also I edited my post referring to that, look near the end, I had conky working in a fashion and think the problem is with my startup script
Offline
Aah, remove conky from the startup script. Then quit scrotwm (Mod + Shift +Q) and then log back in again.
You only need conky to be specified in the scrotwm.conf if you're piping to the bar.
Last edited by gutterslob (2011-09-02 02:18:33)
Point & Squirt
Offline
Also, is there an easy way to get something like stalonetray working? I already have it quirked to float, but is there a better way? Sorry for all the questions, but thanks in advance if you take the time to answer them
I used tint2 as a system tray and did the following:
1. Set it up as a quirk so it floats
2. Assigned it to a key binding instead of having it run at start-up (just tint2, the applets need to be running)
When I needed it, I would start it up then shut it down when I was done so it wasn't in the way. Not really convenient, but functional. Unfortunately, I don't think you can have an app. start on a particular workspace in scrotwm.
For volume control you should be able to bind the commands:
amixer sset Master,0 1+amixer sset Master,0 1-amixer sset Master,0 toggleto keys to raise, lower or mute the volume.
Will look something like:
program[VolumeUp] = amixer sset Master,0 1+
bind[VolumeUp] = XF86AudioRaiseVolumeLast edited by PackRat (2011-09-02 02:27:39)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
If you're only using the tray for Network Manager's applet, you could try nmcli which is included, provided you're using network-manager 0.8.1 or later (I'm not sure what version is included with Crunchbang Statler).
Here's the first page googling led me to:
http://askubuntu.com/questions/1820/can … y-dock-bar
Then I searched for the man page:
http://www.linuxcertif.com/man/1/nmcli/
I can't help you with the exact command since I don't use NM (I use wicd on Debian and netcfg on Arch), but the syntax seems simple enough for most people to figure out. Once you've got the correct command sorted and you've confirmed your connection works, just add the line to your startup script. Not quite sure how you'll handle roaming, though....
Last edited by gutterslob (2011-09-02 02:40:18)
Point & Squirt
Offline
Aah, remove conky from the startup script. Then quit scrotwm (Mod + Shift +Q) and then log back in again.
I probably should have put that in the OP.
It didn't work, still nothing in that bar.
ED: But generalizing what we changed to /home/<username>/.conkyrc to conky again works. Thank you so much!
If you're only using the tray for Network Manager's applet
/snip/
Nah, I'm actually using it for pidgin, but I think I am going to switch to something either more lightweight or cli anyway (finch maybe(?)) I'll look into nmcli anyway, seems useful for this.
Last edited by steampunknyanja (2011-09-02 02:33:35)
Offline
/snip/
amixer sset Master,0 1+amixer sset Master,0 1-amixer sset Master,0 toggleto keys to raise, lower or mute the volume.
Will look something like:
program[VolumeUp] = amixer sset Master,0 1+ bind[VolumeUp] = XF86AudioRaiseVolume
Thank you, this worked beautifully 
Offline
^Good to know. Now have fun playing with your scrotum 
Now that you've got it working, make sure to mark the thread title with [SOLVED].
Regarding a cli alternative to Pidgin, it depends on what protocol you employ. I only use Google Talk (Jabber), so I prefer Mcabber. Takes a bit of getting use to, tbh, and although you don't get a flashing applet, you can do a little scripting (basically just creating a script that plays a .wav file of your choice and have a line in the mcabber config file point to it) to have it play a sound on incoming messages, but this is probably a question for a separate thread.
Last edited by gutterslob (2011-09-02 02:51:15)
Point & Squirt
Offline
^Good to know. Now have fun playing with your scrotum
Now I imagine it's gonna be hard to explain what my window manager is to the outside now 
Now that you've got it working, make sure to mark the thread title with [SOLVED].
will do
Regarding a cli alternative to Pidgin, /snip/ but this is probably a question for a separate thread.
I am starting to wonder which im client anyone uses.
Again, Thank you so much, again and again I am just amazed by people like you in this community. I bet the acronym RTFM never even crossed your mind 
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.