You are not logged in.
@aaro
Not currently, at least on the version you pick up from the Debian repos.
The only way you can preserve the position of floated windows is to float them with the mouse (Mod + M1 in default ScrotWM). If you use the Mod + T binding, they'll get reset to the center of the screen as soon as you switch workspaces.
Haven't quite tested that function (I hardly float) on newer versions from CVS. Recently rolled back to the one from Debian cos I got segfaulting in the latest build. Marco (the dev) did mention incorporating some form of floating memory, though I can't confirm which version has it. I'll update this post if/when I get round to synching with the CVS builds again.
Last edited by gutterslob (2011-06-22 13:12:00)
Point & Squirt
Offline
^ All right pal, thanks for the info.
- closed account - gone to better places -
Offline
Hi guys. Just started testing scrotwm. Have a noob question. When i set some windows to float in a workspace, put them in some position, when i switch workspace and get back, all the float windows are moved from the position i left them to the center of the screen. Can this be modified so the floating windows keep their position after a workspace switch?
I can only say that I've had the same experience but don't know how to change that or even if it's possible to change.
Offline
I tried using this color value in ScrotWM but the color was wrong.
rgb:83/93/108Somehow I figured out that ScrotWM cannot accept values with three digits so the color I was seeing was 83/93/10. I want to report this bug but is scrotwm in active development? The bug tracker doesn't seem active at least.
BTW does anyone know if its possible to display the time on the very right-side of the bar?
Well I finally solved this issue at the Arch forums. I was entering RGB values (83/93/108) instead of the hex value (53/5D/6C). I'm not used to seperating my hex colors with slashes though.
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Sorry bout that @anon.
I had assumed you already overcame the issue after @replicant's reply. Would've commented sooner if I had known.
Yes, ScrotWM doesn't recognize RGB values. It just uses split Hex values for some reason.
Point & Squirt
Offline
Those of you who sync with CVS or install the latest ScrotWM snapshots from source (or AUR) will notice a couple of new builds out in the wild. It now includes an Autorun function that can be configured to launch applications in specific workspaces (anon wanted this, iirc). I haven't personally tried it yet as I'll be stuck in a hotel room with only my netbook for the next 48 hrs and don't wanna bork anything, but the man pages should be updated with info on how to use the Autorun functions. Seems the code's been cleaned up a bit as well.
Achtung!!
Avoid 0.9.31 as it seems to suffer from the same segfault problems that 0.9.30 introduced. Go straight to 0.9.32.
http://opensource.conformal.com/snapsho … 0.9.32.tgz
Edit:
0.9.34 came out a couple of weeks ago.
https://opensource.conformal.com/snapsh … 0.9.34.tgz
Last edited by gutterslob (2011-08-31 01:30:23)
Point & Squirt
Offline
I have the basic setup installed, and im messing around with some conky things, but is there an easy way to get a tray working in this? I only use three things in the tray (nm-applet, clipper, volwheel).
Theres no startup file, is there? Could i add those things to the login manager config for #! ?
I would make a .xsessionrc in my ~/ folder. That should work with GDM.
Offline
Those of you who sync with CVS or install the latest ScrotWM snapshots from source (or AUR) will notice a couple of new builds out in the wild. It now includes an Autorun function that can be configured to launch applications in specific workspaces (anon wanted this, iirc). I haven't personally tried it yet as I'll be stuck in a hotel room with only my netbook for the next 48 hrs and don't wanna bork anything, but the man pages should be updated with info on how to use the Autorun functions. Seems the code's been cleaned up a bit as well.
Achtung!!
Avoid 0.9.31 as it seems to suffer from the same segfault problems that 0.9.30 introduced. Go straight to 0.9.32.
http://opensource.conformal.com/snapsho … 0.9.32.tgzEdit:
0.9.34 came out a couple of weeks ago.
https://opensource.conformal.com/snapsh … 0.9.34.tgz
Have you (or anyone else) tried the autorun funtion yet? I couldn't find documentation for configuring it either. I'm using 0.9.34.
Last edited by PackRat (2011-09-24 16:06:14)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
I have, but just for a couple of simple apps. Seemed to work fine, though I don't really use them any longer.
Eg:
autorun = ws[4]:urxvtc -e weechat-curses
autorun = ws[3]:urxvtc -e ncmpcppWould launch the urxvt client (I have the urxvtd daemon load at startup) running weechat irc on workspace 4 and ncmpcpp music player on workspace 3.
Last edited by gutterslob (2011-09-24 16:54:10)
Point & Squirt
Offline
Thanks, worked perfectly. Now I just have to decide what to autorun at login.
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
So, is anybody having problems with consolekit and dbus (dunno which one is reponsible for automounting) and scrotwm without a display manager. Following the examples on the forum, I've stopped GDM and added this to .xinitrc
#!/bin/sh
nitrogen --restore &
xsetroot -cursor_name left_ptr
exec ck-launch-session scrotwmand no .automount. as I see in htop, consolekit daemon is running, as is dbus. Do I need to make .xinitrc exacutable or something?
Offline
Has anyone tried to pull information from top and use it in the status bar?
I have this in a bash script:
cpuperc=`top -n1 -d0.1 | grep "Cpu(s)" | awk '{print $2}' | cut -c1,2,3,4 | tail -n1`the information will show in a terminal, but does not show up in the scrotwm status bar.
An alternative would be to get the CPU% from some other command and not use top if anyone knows a way to do that.
Edit -- Solved
Re-discovered the iostat and dstat commands; not installed by default in Debian Wheezy, need the sysstat package for iostat.
Last edited by PackRat (2011-09-27 16:50:47)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
I recently installed Scrotwm and am tooling around with it. I've tried many tiling wm's, and a lot have either seemed like to much of a DE or have unnecessarily difficult config files. I was thinking of just sticking with Openbox and installing pytyle, but I really want to learn a tiling wm.
One question that I do have though, does Scrot have a native right-click menu tucked away anywhere? I know there's dmenu, which is great, but I'm so used to having a nice little menu and right-click. I'm guessing there isn't, but I thought I would ask anyways.
Also, is the only way to get apps to autostart is .desktop and .sh file, or is there a simpler way that someone has come up with? If not, would someone please let me know where to put the .desktop file? Gazhole was kind enough to post his config files for us in post #19, but I'm a little unsure of the .desktop.
Thanks.
We are a nice, friendly community here and I hope we stay that way.
Offline
@h8uthemost - You create the desktop file and move it to /usr/share/xsessions/. The script should be in $PATH such as /usr/bin/ or /usr/local/bin/.
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Thank you very much for the explanation, anon.
We are a nice, friendly community here and I hope we stay that way.
Offline
Sorry guys, was away over the weekend and just got back today
So, is anybody having problems with consolekit and dbus (dunno which one is reponsible for automounting) and scrotwm without a display manager. Following the examples on the forum, I've stopped GDM and added this to .xinitrc
#!/bin/sh nitrogen --restore & xsetroot -cursor_name left_ptr exec ck-launch-session scrotwmand no .automount. as I see in htop, consolekit daemon is running, as is dbus. Do I need to make .xinitrc exacutable or something?
You're referring to usb automounting, right?
Most people usually start dbus with
eval `dbus-launch --sh-syntax --exit-with-session`...in their ~/.xinitrc, but since you already mention dbus running, I'm not quite sure. For what it's worth, I tend to use mc or ranger and don't get usb automounting anyway. You might want to read up on kernel-based automounting via AutoFS. It's in your repos, Links: http://wiki.debian.org/AutoFs / https://wiki.archlinux.org/index.php/Autofs
Also, I tend to start scrot with just a plain "exec scrotwm", though I don't think that matters here.
Edit -- Solved
Re-discovered the iostat and dstat commands; not installed by default in Debian Wheezy, need the sysstat package for iostat.
Good to know you solved it.
I was going to suggest dumping top output to a temporary file first and then grep the last lines from that, sorta like what I do with a uniload.sh script I use for my hardstatus line in Screen, but your solution is probably more elegant, not to mention your scripting skills are probably way better than mine.
Last edited by gutterslob (2011-10-17 14:05:11)
Point & Squirt
Offline
Offline
NOt trying to thread jack but to save space I though I would ask here. I have recently installed scrotwm instead of using awesome. Is there any way to change the modkey from Alt to Super?
in .scrotwm.conf (if you don't have it, copy the basic config from /etc/scrotwm.conf, look for
# mod key, (windows key is Mod4) (apple key on OSX is Mod2)
modkey = Mod1Change it to
modkey = Mod4Just read the manpage, it has everything covered.
Offline
Thanks el_koraco. One other thing I have noticed is that when I open flash videos (youtube etc.) scrotwm opens it as a tile and it freaks out a lil when you try to resize. Anyone know how to fix this?
EDIT: I fixed this myself I pressed Alt + Space and changed the layout to fullscreen then the video opened fine.
Last edited by xeNULL (2011-10-03 23:54:43)
Offline
@xeNULL
Study the "Quirks" section in the man page (either in terminal or here). You'll need to install and fire up xprop in a terminal and click on the related window. It'll give you the class and name of the window which you can then apply as a quirk in your .scrotwm.conf and specify whether you want it floated or whatever.
Point & Squirt
Offline
@xeNULL
Study the "Quirks" section in the man page (either in terminal or here). You'll need to install and fire up xprop in a terminal and click on the related window. It'll give you the class and name of the window which you can then apply as a quirk in your .scrotwm.conf and specify whether you want it floated or whatever.
Thanks gutterslob =]
I have changed the modkey from Mod1 to Mod4 so irssi now lets me switch through channels and using 'xprod | grep WM_CLASS' helped a lot. I was wondering can I set an altkey like in awesome? altkey = Mod1 then I could set keybinding launchers with Alt and have no double keybindings.
Last edited by xeNULL (2011-10-04 16:17:52)
Offline
^I'm afraid not, mate.
Like I mentioned earlier in this thread, one drawback of ScrotWM is that it can be considered a bit too spartan for most folk, especially those coming from more full-featured tilers like xMonad or AwesomeDE. It doesn't have a secondary Mod/Meta key nor does it have a "mod-override" function, which does relegate many users to using the Super/M$-Swastika as their Mod key, since having it set to Alt would interfere with shortcuts in apps like GIMP or basic navigation in IRC clients or browsers.
One option is to install and use "xbindkeys". I think there should be enough info on it in the man page and various online resources. I've personally never used it with ScrotWM (dmenu is all a self-respscting minimalist-rivethead needs, really), but I don see it causing problems as long as you're precise with the bindings.
Cheers.
Point & Squirt
Offline
Offline
Why is this happening?
scrotbar.sh:
conky -d -c "$HOME/bin/conkyrc_colorcli" | dzen2 -fg "#a6a6a6" -bg "#000000" -ta right -w 1100 -h 13 -x 333 -y 1 -fn -*-profont-*-*-*-*-11-*-*-*-*-*-*-* &
exit 0conkyrc
# Conky configuration for Dzen2, to be piped into ScrotWM Bar
##############################################
# Settings
##############################################
out_to_x no
background no
out_to_console yes
update_interval 3.0
total_run_times 0
use_spacer none
TEXT
CPU - ${cpu cpu0}% | MEM - ${memperc}% | Uptime - ${uptime_short}ffwn
Offline
^If you read my previous post explaining it, you'll understand that we're just overlaying dzen2 on top of a portion of your scrotwm panel. In your case, it looks like your dzen2's width/length is a tad long, hence the covering of the currently selected app's title name/class.
Try shortening the width of your dzen2 panel or adjusting its x-axis offset, or both (the numbers after the -w and -x options of the conky/dzen2 command in your scrotbar.sh
Point & Squirt
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.