So, hey guys. I can't remember when it started, but my poweroff button on my laptop doesn't do anything in singlepress in awesome.. No shutdown, no suspend, no anything. How do I get around this? I can bind something to it easily, but I don't know what. A third-party shutdown program?
Hmm. On the one hand, I dislike how DWM uses "alt" instead of the Windows key for its Mod1 button.
On the other hand, by default, it lets me hide the panel with mod1+b.
Now to decide whether it's a bigger pain to make Awesome do that, or to recompile DWM with the winkey as mod1.
Choices choices choices.
So, hey guys. I can't remember when it started, but my poweroff button on my laptop doesn't do anything in singlepress in awesome.. No shutdown, no suspend, no anything. How do I get around this? I can bind something to it easily, but I don't know what. A third-party shutdown program?
You can always bind it to "sudo halt", or "gksudo halt" or whatever. If, you know, you want it to shut all the way down with one press.
I am quick and decisive with my power button presses. 8-)
And for that matter, I assume config.h is part of the source tarball that you fuck with before compiling and install DWM. Otherwise, everyone is a silly goose for not ever saying where the fuck it is.
On the other hand, I'm pretty sure it's one line to make Awesome do that.
edit:
keybinding.new({ modkey }, "b", function ()
if mystatusbar[mouse.screen].screen == nil then
mystatusbar[mouse.screen].screen = mouse.screen
else
mystatusbar[mouse.screen].screen = nil
end
end):add()
also, what I would REALLY like is to have a graphical menu to ask me what I want to do. I tried installing kshutdown, but it apparently doesn't have the privileges to shut down.. which is .. odd.
Yes, the proper way to run with dwm is to keep the source on-hand and recompile it when you alter the config. config.h is a c header file that's referenced by the main c file. Altering the mod key is one line:
#define MODKEY Mod4Mask
It's really not that hard, there are plenty of guides.
also, what I would REALLY like is to have a graphical menu to ask me what I want to do. I tried installing kshutdown, but it apparently doesn't have the privileges to shut down.. which is .. odd.
Of course it doesn't. That's reserved for root. This or this might be helpful.
There are no animations as there is no reason to hide slowness. Windows can simply pop-up instead of ssssllllliiiiddding into view.
User interfaces should not just be pretty, they should be elegant and even graceful, which is a much harder thing to achieve.
Animations aren't there to hide slowness. They are mostly there for the shiny.
I like the minimize animations that Compiz/Kwin supports because it serves as a little hint to where on the taskbar the application you minimized went to. I'll also go so far as to say that I hope they rip off Win7 with the progress bar on the taskbar entry.
And if you want fast why are you bothering with XFCE? Clearly you should be using Awesome.
Barrakketh on
Rollers are red, chargers are blue....omae wa mou shindeiru
also, what I would REALLY like is to have a graphical menu to ask me what I want to do. I tried installing kshutdown, but it apparently doesn't have the privileges to shut down.. which is .. odd.
Of course it doesn't. That's reserved for root. This or this might be helpful.
Yeah, I realize that it is reserved for root, but it is a program specifically for shutting down the computer, available in an Arch package, that does not in fact have the power to shut down my computer. I wish it was easier. I was looking at the first link earlier, but didn't find anything.. Must have missed the second one. Looks promising, thanks!
fake-edit: also, it's not even complaining about priviliges, it's complaining that I don't have a session manager running, now that I look at it.
There are no animations as there is no reason to hide slowness. Windows can simply pop-up instead of ssssllllliiiiddding into view.
User interfaces should not just be pretty, they should be elegant and even graceful, which is a much harder thing to achieve.
Animations aren't there to hide slowness. They are mostly there for the shiny.
I like the minimize animations that Compiz/Kwin supports because it serves as a little hint to where on the taskbar the application you minimized went to. I'll also go so far as to say that I hope they rip off Win7 with the progress bar on the taskbar entry.
And if you want fast why are you bothering with XFCE? Clearly you should be using Awesome.
Clearly.
Which reminds me, I would love to see a distro use Awesome as default, but have it set up like a more regular DE: floating windows, titlebars, startmenu.. It's very doable and would make for quite an awesome package. Pun intended.
Visti on
[SIGPIC][/SIGPIC]
0
Apothe0sisHave you ever questioned the nature of your reality?Registered Userregular
edited March 2010
Currently using Fuppes. It's sort of sketchy when it comes to dynamically updating content, and I can't get it to serve thumbnails, but that could be a function that I dreamed up. Of course, I am only using .640, while .660 is the current version so I might be way behind the times.
Any recommendations for a UPnP media server for the future?
I'm getting sick of Eeebuntu on my Eee 901 (despite it being so great). Any suggestions? I've done Awesome and just couldn't get into it. I don't like those special netbook GUIs, I like it to feel like a "real" computer and not a smart phone. I'll expand here because maybe I'm doing it wrong. I never felt like I was able to use more than one program very well on those special OSs.
What's Chrome looking like? I mostly stream video (this flash thing is killing me) and chat on-line. Nothing really heavy.
Keep in mind that my SSD keep my OS on is 4gb.
Improvolone on
Voice actor for hire. My time is free if your project is!
Any recommendations for doing video screen capture of a video-game in Linux?
I built an RTS interface for controlling robots and I'd like to make a screencast. I have it all rendered using the Panda3D game engine, but pictures don't really do it justice :P
I'm getting sick of Eeebuntu on my Eee 901 (despite it being so great). Any suggestions? I've done Awesome and just couldn't get into it. I don't like those special netbook GUIs, I like it to feel like a "real" computer and not a smart phone. I'll expand here because maybe I'm doing it wrong. I never felt like I was able to use more than one program very well on those special OSs.
What's Chrome looking like? I mostly stream video (this flash thing is killing me) and chat on-line. Nothing really heavy.
I don't think Jolicloud will fix your "real computer" complaint, but... might be nice, just as a change of scenery.
Edit: alpha, you might try recordMyDesktop. It's a screencast client, and for basic... uh, screencasts, it works pretty well. There's straight "recordMyDesktop", which is command-line, gtk-recordMyDesktop which is for Gnome, or ....I think it's qt-recordMyDesktop for KDE.
A note, though... unless you're running a very manly system, I doubt it's going to do so well with 3d. Honestly, I've never had any luck with 3d and greater than 3 fps performance. I am lazy and don't like to tweak things, however.
You might also whip out google and see if mencoder can do anything for you in this department.
mencoder can't help alpha, and the alternative will likely be a lot more work than he is interested in since no screen recording app I'm aware of handles 3D well.
Barrakketh on
Rollers are red, chargers are blue....omae wa mou shindeiru
That's what I was afraid of. I was just about to use ffmpeg command line and attach it to the video device directly, but I figured thar be dragons.
recordMyDesktop dropped the FPS down to ~9 while recording. Definitely CPU bound
I'm down to two options:
* record the video uncompressed and stream it over the network to another computer for recompression
* see if I can't find a really manly computer to stomach the whole thing itself
Any recommendations for doing video screen capture of a video-game in Linux?
I built an RTS interface for controlling robots and I'd like to make a screencast. I have it all rendered using the Panda3D game engine, but pictures don't really do it justice :P
I really like it too, but I just noticed that I barely use the framework, so I just boot straight awesome now. Still have all my KDE4 apps, but I don't use them very often.
I am a huge fan of Xfce because of its configurablity and speed. Everything down to how your clock displays time is easily customizible (and 99.9% of time you don't have to edit a text file, though there is always that option). Most of all though, it is designed to be fast and to stay out of your way. There are no animations as there is no reason to hide slowness. Windows can simply pop-up instead of ssssllllliiiiddding into view.
User interfaces should not just be pretty, they should be elegant and even graceful, which is a much harder thing to achieve.
I once read an article that stated that XFCE was as slow as GNOME just because it depends on a few GNOME components.
When I want a lightweight DE though, I prefer LXDE. It's really fast, although nothing beats a *box DE.
I regularly run Pidgin and Firefox, sometimes I'll have office software open. Can I easily switch between multiple programs in Jolicloud?
Of course, it's basically UNR tailored for netbooks. Furthermore, they stopped using Firefox for web apps and have now started using Chrome which is like a million times faster.
I'm tempted to reinstall Arch or Chakra.. Are there any other lightweight tasty distros out there? Preferable Debian-based, if not Arch. Or maybe I should take the plunge and do some Slack or something..
If you already have Arch installed, why bother reinstalling? You could probably just remove everything not in [core] and save some time if you're just worried about accumulated packages.
Barrakketh on
Rollers are red, chargers are blue....omae wa mou shindeiru
Slack is pretty awesome. I quit it because I've become very particular about what programs I use, so when things are slightly difficult to install, I tend to just cry and run back to Ubuntu.
Shit... I might reinstall it. Thanks a lot Visti.
Edit: Or I might get crazy and go with "straight" Arch.
"Straight" Arch? I used Chakra to install it and then nuked all the non-Arch repositories. I'm lazy and that got me up and running the fastest
I find that packaging for Arch is a good bit simpler than making Debian packages. For some of those packages that I'm particular about it was easy to get things sorted out:
pkgname=x264-git
pkgver=`date "+%Y%m%d"`
pkgrel=1
pkgdesc="free library for encoding H264/AVC video streams"
arch=('i686' 'x86_64')
url="http://www.videolan.org/developers/x264.html"
license=('GPL')
depends=('glibc')
makedepends=('yasm' 'git' 'gettext')
source=()
md5sums=()
provides=("x264=$pkgver")
conflicts=('x264')
_gitroot="git://git.videolan.org/x264.git"
_gitname="x264"
_gitrev="11446152ba7c79774d65f8556f2282ad838942d7"
build() {
cd $srcdir
msg "Connecting to the GIT server...."
if [[ -d $srcdir/$_gitname ]] ; then
cd $_gitname
git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "Pulled upstream files"
git checkout $_gitrev
msg "Checked out revision $_gitrev"
msg "Starting make..."
rm -rf $srcdir/$_gitname-build
git clone $srcdir/$_gitname $srcdir/$_gitname-build
cd $srcdir/$_gitname-build
./configure --prefix=/usr --enable-shared || return 1
make || return 1
make DESTDIR="$pkgdir" \
bindir=/usr/bin \
libdir=/usr/lib \
includedir=/usr/include \
install || return 1
rm -rf $srcdir/$_gitname-build
}
It's practically the same thing as what I would do from the terminal, except you have "make install" toss the files in $pkgdir. I've ran into some weird issues with .debs since the rules file and some other bits are actually make files and are anal-retentive about some things that I didn't understand, but on the other hand dpatch and the like are things that PKGBUILD files don't support.
Then again, at least the stock packages don't already come with several patches to be applied and I don't have to worry about upstream changes breaking my packages :-)
Barrakketh on
Rollers are red, chargers are blue....omae wa mou shindeiru
Go straight Arch at least twice (assuming you give up at least once). It has taught me a lot.
I installed Gentoo the hard way long ago. I don't think installing Arch the long way is going to teach me anything I didn't already know. Well, maybe using wpa_supplicant by hand but that's something I'd do so infrequently that I would forget it again.
Barrakketh -> Hm, how would I go about doing that? Is there an opposite wildcard for everything except *?
What's "*" supposed to represent? If you wanted to remove everything but the base group you can do:
If you want everything but some specific list of packages you could look at the comm utility. Here's one use to make a backup of all installed packages that aren't installed from local (that is, one that you downloaded and install with -U or from AUR):
Go straight Arch at least twice (assuming you give up at least once). It has taught me a lot.
I installed Gentoo the hard way long ago. I don't think installing Arch the long way is going to teach me anything I didn't already know. Well, maybe using wpa_supplicant by hand but that's something I'd do so infrequently that I would forget it again.
Oh, I wasn't talking to you, I was talking to Seeks about him wanting to try Arch the original way. Gentoo would do the same thing. Basically configuring stuff by hand to see how stuff works.
If you want everything but some specific list of packages you could look at the comm utility. Here's one use to make a backup of all installed packages that aren't installed from local (that is, one that you downloaded and install with -U or from AUR):
Any recommendations for doing video screen capture of a video-game in Linux?
I built an RTS interface for controlling robots and I'd like to make a screencast. I have it all rendered using the Panda3D game engine, but pictures don't really do it justice :P
Thanks!
O:
I thought you were a BSD guy.
I use whatever tool best fits the job.
Linux is the most tested path for robotics. This is doubly true with my robotic middleware of choice.
Any recommendations for doing video screen capture of a video-game in Linux?
I built an RTS interface for controlling robots and I'd like to make a screencast. I have it all rendered using the Panda3D game engine, but pictures don't really do it justice :P
Thanks!
O:
I thought you were a BSD guy.
I use whatever tool best fits the job.
Linux is the most tested path for robotics. This is doubly true with my robotic middleware of choice.
I've tried RecordMyDesktop, and it was fairly decent
I've finally borrowed, inherited and purchased enough extra parts to slap together a Linux LAMP stack after some spectacular hardware failures.
Unfortunately, it's been so long since I've done Linux-anything, that I'm a bit behind the times. I'm a big fan of Vista/7's start text field, but I can't find anything quite the same in Ubuntu. Deskbar seems to be it, but it won't pick up partial program names.
For instance, I just installed synergy, and it won't pull up synergyc when I type in syn. Any ideas for better workflow?
Posts
On the other hand, by default, it lets me hide the panel with mod1+b.
Now to decide whether it's a bigger pain to make Awesome do that, or to recompile DWM with the winkey as mod1.
Choices choices choices.
You can always bind it to "sudo halt", or "gksudo halt" or whatever. If, you know, you want it to shut all the way down with one press.
I am quick and decisive with my power button presses. 8-)
How?
And for that matter, I assume config.h is part of the source tarball that you fuck with before compiling and install DWM. Otherwise, everyone is a silly goose for not ever saying where the fuck it is.
edit:
keybinding.new({ modkey }, "b", function () if mystatusbar[mouse.screen].screen == nil then mystatusbar[mouse.screen].screen = mouse.screen else mystatusbar[mouse.screen].screen = nil end end):add()also, what I would REALLY like is to have a graphical menu to ask me what I want to do. I tried installing kshutdown, but it apparently doesn't have the privileges to shut down.. which is .. odd.
It's really not that hard, there are plenty of guides.
awful.key({ modkey }, "b", function () mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible end),hides statusbar with modkey+b. Works really well.
Animations aren't there to hide slowness. They are mostly there for the shiny.
I like the minimize animations that Compiz/Kwin supports because it serves as a little hint to where on the taskbar the application you minimized went to. I'll also go so far as to say that I hope they rip off Win7 with the progress bar on the taskbar entry.
And if you want fast why are you bothering with XFCE? Clearly you should be using Awesome.
It works.
Muchos gracias.
Yeah, I realize that it is reserved for root, but it is a program specifically for shutting down the computer, available in an Arch package, that does not in fact have the power to shut down my computer. I wish it was easier. I was looking at the first link earlier, but didn't find anything.. Must have missed the second one. Looks promising, thanks!
fake-edit: also, it's not even complaining about priviliges, it's complaining that I don't have a session manager running, now that I look at it.
Clearly.
Which reminds me, I would love to see a distro use Awesome as default, but have it set up like a more regular DE: floating windows, titlebars, startmenu.. It's very doable and would make for quite an awesome package. Pun intended.
Any recommendations for a UPnP media server for the future?
http://forums.penny-arcade.com/showthread.php?t=114305
tl,dr; MediaTomb.
On the plus side, mediatomb just made it into debian.
What's Chrome looking like? I mostly stream video (this flash thing is killing me) and chat on-line. Nothing really heavy.
Keep in mind that my SSD keep my OS on is 4gb.
Any recommendations for doing video screen capture of a video-game in Linux?
I built an RTS interface for controlling robots and I'd like to make a screencast. I have it all rendered using the Panda3D game engine, but pictures don't really do it justice :P
Thanks!
I don't think Jolicloud will fix your "real computer" complaint, but... might be nice, just as a change of scenery.
Edit: alpha, you might try recordMyDesktop. It's a screencast client, and for basic... uh, screencasts, it works pretty well. There's straight "recordMyDesktop", which is command-line, gtk-recordMyDesktop which is for Gnome, or ....I think it's qt-recordMyDesktop for KDE.
A note, though... unless you're running a very manly system, I doubt it's going to do so well with 3d. Honestly, I've never had any luck with 3d and greater than 3 fps performance. I am lazy and don't like to tweak things, however.
You might also whip out google and see if mencoder can do anything for you in this department.
recordMyDesktop dropped the FPS down to ~9 while recording. Definitely CPU bound
I'm down to two options:
* record the video uncompressed and stream it over the network to another computer for recompression
* see if I can't find a really manly computer to stomach the whole thing itself
Thanks for the help guys!
O:
I thought you were a BSD guy.
I once read an article that stated that XFCE was as slow as GNOME just because it depends on a few GNOME components.
When I want a lightweight DE though, I prefer LXDE. It's really fast, although nothing beats a *box DE.
Of course, it's basically UNR tailored for netbooks. Furthermore, they stopped using Firefox for web apps and have now started using Chrome which is like a million times faster.
You should definitely try it.
Ah.. choices.
Shit... I might reinstall it. Thanks a lot Visti.
Edit: Or I might get crazy and go with "straight" Arch.
I find that packaging for Arch is a good bit simpler than making Debian packages. For some of those packages that I'm particular about it was easy to get things sorted out:
pkgname=x264-git pkgver=`date "+%Y%m%d"` pkgrel=1 pkgdesc="free library for encoding H264/AVC video streams" arch=('i686' 'x86_64') url="http://www.videolan.org/developers/x264.html" license=('GPL') depends=('glibc') makedepends=('yasm' 'git' 'gettext') source=() md5sums=() provides=("x264=$pkgver") conflicts=('x264') _gitroot="git://git.videolan.org/x264.git" _gitname="x264" _gitrev="11446152ba7c79774d65f8556f2282ad838942d7" build() { cd $srcdir msg "Connecting to the GIT server...." if [[ -d $srcdir/$_gitname ]] ; then cd $_gitname git pull origin msg "The local files are updated." else git clone $_gitroot fi msg "Pulled upstream files" git checkout $_gitrev msg "Checked out revision $_gitrev" msg "Starting make..." rm -rf $srcdir/$_gitname-build git clone $srcdir/$_gitname $srcdir/$_gitname-build cd $srcdir/$_gitname-build ./configure --prefix=/usr --enable-shared || return 1 make || return 1 make DESTDIR="$pkgdir" \ bindir=/usr/bin \ libdir=/usr/lib \ includedir=/usr/include \ install || return 1 rm -rf $srcdir/$_gitname-build }It's practically the same thing as what I would do from the terminal, except you have "make install" toss the files in $pkgdir. I've ran into some weird issues with .debs since the rules file and some other bits are actually make files and are anal-retentive about some things that I didn't understand, but on the other hand dpatch and the like are things that PKGBUILD files don't support.
Then again, at least the stock packages don't already come with several patches to be applied and I don't have to worry about upstream changes breaking my packages :-)
Barrakketh -> Hm, how would I go about doing that? Is there an opposite wildcard for everything except *?
What's "*" supposed to represent? If you wanted to remove everything but the base group you can do:
If you just wanted to strip things down to packages from core:
should work.
If you want everything but some specific list of packages you could look at the comm utility. Here's one use to make a backup of all installed packages that aren't installed from local (that is, one that you downloaded and install with -U or from AUR):
Ah, that's very helpful. Would save me from burning an ISO every time I get bored.
HMMMMMM.
How is Gentoo these days?
Linux is the most tested path for robotics. This is doubly true with my robotic middleware of choice.
I've tried RecordMyDesktop, and it was fairly decent
My CPU idles at 30%, and I can't figure out why. If anyone has any ideas, let me know. Rather confusing...
Unfortunately, it's been so long since I've done Linux-anything, that I'm a bit behind the times. I'm a big fan of Vista/7's start text field, but I can't find anything quite the same in Ubuntu. Deskbar seems to be it, but it won't pick up partial program names.
For instance, I just installed synergy, and it won't pull up synergyc when I type in syn. Any ideas for better workflow?