Is there an actively maintained Truecrypt repository

This question has received: 8 Votes.

The last time I installed Truecrypt (on Debian) I built the package myself. I’m now on Ubuntu 11.04 and I’d rather not do that again. The only download they have on their site is a tarball, but I prefer to install from a package than manually where possible.

Is there an actively maintained PPA or repository somewhere with Truecrypt for Ubuntu 11.04, or even just built packages available to download?

(I realise it’s kept out of Ubuntu and Launchpad because of licensing issues, but that doesn’t mean there isn’t another repo elsewhere…)

Thu Oct 13 10:17:19 AST 2011
Answer #: 1
This answer has received: 3 Votes.

v7.1 of true-crypt exists in the SuperOS PPA for Oneiric & Lucid (v7.0a for Natty)

Suggestion would be to install this external PPA – install truecrypt and immediately via Software Sources, disable (untick) the SuperOS source. The reason for this, SuperOS contains many packages that you may not want to upgrade to. The choice is yours.

to install

Installation instructions are on the SuperOS website

The SuperOS deb you download installs the PPA and the GPG keys

Once you have added the PPA

sudo apt-get update
sudo apt-get install truecrypt

as with all PPAs – this can make your system unstable – have a valid disk-image that you can restore to

not tested by myself

Mon Feb 13 12:45:22 AST 2012
Answer #: 2
This answer has received: 0 Votes.

I recommend the PPA I created for this. It contains a patch I created that adds an appindicator to it, since the old systray is no longer supported in Ubuntu. https://launchpad.net/~stefansundin/+archive/truecrypt

sudo add-apt-repository ppa:stefansundin/truecrypt
sudo apt-get update
sudo apt-get install truecrypt

The version is 7.1a, and I do not intend to update to 7.2 because it has less functionality.

Fri Sep 26 05:03:05 AST 2014
This question and its answers are found at: Is there an actively maintained Truecrypt repository

How to quickly respond to Empathy message in Unity (Similar to Gnome-Shell)

This question has received: 8 Votes.

I have seen the way you can respond to messages in a nice quick way in Gnome-Shell with a message window popping out from the bottom. How can this be applied in Unity for a window to pop up and just quickly click on it to respond to the user.

Tue Oct 18 18:38:29 AST 2011
Answer #: 1
This answer has received: 3 Votes.

Currently there is no way to accomplish this. It may be possible to write an application that replicates the functionality however.

Tue Oct 25 01:20:45 AST 2011

How to make guest sessions start with Unity 2D by Default?

This question has received: 8 Votes.

My PC does not have enough resources to run two accounts in Unity 3D.

When I open a guest account from an already started session, it uses Unity 3D by default. How do I change that?

Sat Oct 22 23:24:16 AST 2011
Answer #: 1
This answer has received: 3 Votes.

It is an interesting question. I’ve had a look at this, and it seems to be a bug somewhere. In my opinion, you should’ve been able to add a file called .dmrc to /etc/guest-session/skel containing


[Desktop]
Session=sessionname

Where sessionname can be something like “ubuntu”, “ubuntu-2d”, “gnome”, etc. But this doesn’t work no matter what I’ve tried. There are several bug reports about similar issues, so this will be looked into.

I did come up with a solution for you, however, but it’s really hacky and just hides the problem without fixing it. But it does work. Open a terminal and paste the following commands: (Make sure you get the whole commands, otherwise you’ll get into trouble)


sudo mv /usr/share/gnome-session/sessions/ubuntu.session /usr/share/gnome-session/sessions/ubuntu-3d.session
sudo mv /usr/share/gnome-session/sessions/ubuntu-2d.session /usr/share/gnome-session/sessions/ubuntu.session

This just swaps the two sessions, so any user who has chosen to use Unity and not Unity 2D will also be logged in with Unity 2D until he/she chooses differently again. This also means that any new users you create will default to using Unity 2D.

Tue Oct 25 04:13:23 AST 2011
This question and its answers are found at: How to make guest sessions start with Unity 2D by Default?

How to permanently save powertop’s suggestions?

This question has received: 10 Votes.

So it’s ok that if I run powertop then it suggest me to disable xy, etc., but after I exit powertop, reboot the pc, and start it again[powertop], it brings up the same tips again! So how can I permanently save the suggestions of powertop?

Sat Oct 29 18:26:50 AST 2011
Answer #: 1
This answer has received: 4 Votes.

Quick answer :

You just need to save them in /etc/rc.local.


Detailed answer

  1. In a terminal run:

    sudo powertop --html=powertop.html
    
  2. Step 1 generates a html file in your home directory. Click on that file so that it opens in your internet browser.

  3. In the browser, go to “Tuning” tab. It gives all the tunings you have to tweak (on the left), and the commands that are implementing them (on the right).

  4. Save these commands in /etc/rc.local.

    To do that, in a terminal, run:

    gksu gedit /etc/rc.local
    

    Write the commands before the line that reads exit 0, and save the file.

Thu Jul 23 16:19:35 AST 2015
Answer #: 2
This answer has received: 2 Votes.

Saving to rc.local as stagelll mentions is probably the simplest way to do it, but it’s obviously only good for a local fix.

Another way would be to craft a udev rule that applies the setting for the device in question. udev rules are more complicated to write but are safer to share with others.

For example, powertop suggested this:

echo 'on' > '/sys/bus/usb/devices/3-10/power/control';

which solved the particular issue I was interested in. But 3-10 is a bus number that’s going to vary from system to system, depending on how the usb devices are attached. After a bit of research and fiddling, I made a file /etc/udev/rules.d/10-usb-avocent-kvm-pm.rules with this rule, which sets power/control to on for my devices, wherever it might be connected in the USB subsystem:

ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0624", ATTR{idProduct}=="0013", ATTR{product}=="SC Secure KVM", TEST=="power/control", ATTR{power/control}:="on"
Thu Jul 23 16:15:37 AST 2015
Answer #: 3
This answer has received: 0 Votes.

This doesn’t exactly save your powertop settings, but it does come with its own defaults which enable almost every powertop setting. It’s called laptop-mode-tools.

Just run sudo apt-get install laptop-mode-tools and run powertop, see if you like it. This also enables you to edit the settings, which in turn, edit the powertop settings.

You can edit the settings by running sudo gedit /etc/laptop-mode/laptop-mode.conf Maybe someone else knows how to save the settings “specifically” from powertop.

Here is a link for more information http://samwel.tk/laptop_mode/

Thu Jul 23 16:16:38 AST 2015
This question and its answers are found at: How to permanently save powertop’s suggestions?

PC to USB transfer slow

This question has received: 8 Votes.

I’m having trouble with USB transfer,not with external hard disk.

Transfer starts with like, for the transfer of 700MB file it starts with 30mb/s and towards the end it stops at 0s and stays put for like 3-4 mins to transfer the last bit.

I have tried different USB devices, but no luck. Is it a bug?

Another important point is, in Kubuntu there is no such issue. So is it something related to Gnome?

I’m using Ubuntu 11.10 64bit.

Somebody please help, it’s really annoying.

Here are the details.

PC >> all of my drives are in ext4.

USB >> I tried ext3,ntfs and fat32. All having the same problem.

Here are my USB controllers details:

root@LAB:~# lspci|grep USB
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)

Here is an example of one transfer.

I connected one of my 4GB usb device.

Nov 24 12:01:25 LAB kernel: [ 1175.082175] userif-2: sent link up event.
Nov 24 12:01:25 LAB kernel: [ 1695.684158] usb 2-2: new high speed USB device number 3 using ehci_hcd
Nov 24 12:01:25 LAB mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2"
Nov 24 12:01:26 LAB mtp-probe: bus: 2, device: 3 was not an MTP device
Nov 24 12:01:26 LAB kernel: [ 1696.132680] usbcore: registered new interface driver uas
Nov 24 12:01:26 LAB kernel: [ 1696.142528] Initializing USB Mass Storage driver...
Nov 24 12:01:26 LAB kernel: [ 1696.142919] scsi4 : usb-storage 2-2:1.0
Nov 24 12:01:26 LAB kernel: [ 1696.143146] usbcore: registered new interface driver usb-storage
Nov 24 12:01:26 LAB kernel: [ 1696.143150] USB Mass Storage support registered.
Nov 24 12:01:27 LAB kernel: [ 1697.141657] scsi 4:0:0:0: Direct-Access     SanDisk  U3 Cruzer Micro  8.02 PQ: 0 ANSI: 0 CCS
Nov 24 12:01:27 LAB kernel: [ 1697.168827] sd 4:0:0:0: Attached scsi generic sg2 type 0
Nov 24 12:01:27 LAB kernel: [ 1697.169262] sd 4:0:0:0: [sdb] 7856127 512-byte logical blocks: (4.02 GB/3.74 GiB)
Nov 24 12:01:27 LAB kernel: [ 1697.169762] sd 4:0:0:0: [sdb] Write Protect is off
Nov 24 12:01:27 LAB kernel: [ 1697.169767] sd 4:0:0:0: [sdb] Mode Sense: 45 00 00 08
Nov 24 12:01:27 LAB kernel: [ 1697.171386] sd 4:0:0:0: [sdb] No Caching mode page present
Nov 24 12:01:27 LAB kernel: [ 1697.171391] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Nov 24 12:01:27 LAB kernel: [ 1697.173503] sd 4:0:0:0: [sdb] No Caching mode page present
Nov 24 12:01:27 LAB kernel: [ 1697.173510] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Nov 24 12:01:27 LAB kernel: [ 1697.175337]  sdb: sdb1

After that I initiated one transfer.

lsof -p 3575|tail -2

mv      3575 root    3r   REG    8,8 1719599104 4325379 /media/Misc/The Tree of Life (2011) DVDRip XviD-MAXSPEED/The Tree of Life (2011) DVDRip XviD-MAXSPEED www.torentz.3xforum.ro.avi

mv      3575 root    4w   REG   8,17 1046347776      15 /media/SREE/The Tree of Life (2011) DVDRip XviD-MAXSPEED/The Tree of Life (2011) DVDRip XviD-MAXSPEED www.torentz.3xforum.ro.avi

Here are the total time spent on that transfer.

root@LAB:/media/SREE# time mv /media/Misc/The\ Tree\ of\ Life\ \(2011\)\ DVDRip\ XviD-MAXSPEED/ /media/SREE/

real    11m49.334s
user    0m0.008s
sys 0m5.260s


root@LAB:/media/SREE# df -T|tail -2

/dev/sdb1     vfat     3918344   1679308   2239036  43% /media/SREE

/dev/sda8     ext4   110110576  60096904  50013672  55% /media/Misc

Do you think this is normal?? Approximately 12 minutes for 1.6Gb transfer?

Thanks.

Wed Nov 23 15:14:34 AST 2011
Answer #: 1
This answer has received: 3 Votes.

It sounds like the high number at the start is more of a cache value and when it fills up, Ubuntu is forced to wait for space before writing more.

Try watching iostat -k 5 (5 = 5 seconds refresh) from sysstat package (start it before you start the copy) and see if the write KB/s figure ever approaches 30MB/s – I’m guessing not and it’s writing at a few hundred KB/s the entire way through.

Wed Nov 23 15:40:27 AST 2011
This question and its answers are found at: PC to USB transfer slow

Magical Unchanging Flash Storage

This question has received: 8 Votes.

I have a couple of USB thumbdrives and some SDcards. All of my flash storage devices have the same problem, in 11.04 Ubuntu it looks like I can delete from, save to, even format the devices, but as soon as I unmount them and then look at them in another system or put them back on the Ubuntu system then the old files reappear and the new ones are nowhere to be found.

This includes using Disk Utility to format the drives. (???)

Anybody have a clue what’s wrong with my install? The optical drive (DVD+R) is working fine.

This is all quite entertaining, but I need to be able to use my sdcards.

Tue Feb 07 05:03:06 AST 2012
Answer #: 1
This answer has received: 3 Votes.

This is a caching issue with the kernel’s file system driver. I’ve seen issues like this crop up before and it’s almost certainly that. You need to report a bug and help a developer to discover what is wrong/special with your system in order to get a fix.

https://help.ubuntu.com/community/ReportingBugs

For now, check if you can write to the usb sticks using the Ubuntu LiveCD. Determine what would happen if you were to do a fresh install and then do a fresh install if you need to.

Tue Apr 24 06:08:01 AST 2012
Answer #: 2
This answer has received: 0 Votes.

I had some issue like this, it worked after unmounting the partition (not the USB Stick) in the Disk Utility. After doing that, I was able to format.

Tue Apr 24 08:17:13 AST 2012
This question and its answers are found at: Magical Unchanging Flash Storage

Brightness setting not remembered on an Asus X54H

This question has received: 8 Votes.

So I set the screen brightness using either the function keys or the brightness & lock app. After a reboot or plugging in A/C the brightness goes back to max. When I take A/C off brightness is again reset to maximum. I’d just like Ubuntu to remember what brightness setting I like! Any ideas?

Laptop is an Asus X54H

Sun Apr 15 18:12:48 AST 2012
Answer #: 1
This answer has received: 2 Votes.

1) Edit etc/rc.local and add the below line

echo 4 > /sys/class/backlight/acpi_video0/brightness

Where 4 is the 50 % of brightness. 8 is the maximum

2) reboot

If brightness still goes back to max go to step 3

3) In terminal run the following:

sudo -i
mv /etc/init.d/rc.local /root/
update-rc.d rc.local remove
mv /root/rc.local /etc/init.d/
update-rc.d rc.local defaults

If above 3 steps failed to resolve

Then add sleep 10 to rc.local

Example

sleep 10 
echo 5 > /sys/class/backlight/acpi_video0/brightness
exit 0
Wed Jun 20 18:29:33 AST 2012
Answer #: 2
This answer has received: 1 Votes.

Same problem here on clean installation.

First set your desired brightness value with your function keys.

Now you’re going to identify it on a number scale by typing in a terminal :

cat /sys/class/backlight/acpi_video0/brightness

keep your value in mind and then go edit config file:

sudo gedit /etc/rc.local

and add the following line right before the “exit 0” line

echo x > /sys/class/backlight/acpi_video0/brightness

where x stand for your desired value.

This way:

Valid XHTML.

where 4 is an example of value.

Save the document and exit, now after reboot and ac power plug it will be all fine.

Tue May 08 14:41:11 AST 2012
Answer #: 3
This answer has received: 0 Votes.

1) Add the ikonoba ppa: sudo apt-add-repository ppa:ikoinoba/ppa

2) Install xbrightness-rgbgamma: sudo apt-get install xbrightness-rgbgamma

3) Add xbrightness-rgbgamma 50000 at startup applications (substitute 50000 for a value between 0 and 65535.

Sat Apr 28 02:59:58 AST 2012
Answer #: 4
This answer has received: 0 Votes.

I have the same problem but my laptop does remember the brightness during the connecting and removing the power cord. I faced the problem during the reboots.

Here is the workaround I have done to set the brightness to a value during each reboot.

  1. Install xbacklight ( sudo apt-get install xbacklight )
  2. Adjust the brightness of display.
  3. Open a terminal and run xbacklight -> It will give you the percentage of brightness. In my case it is 53.33
  4. Create a file .xbacklight in your home folder and set the execution permission to the file by “chmod +x .xbacklight”

Add following lines in the file

#!/bin/bash
xbacklight -set <brightnes value you got from step 3>
  1. Add this file you startup applications.

This fixed my issue but you need to figure out how to do the same for A/C adapter.

I do not know why such pervasive issue is still there in Ubuntu.

Thu May 03 18:28:36 AST 2012
Answer #: 5
This answer has received: 0 Votes.

There are some bug reports on launchpad about this issue, but I don’t think there will be a solution anytime soon. Here is one of them: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/870805

It does not look like there is a solution besides manually setting the brightness appropriately (or using some automatic script to do so).

Fri May 11 21:32:22 AST 2012
Answer #: 6
This answer has received: 0 Votes.

The tip from leandro on his own question works great for me:

Problem solved by adding acpi_osi=Linux acpi_backlight=vendor to the line that begins with GRUB_CMDLINE_LINUX_DEFAULT= inside /etc/default/grub

My Ubuntu now always remembers its last brightness settings. No need to set my brightness to an arbitrary value through any scripts 🙂

Mon Jul 09 02:39:09 AST 2012
This question and its answers are found at: Brightness setting not remembered on an Asus X54H