SEARCH

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

You are not logged in.

#1 CrunchBang Talk » Move active window to adjacent workspace with keyboard? » 2010-01-02 06:36:58

marf
Replies: 2

This is the one thing I haven't figured out how to do with Openbox.

In regular ubuntu, I would press "Ctrl-Alt-Shift- <Left Arrow or Right Arrow>" and the window would slide to the respective workspace. But it doesn't work in #!.

Any ideas how I can get this feature?

#2 Re: CrunchBang Talk » Planet CrunchBang Linux » 2009-01-09 03:28:07

Feed: http://www.infinitedesigns.org/archives … x/feed/rss
Name: Marf
Avatar: Do I have to have one now? or can I leave it blank and add one later?

#3 Re: CrunchBang Talk » Why do you use #!Crunchbang » 2008-12-25 16:03:25

Primary Reason: Boot Up Time (~20 sec)
Secondary Reason: Ubuntu based (well developed and supported Repos and packages)

#4 Re: Tips, Tricks & Scripts » conky power usage script » 2008-12-21 17:50:29

This is annoying the crap out of me. I'm getting this error

marf@crunchbang-lappy:~/.config/CrunchBang$ ./conky_battery.py 
: No such file or directory

But, when I do cat /proc/acpi/battery/BAT0/state

here is my output

present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            14695 mW
remaining capacity:      71920 mWh
present voltage:         12065 mV

so it'd definitely there.

I did chmod +x conky_batter.py
but that shouldn't give this "no file found" message.

Any Ideas?

#5 Re: Help & Support (Crunchbang 11 "Waldorf") » Faster boot time » 2008-12-13 04:54:02

from what I understand sysv-rc-conf is kind of like services.msc. You can see services, stop them, and I think even prevent them from starting automatically.

#7 Tips, Tricks & Scripts » GRUB saved default, openbox-logout script Updated » 2008-12-07 03:46:50

marf
Replies: 4

Well, I'm sure lots of us who have !# installed, also have multiple OSes (in GRBU list). And I've always hated the fact that if I was in Linux and wanted to boot windows, then I'd have to reboot, wait for grub to show, and then press the down arrow. Well GRUB has an awesome way to reboot your computer with a Onetime only selection of an alternate default listing.

First thing that must be done is to edit your menu.lst file

open it up in gedit with the command

gksudo gedit /boot/grub/menu.lst

near the top of your document look for

# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
#default  0

You may or may not have a # infront of the default, refardless you want to change it to look like

# array will desync and will not let you boot your system.
default saved

Don't close Gedit just yet, now scroll down and look for

## ## End Default Options ##

We are going to add saveddefault 0 after each menu option

Your entries should look somewhat like this

...
title        Ubuntu 8.10, kernel 2.6.27-7-generic
uuid        BUNCH-OF-RANDOM-CHARS-NUMS
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=BUNCH-OF-RANDOM-CHARS-NUMS ro quiet splash 
initrd        /boot/initrd.img-2.6.27-7-generic
quiet
savedefault 0

title        Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid        BUNCH-OF-RANDOM-CHARS-NUMS
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=BUNCH-OF-RANDOM-CHARS-NUMS ro  single
initrd        /boot/initrd.img-2.6.27-7-generic
savedefault 0

title        Ubuntu 8.10, memtest86+
uuid        BUNCH-OF-RANDOM-CHARS-NUMS
kernel        /boot/memtest86+.bin
quiet
savedefault 0
...
WINDOWS/Other Linux stuff will be further down here

Now you can save the file and close.

Now that we've enabled the entries to use a default saved, you can try out my improved openbox-logout script.

There are 2 methods that it can be executed.

Both Methods Start Here:

Download this file... and save it to the default location
http://www.mediafire.com/?gdjst4nxccl

Open a terminal (Super + t) and type in the following

chmod +x ~/Desktop/openbox-logout && cp ~/Desktop/openbox-logout ./

Then, we will execute this new logout script (just to see if you like it)

./openbox-logout

First Method Here (Otherwise SKIP to Second Method):
you should have a window popup that looks like so

openboxlogout1uw5.th.jpg

Now you won't see the Boot Into... window until you click the Reboot Into... Button. What it does when you click that button is, reads your GRUB menu.lst and populates the combo box with all your Legitimate GRUB boot options. Then you can choose what OS you want to boot into on the next reboot, and click OK. Effective method for those advanced users with Lots of OSes installed.

Second Method (my favorite):

Because I only have one other OS on my machine next to !#, I'd prefer not having to select it from  a combobox every time, I'd rather just a custom button. Well I built that into the script as well. Follow these simple instructions.

Open a terminal if not already open, and then type

gedit ~/.config/CrunchBang/grub-boot-once

and here is what I write in my file

Boot Vista
4

The first line in the file is the name of the OS you want, you can put whatever you want there.
The second line in the file is the Index that it appears in the grub menu.lst. It so happens that 0-2 are  always the defualt (!#, !# (recovery mode) and !# memory test). Then the 3rd option happens to be just a place holder "Other Operating Systems" and so the 4th index is my actual Windows Vista. Yours may be different, or the same, so adjust your number accordingly.

Now we are done with that, save the file and close gedit.

then run the command

./openbox-logout

and you should have something similar to

openboxlogout2gi1.th.jpg

Conclusion and comments:

You may be alerted the fact that a gksudo window pops up asking for root priviledges, however this is one unfortunate side effect of the openbox-logout executing the command gksudo grub-set-default <index>.

Of course you can look at the python code in the openbox-logout and verity that I'm not doing anything malicious.

LASTLY... I Like it, how can I make it the default openbox-logout (so when I press Super Space, and go exit it runs your script)?

Simple, enter this command below

gksudo mv /usr/bin/openbox-logout /usr/bin/openbox-logout-old && gksudo cp ~/openbox-logout /usr/bin/ && gksudo chown root:root /usr/bin/openbox-logout

DONE!, now you can easily reboot to specific OSes.

Hope you like it!

#8 Re: Help & Support (Crunchbang 11 "Waldorf") » Help to delete Lunar info in Conky config » 2008-12-06 20:29:31

Oh geez, "Hand to Face". I figured out what the problem is, somewhat embarrassing but if anybody else has the same problem here it is. I removed the correct section from the .conky_rc, however I removed it from the eth0 section. Remember if you are using wireless, you also have to remove it from the other section as well.

#9 Help & Support (Crunchbang 11 "Waldorf") » Help to delete Lunar info in Conky config » 2008-12-06 18:02:31

marf
Replies: 3

Ok, so I've had the conky config working for the past couple days, and the conky_colors fonts were installed (thanks to the help in previous posts). However now I've decided I don't want the Lunar information. I opened my conky_rc file to edit, and removed the 2 lines. I restarted my conky, tried rebooting, and it still magically is there. see my screenshot... the text clearly has been removed from the config file, and yet it still remains on  my desktop.

conkyconfigrs1.th.jpg

#10 Re: Tips, Tricks & Scripts » How do I give Firefox an icon in the toolbar... » 2008-12-06 02:51:57

omns wrote:

This would make a nice how-to in the tips, tricks and scripts section. It's something that many people might come looking for.

Indeed it is.. thanks omns wink

#11 Re: Tips, Tricks & Scripts » Howto: Change the lxpanel menu applet icon » 2008-12-06 01:10:26

I'm having a problem where my Firefox icon isn't showing up in the bottom left. I haven't done an weird setting changes, so I don't know why it can't find the icon.  See screenshot...

2008120512285252551024xmd5.th.png

#12 Re: Tips, Tricks & Scripts » (solved) US keyboard map » 2008-12-06 00:05:12

alternatively in terminal you can type

gedit ~/.config/openbox/autostart.sh

and then uncomment the respective line.

#13 Re: Introductions » I honestly didnt think it was possible!!! » 2008-12-05 22:29:50

I'll definitely be applying this fix as soon as I get home!

#14 Re: CrunchBang Talk » Reviews of #! » 2008-12-05 16:33:17

NewCityVegas,

Ahh, TinyXS based from TinyME, I kinda thought it was one or the other. In any case, it still has an older kernel version which was my main point there.

The qualm I had with the review is that it started out on the case that it "wasn't newbie friendly", and you go into review some points that aren't relevant to newbies. I understand you're being thorough, but perhaps you should be clear about this. Or even perhaps have two mini reviews (two conclusions), one fore newbies and one for more experienced linux users.

Anyways, still a nice review, and always refreshing to see points of view from "the other side of the fence".

Cheers!

#15 Re: Tips, Tricks & Scripts » My Conky Config » 2008-12-05 03:26:49

corenominal wrote:

Hi marf

If you have not seen it already, you may want to checkout: http://ph.ubuntuforums.com/showthread.php?t=869328

ConkyWeather needs a configuration script and you also need to register with the weather.com service. The first post has details about how to get it all working. Hope this helps smile

Thanks, I have weather and everything setup, however I'm still getting a huge 'Y' appear where the little temperature gauge picture is supposed to show up (to the left of the cloud). I have looked and it appears all my symbols that are supposed to be of the ConkyWeather font, aren't working. I looked in /usr/share/font/truetype/conkyforecast/ and a ls shows

Arrows.sfd.tar.gz
Arrows.ttf
ConkyWeather.otf
ConkyWindNESW.otf
ConkyWindN.otf
ConkyWind.otf
ConkyWind.sfd.tar.gz
Moon Phases.ttf (this one seems to be showing the crescent fine)
StyleBats.ttf

So the ConkyWeather font is there, why isn't it showing me the nice little picture?

#16 Re: CrunchBang Talk » Your CrunchBang Linux system » 2008-12-05 03:21:06

Name: Lenovo Thinkpad X200
Platform: Centrino 2
Processor: Core 2 Duo P8400
Screen: 12.1" WXGA TFT
RAM: 2GB PC3-8500 DDR3 (1 DIMM)
HDD: 160 GB
Graphics: Intel GMA X4500 ( the integrated one with Centrino 2)
Wifi: Intel WiFi 5300 (3 receive and 3 transmit antennas)
Battery: 9 Cell (gives a solid 8.5 - 9 hours of battery life)

#17 Re: Help & Support (Crunchbang 11 "Waldorf") » Gnome-do » 2008-12-05 00:40:02

I'd recommend Launchy. I've used Both Gnome-Do and Launchy, and Katapult, and Quicksilver. Launchy wins.. hands down. And it's nice that it works on Linux, Windows and Mac, so I can have it on whatever OS I'm on.

#18 Re: CrunchBang Talk » Reviews of #! » 2008-12-04 17:16:38

@snowpine - Issues like having an unsupported Atheros wireless card or troubleshooting a failed dual-boot install can be challenging for newbies regardless of the distro.

exactly what I was trying to get at with my post. You just said it in a nutshell smile

#19 Re: CrunchBang Talk » Reviews of #! » 2008-12-04 15:01:20

Decent review, but some things I disagree with.

Unlike another lightweight distribution, TinyXS-max, I could not recommend #! CrunchBang to a Linux newbie.

and then further down the page...

Unlike TinyXS, CrunchBang Linux does not acknowledge a "root" login. In fact, after a quick search of the CrunchBang site, I could not even find the default password for user "root".

Are newbie's going to be worried about their root password?

Anyways since the author seems to be mainly comparing !# to TinyXS (based off PCLOS from what I can tell). There is very little information on TinyXS however from what I could tell, it seems to be using an older version of linux kernel ( < 2.6.25 ). Anyways one reason I chose to use !# was because linux kernel 2.6.26 and moreso 2.6.27 added lots of support for Intel WIFI cards (primarily new ones in the Centrino 2 platform... iwlagn modules). Of course the author mentions that they had difficulty connecting to their home wireless WPA network and that

For CrunchBang WPA/WPA2 secure wireless networking, I would guess that some Terminal command-line magic may be required.

This isn't the case. I'm using WPA on a DLink router, and connected first time with no difficulty. Even moreso, I always have my routers SSID broadcast turned off, so I manually typed in the name, and WPA passphrase (whopping 64 random characters long), and it connected first time. Of course this was easily done using the new Ubuntu 'Network Manager' tool, which is very capable of connecting to Wireless networks (not secure, WEP, WPA, WPA2 Home, WPA2 Enterprise).

I'm sure that TinyXS has it's advantages over !# for older equipment (seems to have lower memory footprint as the author details), however I'd have to say that !# fares well for older computers/laptops, and fares even better with more modern hardware.

This quote also was a bit contradictory to his initial statement

WARNING: If you already have another OS on your hard drive (Windows or Linux), I DO NOT RECOMMEND ALLOWING CRUNCHBANG to create an MBR boot menu.

Are Linux newbies going to be installing multiple Linux OSes?

Granted they may install Crunchbang alongside Windows. Heck I did it, and it worked without a hitch, thanks to Ubuntu's Installation wizard. The easiest guides on how to dualboot can be found here http://apcmag.com/the_definitive_dualbo … bystep.htm
They have almost every method (whether it is linux installed first or windows).

Granted !# is still in it's infancy stages, and of course, there is room for improvement, however first impressions are... well... impressive.

#20 Re: Tips, Tricks & Scripts » My Conky Config » 2008-12-04 02:45:15

ConkyWeather doesn't seem to be working for me. Is there something additional I need to install to get it to show weather? Everything else in the config works. BTW I'm using the config posted by Trouble'n'Strife.

Thanks,

Marf

#21 Re: Help & Support (Crunchbang 11 "Waldorf") » New Logout Script with Hibernate & Suspend Options » 2008-12-04 02:33:25

Ok, tested the new script out on my Lenovo X200. Hibernate seemed to shutdown fine, but when it was restoring.. it froze (at the splash screen).

Standby wasn't much better, it seemed to go in standby fine, however when I powered back up, it "seemed" to be working, and then the laptop powered down completely.

Now my question to you, how can I downgrade back to the original logout script?

sudo apt-get remove openbox-logout-script

should that do the trick?

#22 Re: Help & Support (Crunchbang 11 "Waldorf") » Keyboard Shortcut file » 2008-12-03 17:28:28

... I looked at that file.. I mustn't have been paying attention.

Thanks

#24 Help & Support (Crunchbang 11 "Waldorf") » Keyboard Shortcut file » 2008-12-03 02:50:23

marf
Replies: 5

First off, let me say this is a GREAT distro. I've been looking for a lightweight distro for some time, was watching slitaz, but their development cycle is mighty slow.

This has to be a quick answer, I've done a little searching but nothing comes up.

Where is the file located (in my /home/user I assume) that stores all the Keyboard Shortcuts? I would like to change a few.

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