I use Crunchbang on my home computer and love it, but I also use other computers (school, work, etc) that run different operating systems.  I need a way to create a folder or drive level password / encryption so that I can take my files with me and keep them safe without being tied to one operating system or computer. 

Ideally I'd like something like a rar file that's password protected.  But, I'm dealing with almost 200 gigs of data, so constantly raring and unraring individual files or folders isn't practical.  I need to be able to enter a password, access my files, and then keep them safe again quickly

I've tried different encryption in linux, which I can't open in Windows and I've tried Window's EFS.  I couldn't open the file I encrypted with that in Linux, no password option, but I could delete and rename files.  I need something more secure that will let me prevent file access or deleting, etc, but while being accessible from any operating system.

Is there a software option that can password protect a folder, like a rar file, but without having to compress and pack it up, or is my best option a hardware solution like this encrypted password protected portable usb drive:

http://www.datalockerdrive.com/products … r-dl3.html

2

(4 replies, posted in Help & Support (Stable))

ali wrote:

gksu is kind of bad since if you type the password in wrong it won't warn you it will just disappear, are you sure you typed it in right?
and why 9.10? that version is as outdated as hell, if you were going to install ubuntu minimal why didn't you go with 10.10?

Yes, I've been using the same password and I typed it correctly.  I also tested it multiple times and even rebooted and retested, I still can't get deb files to install except from the command prompt.

I'm using 9.10 because the old crunchbang 9.04 wouldn't recognize my new hardware and I couldn't get Statler to work correctly on my computer.  I've used 9.10 on this hardware and it recognizes it and works well.  I wasn't sure that version 10.10 would work with the 9.04 crunchbang install script.  I also already had 9.10 minimal on a cd and didn't feel like waiting to download and burn another cd.

Additionally, 9.10 does everything I need, including support USB 3.0.  Every time I upgrade, I run into changes and version incompatibilities that require I troubleshoot for a couple weeks.  I didn't want to do that.  This is my only problem and if I can just figure out why it's doing this I'll be done.  I've had Crunchbang 9.10 on this computer before without this problem, so I know it's not the minimal install or the script.  I just can't figure it out.

I played around a little and found that you can move the cursor left/right with the number pad with numlock off.  If you hold down shift and press them, they put up numbers.  When I turn on Num-Lock, hold shift, and press the number pad buttons, then it selects text left or right.

I'm using the Ubuntu 9.10 Karmic Koala install with crunchbang script.  Depending on your version, things might be different.

The default just might be different than linux.  I know I hate the middle mouse click paste, so I changed that.  To remap the button combo "shift + kp_6" to "shift + arrowright" (may or may not be official keycode names), you can follow the suggestions here, using xmodmap:

http://www.columbia.edu/~djv/docs/keyremap.html

It's specifically talking about swapping control and caps lock, but the same thing applies for switching other buttons as well.

4

(4 replies, posted in Help & Support (Stable))

Just tried that.  It asks for my password, I enter it, and then it does nothing.  The password prompt disappears and nothing happens.  After trying it a second time, the password prompt doesn't appear.

The program I want to install isn't in the repositories.  I've tried it on another computer running Crunchbang 9.04 though, and it works.

I recently installed Crunchbang on my computer (actually, Ubuntu 9.10 minimal install with the 9.04 Crunchbang script).  Anyway, it seems to work fine, but I'm having a problem.  There are a few programs I like that aren't in the repositories.  I can't get deb files to install when I click on them in PCmanfm.  I've also tried them in Dolphin (I like dolphin).  I've tried making them executable, I've tried associating them with gdebi, but it just won't work.

Before you ask, I can bring up a command prompt and enter "sudo gdebi filetoinstall.deb" and it will ask for my password and install.  The problem isn't that I can't do it at all, it's that It's kind of annoying and I'd like to be able to just click on it.  But, since it does it with multiple file managers, I'm thinking there's something missing that connects deb files to gdebi.

What am I missing?

6

(7 replies, posted in Off Topic / General Chat)

Ok, I gave that a shot with Gthumb and it didn't do anything.  Just for the heck of it, I tried it with XnviewMP too, and it worked!  I don't know why it wouldn't work with Gthumb and would with XnviewMP, but Gthumb works with giving it the actual command, so I'm content.

Thank you dbickin

I really need to learn how to do bash scripts.  The problem is that everything I've read didn't explain how to pass a file.  Is there a good reference for learning more that includes good examples?  I really need examples.

7

(7 replies, posted in Off Topic / General Chat)

I decided to check if this script would even work, so I tried running it from Gthumb, where I can add the command qiv -t -m -x %f, and it will set my wallpaper.  However, when I point it to ./wallpaper.sh that contains:

#!/bin/bash
qiv -t -m -x %f

Then it won't work.  There's something off about the script that gets in the way of passing the image to qiv.  Is it bash?  Are Gthumb and XnviewMP passing the image to bash, which ignores it and then tries to run qiv which never gets the image?

8

(7 replies, posted in Off Topic / General Chat)

I just found this:

"The partition your script lives on may be mounted with the "user" option set. "user" implies "noexec" (see the manpage for "mount"), which is going to keep you from running executables. And while running a binary executable from this kind of partition fails more clearly, trying to run a script with a shebang gives you this more confusing error message.

To fix! Add "exec" after your "user" flag in /etc/fstab. (again, see "man mount")."

But, I checked my fstab file and mine alread says "exec", so it's not that.

9

(7 replies, posted in Off Topic / General Chat)

Ok, I tried moving it to my /usr/bin directory where all the other executable files are, but it wouldn't work.  I tested it in a terminal and when I run it I get an error "Permission denied".

How do I get around that?  I tried sudo wallpaper.sh, but then it asks for my password.  Even if I wanted to type in my password every time (which I don't), I can't add "sudo wallpaper.sh" in XnviewMP.

Is there a way to add the script to /usr/bin directory without it's saying "permission denied" when run without sudo?

Hello,

I need help with a simple script.  Specifically, I need to know how to run it as a program without having to type "./" before the filename.

Here's what I want to do:  I'm running XnviewMP (an image viewer).  I want to call a separate program (QIV) to take the current image and turn it into a wallpaper.  I'm able to do this with other programs like gthumb and pcmanfm by typing in the command "qiv -t -m -x %f"  and then using a menu option to "open with qiv" (or in the case of gthumb, it's a keyboard shortcut you can assign from within the program).

The problem is that XnviewMP doesn't let me type in the command.  I can find the executable file and choose to open with that program, but I can't add modifiers.  I thought that if I could create  a script, that I could put the command in that and then refer to the script instead.  The problem is that the scripts I write, for example:

#!/bin/bash

qiv -t -m -x %f

And then save that as "wallpaper.sh".  I make it executable and can run it from the command line (although it doesn't do anything because I'm not passing it an image).

The problem is that to run it, I need to type "./wallpaper.sh".  But, XnviewMP won't recognize or let me enter the ./ .

I tried manually editing the configuration file and typing in the qiv -t -m -x %f command, but it wouldn't recognize it.  I also tried manually editing the file to run the script and adding ./ in front of it, but it wouldn't work.

I've tried the forums for XnviewMP, but I haven't gotten any help so far, so I thought I'd try here.

So, how do I run a script without having to type ./  ?

That's odd.  When I installed Firefox 3.6 I got a huge increase in speed on everything.  However, there was a problem with firefox 3.6 using files from the previous version of firefox.  It was unstable and slow until I completely removed both and then reinstalled firefox 3.6.  There may be some remnants of the previous version left that are screwing things up.

I use qiv to set wallpaper.  I set up shortcuts in pcmanfm and gthumb so that I can easily set wallpaper when an image is selected.

crunchbang panel is what I use.  If for some reason you can't find it in the repositories, there's also a link from this page:

http://crunchbanglinux.org/forums/topic … el/page/3/

Make sure you install xdotool so that you can use the openbox menu.

This should be in the GUI openbox configurator (it isn't, but it SHOULD be).

I think this used to be done with xinput.  I've read that is no longer the case, so this info is helpful.

I recently bought a widescreen monitor that can physically rotate.  I thought it would be nice to have a really tall monitor for reading and stuff.  The Nvidia-settings control panel didn't have the option to rotate, and xrandr -o left wasn't working.  After some research I was unable to find the answer on the forums, but found the answer elsewhere.  Here's how to do it.

First, open up your /etc/X11/xorg.conf file as root.

To do that, the easiest way is to find the file with Pcmanfm and then select Tool, Open this folder as root, and then open the file.  If you don't do that, you won't be able to save your changes.

Scroll down to: Section "Device"

You should see stuff like this:

    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6600"

EndSection

Before EndSection, you'll want to add the following line:

Option         "RandRRotation" "On"

So the final will look something like this:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6600"
    Option         "RandRRotation" "On"
EndSection

I've found other places that say to use the word "true" instead of "on" after RandRRotation.  "On" worked for me.  You'll have to save and restart.

Now you have to go to a command line and run nvidia-settings which will now have an option to rotate the screen (it doesn't have the option in the gui control panel if you don't have Option "RandRRotation" "On" in you xorg.conf file.

You should now be able to rotate your display.  However, when you reboot it won't stick.

To make it stick, there are a couple ways.  I haven't tried them all, so I'll give you the first option that I know works and then the other option that you can try out too.

Option one:  After you follow the above directions, xrandr will now let you rotate the display, which it won't if you don't have Option RandRRotation set to On.

I just added this to my autostart.sh file:

xrandr -o left &

That will also work from the command line now (without the ampersand).  If you want to rotate it right, you can just replace left with right.

Alternatively (this is the one I haven't tested), you can also just add this line to your xorg.conf file after the Option "RandRRotation "On":

Option "Rotate" "CW"

or

Option "Rotate" "CCW"

CW would be right, CCW would be left.

Here is a picture of my desktop in 1080x1920 (I call it HIGHscreen) with crunchbang panel and supergirl wallpaper and the original image I used as the background (used with permission from original creator, Jose Cano).  Warning, imagevenue will throw up a couple popups. 

http://img135.imagevenue.com/loc521/th_97522_9x16_122_521lo.jpg  http://img148.imagevenue.com/loc476/th_97522_supergirl_122_476lo.jpg

17

(109 replies, posted in CrunchBang Talk)

Will this work with the new version of Crunchbang (Statler)?  I imagine it should, but I want to know for sure before I download it.

18

(4 replies, posted in Help & Support (Stable))

I had a problem like this, different circumstances, but I booted to the live cd and edited the files I needed to fix and then rebooted to the hard drive.

You can also edit this with the GUI openbox editor.  If you're using Statler, I don't know how to do it, but if you're using Crunchbang 9.04, you can bring up the desktop menu, go Main Menu -> Preferences ->openbox config -> GUI config tool.

The option is there too, if you don't want to edit rc.xml manually.  The section you want is under Mouse, then Titlebar.  It lets you choose whether to maximize window on double click or not, and lets you choose the time interval as well.

qbrick wrote:

Interesting distro, however I have arachnophobia. Seriously.

that's why I won't use puppy linux.

21

(30 replies, posted in Off Topic / General Chat)

beaker.  I thought it would be bunsen, but I guess beaker is accurate because I'm easily startled and like quiet.

29, St. Louis, MO, USA

23

(167 replies, posted in CrunchBang Talk)

I prefer Openbox.  Editing the xfce menu is just too cumbersome.  Maybe the Statler release makes it easier (don't know, I'll have to try it), but firing up obmenu is just so easy in openbox.  I also kind of like it when I install a program and my menus aren't automatically changed.  I like to stay in control of my system.

24

(28 replies, posted in CrunchBang Talk)

My first thoughts drift to the extended muppet family, i.e. Fraggles.  But, I'm guessing people wouldn't recognize the names gobo, red, mokey, wembley and boober as much as the more common muppet names.  As far as muppets go, I like Pepe the king prawn.  On the other side, I like the sound of Crunchbang Grover.

25

(452 replies, posted in CrunchBang Talk)

Name:  Custom built
Motherboard:  Intel H55HC ATX Socket LGA1156 Motherboard
Sound:  Onboard
Network:  Onboard
Processor:  Intel Core i5-650 3.2Ghz 4M LGA1156 CPU
Memory:  CORSAIR DOMINATOR 4GB DDR3 PC10666 1333MHZ
Screen:  19” CTX CRT 1600x1200
RAM:  4GB DDR3 PC10666 1333MHZ
HDD:  Hitachi 1TB Serial ATA HD 7200/32MB/SATA-3G
Optical Drive:  Lite ON 24X DVDRW SATA OEML
Graphics:  EVGA GeForce 9800GT 1GB DDR3 PCIe HDMI, DVI & VGA
Case:  NZXT Tempest Blk ATX Mid Tower Case
CPU cooler:  Cooler Master Hyper N520 Copper Heatpipe CPU Coole
Other:  Logitech thumb trackball

Comments: Couldn't get Crunchbang to recognize the sound and lan because Crunchbang is a little old and build on Ubuntu 9.04 (Jaunty).  I had to do an Ubuntu Minimal Install of 9.10 Karmic with the Crunchbang install script.  After fixing a few minor issues, it works great is does things dang near instantly with openbox as a window manager.