Re: screen doesn't lock anymore when lid closed

2020-04-16 Thread scar

I also tried adding HandleLidSwitchExternalPower=lock and now i have commented 
both out and made a new file /etc/systemd/logind.d/lidswitch.conf with:
HandleLidSwitch=lock
HandleLidSwitchExternalPower=lock

rebooted and it still is ignored.



screen doesn't lock anymore when lid closed

2020-04-15 Thread scar

I just upgraded stable -> testing and now my screen doesn't lock anymore when I 
close the laptop lid.  I already (still) have HandleLidSwitch=lock in 
/etc/systemd/logind.conf but it seems to be ignored now.  Is it a Gnome issue?  
super+L still locks the screen.  Anything else i can check?  Thanks



cannot disable compiz

2012-06-08 Thread scar
i wanted to try out compiz after updating to squeeze, but unfortunately
it's not too stable on my old system and the WM crashes regularly.  so,
i'd like to revert back to the default WM.

i followed http://wiki.debian.org/Compiz to try compiz and now i should
be able to revert back by using this command:

gconftool-2 --type string --set
/desktop/gnome/session/required_components/windowmanager gnome-wm

for some reason though, when i reboot and log back in compiz is still
loading.  i've checked the gconf setting and it is indeed set to
gnome-wm so i'm not sure what's going on.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jqun92$hv9$1...@dough.gmane.org



Re: reduce crypt partition

2011-11-27 Thread scar
Arno Schuring @ 11/27/2011 04:59 AM:
 Advice: use fdisk -u. 
 [..]
 Total sectors = 5119*8192 = 41934848

thank you!!  i added an extra 5120 sectors just to be safe and used
+41939968 in fdisk.  all seems to be working well and i now have ~18G
free space.  i'm surprised and pleased it's so simple to chop up the
partitions like that :)




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jau5fc$o3d$1...@dough.gmane.org



reduce crypt partition

2011-11-25 Thread scar
i need a little help reducing my crypt partition.  when i first
installed debian, i used a rather standard /boot on /dev/hda1 and crypt
on /dev/hda2, using LVM for the rest of the partitions.

i've been following this[1] resize guide and i am at step 5, having
already resized my logical LVM root and physical LVM volumes
successfully.  /boot is about 230M and the rest (~39G) is allocated for
crypt.  inside crypt i now have a 20G physical LVM volume with 512M swap
and 10G root logical volumes, and ~10G free space.  now i just want to
reduce crypt so it is also about 20G, leaving the rest of the ~19G as
free space on the drive.

the final step it seems, before praying, is to delete /dev/hda2 with
fdisk and recreate it with the smaller size.  i'm wondering what the
correct size should be; i'm afraid i might make it too small and then
corrupt everything somehow.  i don't have the same layout as in the
guide since ubuntu does it a little differently with extended
partitions, so a little assistance going through fdisk would be appreciated.

below is some info from fdisk and LVM, let me know if you need more
info.  thanks so much


1.
https://help.ubuntu.com/community/ResizeEncryptedPartitions#Detailed_resizing_.2BAH4_Reducing_an_encrypted_partition

$ sudo fdisk -l

Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3f423f42

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1  31  248976   83  Linux
/dev/hda2  32486438821072+  83  Linux

Disk /dev/dm-0: 39.7 GB, 39751725568 bytes
255 heads, 63 sectors/track, 4832 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 10.8 GB, 10850664448 bytes
255 heads, 63 sectors/track, 1319 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 536 MB, 536870912 bytes
255 heads, 63 sectors/track, 65 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x

Disk /dev/dm-2 doesn't contain a valid partition table
$ sudo pvdisplay
  --- Physical volume ---
  PV Name   /dev/dm-0
  VG Name   graveyard
  PV Size   20.00 GB / not usable 3.81 MB
  Allocatable   NO
  PE Size (KByte)   4096
  Total PE  5119
  Free PE   2404
  Allocated PE  2715
  PV UUID   HMRsf8-1ePs-J33c-4tQu-7MtA-V6dv-O0U10R
$ sudo lvdisplay
  --- Logical volume ---
  LV Name/dev/graveyard/root
  VG Namegraveyard
  LV UUIDC7bLop-WiHU-dwRy-3jBR-k1QP-rQEH-X9Zchr
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size10.11 GB
  Current LE 2587
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   254:1

  --- Logical volume ---
  LV Name/dev/graveyard/swap_1
  VG Namegraveyard
  LV UUIDyyUTnD-JVGR-BzVb-krSR-Mswq-aYoE-9YYfJt
  LV Write Accessread/write
  LV Status  available
  # open 2
  LV Size512.00 MB
  Current LE 128
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   254:2


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jaovee$lkc$1...@dough.gmane.org



Re: Apple iBook power management

2011-08-17 Thread scar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Joel Rees @ 08/16/2011 10:08 PM:
 The module pmu_battery may need to be loaded.
 
 http://blog.davidron.com/2011/01/ibook-battery-indication-in-ubuntu-1004.html

after doing this, the icon says it's always on battery power even when
AC is plugged in.  the 'on battery power' tab showed up, but none of the
settings there have any effect even though the icon indicates the system
is on battery power

 gpmudmon-applet looks to be a possible for monitoring the battery status.

i had to install this manually from the lenny repositories.  it does at
least indicate correctly when the AC power is plugged in, but has no
effect on power management settings

 This page has a bit more information on several topics:
 
 http://ubuntuforums.org/showthread.php?t=1498559

some good info there, i didn't try everything, but the included
xorg.conf doesn't work too well.  the debian default has been fine.

a friend suggested pbbuttonsd, which i've now installed and that seems
to have solved the issue.  screen is dimming and the other options on
the 'on battery power' tab are being recognized!


-BEGIN PGP SIGNATURE-

iEYEAREIAAYFAk5LZxcACgkQXhfCJNu98qAjogCgu3GO/CrnyLY2zIQGor9kl83s
/ZQAn3ghS3z+It+DkeRO97xXUCrE8B2R
=sFck
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/j2fout$e0m$1...@dough.gmane.org



Apple iBook power management

2011-08-16 Thread scar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

i installed squeeze-powerpc on an Apple ibook g4, breathed new life into
this little guy that Apple has kicked to the curb.  i installed gnome,
configured the proprietary wifi drivers, and setup a right-click for the
mouse, and it's all working well.

although it doesn't seem to detect that there's a battery or something.
 if i go into the power management settings, there's no tab for 'on
battery power'.  if i unplug the AC power, the little icon doesn't
change into a battery, it just stays as a plug.

i'm pretty sure during the installation i told it to install the
'laptop' role so i'm not sure what's causing this, or even what to
search for as a solution

-BEGIN PGP SIGNATURE-

iEYEAREIAAYFAk5KD+4ACgkQXhfCJNu98qBnXACfSTRM7XfZO0YUcj4XG4t5kN2j
re8AoJz5ZFkp6kVAD/udn4fpYq8hx40l
=JVOz
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/j2d35i$b87$1...@dough.gmane.org



Re: Synaptic / Could not download all repository indexes

2010-07-18 Thread scar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Andrei Popescu @ 07/18/2010 01:17 AM:
 This was already reported
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525409

good job finding that!  how were you able?  i searched for many strings
in the bugs and didn't find anything

-BEGIN PGP SIGNATURE-

iEYEAREIAAYFAkxD2EUACgkQXhfCJNu98qAHaQCgilf8lpMMoak68Bxh5xlVb4Cl
Af8Ani7qaCQs2XKXoFoTU7pr/6oA49x+
=7vC9
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/i20l87$bf...@dough.gmane.org



Re: Synaptic / Could not download all repository indexes

2010-07-17 Thread scar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Andrei Popescu @ 07/16/2010 11:57 PM:
 On Vi, 16 iul 10, 16:34:59, scar wrote:
 Hello,

 when i try to check for updates with synaptic or the update manager, i
 get that error above.  further information in the error message:

 http://ftp.us.debian.org/debian/dists/lenny/updates/main/source/Sources:
 404 Not Found [IP: 35.9.37.225 80]
 ... 
 $ cat /etc/apt/sources.list
 ... 
 deb http://security.debian.org/ lenny/updates main
 deb-src http://ftp.us.debian.org/debian/ lenny/updates main
 ^^
 This one should be:
 
 deb-src http://security.debian.org/ lenny/updates main

Thanks.  while i never manually edited the sources.list file, i did use
software-properties-gtk to select best server (Main tab, Download From
dropdown menu, Other, select best server button).  it seems like there
is a bug in that algorithm and i was able to reproduce it just now.

after correcting my sources.list with the line you provided and reloaded
my repositories, everything finished fine without any error.  then, i
went back to 'select best server' and, oddly, it picked a server in new
zealand, ftp.nz.debian.org.  i then checked my sources.list and it
looked like this:

$ cat /etc/apt/sources.list
# deb http://ftp.us.debian.org/debian/ lenny main

deb ftp://ftp.nz.debian.org/debian/ lenny main
deb-src ftp://ftp.nz.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src ftp://ftp.nz.debian.org/debian/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

# Backported packages for Debian Lenny
deb http://www.backports.org/debian lenny-backports main contrib non-free
$

and, after checking for updates, i got the initial error again.
-BEGIN PGP SIGNATURE-

iEYEAREIAAYFAkxB/CkACgkQXhfCJNu98qCe5gCguyYboQDvM8ZMYdL0OPgIveM5
pLgAoPeUJ9FT+XquxRxePhco4t7oZZTm
=+Wh+
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/i1su7b$ec...@dough.gmane.org



Synaptic / Could not download all repository indexes

2010-07-16 Thread scar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hello,

when i try to check for updates with synaptic or the update manager, i
get that error above.  further information in the error message:

http://ftp.us.debian.org/debian/dists/lenny/updates/main/source/Sources:
404 Not Found [IP: 35.9.37.225 80]

i did try to change to different servers but i keep getting the same
error.  i think this installation is pretty standard, i haven't
customized it much.  here is my source.list:

$ cat /etc/apt/sources.list
# deb http://ftp.us.debian.org/debian/ lenny main

deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://ftp.us.debian.org/debian/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

# Backported packages for Debian Lenny
deb http://www.backports.org/debian lenny-backports main contrib non-free
$

let me know anything else i can check.

thanks

-BEGIN PGP SIGNATURE-

iEYEAREIAAYFAkxA7KEACgkQXhfCJNu98qCMbACg8SxFoRxIPhoKk6pcbKigfr0a
FQAAoKrlyso0WeOkAiboFgzRSzUPQM6k
=tpaM
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/i1qqb6$n7...@dough.gmane.org