The officially official Devuan Forum!

You are not logged in.

#452 Re: Hardware & System Configuration » [SOLVED] Deleted dual boot, how to fix partition resizing problem? » 2018-05-18 19:03:10

Ron

Thanks GNUser. Actually, I just did your instructions. After posting the image, I noticed that sda1 was only half of the full size. (All the previous times I didn't pay any attention to sda1.) So I was able to figure out I first had to resize sda1, then resize sda5. Thanks for pointing me to the right direction, again.  smile

#454 Re: Hardware & System Configuration » [SOLVED] Deleted dual boot, how to fix partition resizing problem? » 2018-05-18 17:34:43

Ron
golinux wrote:

Happy to hear you got that worked out.

That was separate from this issue.

I'm getting the feeling that the only way I can fix this is by a reinstall (or just continuing using half of the hard drive). This is what I'm thinking:

1. Boot into a live session.
2. Delete the Miyo partition, sda5
3. Combine both deleted partitions unallocated space, if necessary
4. Reinstall OS.

Am I on the right track with this? Thanks.

#455 Re: Hardware & System Configuration » [SOLVED] Deleted dual boot, how to fix partition resizing problem? » 2018-05-18 15:44:49

Ron
golinux wrote:

The drive numbering and size/location of the partition on the disk are two different things.

Yes, I know that. When sda6 became sda5, I still had to resize it to get the unallocated space merged into the partition.

#456 Re: Hardware & System Configuration » [SOLVED] Deleted dual boot, how to fix partition resizing problem? » 2018-05-18 15:25:50

Ron
GNUser wrote:

Boot from live disc then use GParted to resize your Miyo partition (make sure the partition isn't mounted).

I've already tried this before my post. It won't let me, and I've tried two times so far.

Panopticon wrote:

You thought partitions would automagically re-allocate?

I'm not assuming, I'm going off of past experience. It did when I was triple booting and deleted the middle partition, sda5. Then sda6 became sda5 (my current sda5).

#457 Hardware & System Configuration » [SOLVED] Deleted dual boot, how to fix partition resizing problem? » 2018-05-18 13:08:37

Ron
Replies: 15

I had been dual booting Miyo and Mint. Mint was on sda2 and Miyo on sda5. I decided to delete the Mint partition since I'm happy with Miyo. I went into Gparted and deleted Mint's partition, so it's now gone. I then tried to increase the size of Miyo's partition using the now unallocated space from the deleted Mint partition, but it won't let me. Thinking it wasn't working because Miyo's partition was mounted, I live booted from a disc and tried it again, but I still can't increase the Miyo partition size. Miyo is still showing as sda5 (I thought it would automatically switch to sda2), can this have something to do with the problem? How do I fix this without resorting to a reinstall? Thanks.

#458 Re: Off-topic » NoScript-like tool for Palemoon 27.9 » 2018-05-18 04:02:04

Ron

You can use "NoScript Classic" (5.1.8.5) on Pale Moon. It's at the link below,  after the first paragraph. Or you can try uBlock Origin as an advanced user (you have to tick "I'm an advanced user" on uBo's dashboard). It will do what you want, but does work a little bit differently than NS. I've switch to it and removed NoScript on my computer, but still have NoScript classic on two other computers in the house.

https://noscript.net/getit

If you decide to go with uBlock Origin, you need the "so-called legacy" version here:

https://github.com/gorhill/uBlock/relea … acy-1.16.4

#460 Re: Off-topic » The Joke Thread » 2018-05-14 12:21:59

Ron

I fail to see the joke. I have two other computers in the house and they are both still running NoScript in Pale Moon. All it takes is to untick the box.

#461 Re: Devuan Derivatives » [SOLVED] [Miyo] Power Manager is missing in my setup » 2018-05-14 12:08:45

Ron

So should I install Xfce's power manager? Or something else?

Another more disturbing question: if Mate's power manager has systemd as a dependency, will the whole Mate desktop one day have it as a dependency?

#462 Re: Devuan Derivatives » [SOLVED] [Miyo] Power Manager is missing in my setup » 2018-05-14 01:06:19

Ron

I don't see that in Synaptic in the list of dependencies. But then, why wouldn't I see upower's Power Manager in Mate's control center? I know it would show Xfce's power manager if it were installed.

#465 Re: Devuan Derivatives » [SOLVED] [Miyo] Power Manager is missing in my setup » 2018-05-13 23:24:06

Ron

I get bash: mate-power-manager: command not found

If I put sudo in front I get: sudo: mate-power-manager: command not found

It doesn't help if I put in mate-power-manager-common either.

EDIT:
I also tried to reinstall it in hopes the same error message would pop up again, but it did not.

#466 Devuan Derivatives » [SOLVED] [Miyo] Power Manager is missing in my setup » 2018-05-13 18:36:40

Ron
Replies: 12

I had forgotten about this little problem I have but was reminded of it through a different problem (which is now solved, I hope). I am posting it here as it is a separate problem (I think so, at least).

As the subject line states, I have no access to the power manager. It usually should be in the Mate Control center, but it's not. I have upower installed. I thought maybe if I installed mate-power-manager-common then the power manager link would show up in the control center, but it did not. Another thing is after installing this, an error message popped up which unfortunately I did not write down. But it is installed according to Synaptic, along with upower.

Is there a way to check which one is running? Or if any? Thanks.

#467 Re: Hardware & System Configuration » [SOLVED] Disabling Hibernation & Suspend » 2018-05-13 18:04:56

Ron

Thanks Rolfie for the suggestion to search askUbuntu. I found something there that seems to be working:

[Disable suspend (upower)]
Identity=unix-user:*
Action=org.freedesktop.upower.suspend
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable suspend (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable suspend when others are logged in (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend-multiple-sessions
ResultActive=no
ResultInactive=no
ResultAny=no

I put this where you suggested (/etc/polkit-1/localauthority/50-local.d) with your file name (enable-shutdown-reboot.pkla), and it seems to be working, even without a reboot. I will continue to monitor this throughout the day (with multiple reboots) and report back.

EDIT:
Didn't notice at first that this only dropped suspend from the shut down menu. So I went back and made this file look like this and that also removed hibernate:

[Disable suspend (upower)]
Identity=unix-user:*
Action=org.freedesktop.upower.suspend
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable suspend (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable suspend when others are logged in (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend-multiple-sessions
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable hibernate (upower)]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable hibernate (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable hibernate when others are logged in (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate-multiple-sessions
ResultActive=no
ResultInactive=no
ResultAny=no

#468 Re: Hardware & System Configuration » [SOLVED] Disabling Hibernation & Suspend » 2018-05-13 16:00:31

Ron

I don't have a policykit-1 folder in /etc . . . but I do have a PolicyKit and a polkit-1 folder.

Also I'm not understanding something. In that other thread you stated you did not enable suspend or hibernate. That's what I want, so why would I use the opposite settings?

#469 Re: Hardware & System Configuration » [SOLVED] Disabling Hibernation & Suspend » 2018-05-13 15:40:32

Ron
rolfie wrote:

have a look at: https://dev1galaxy.org/viewtopic.php?id=2023, I think it will give you some interesting insight.

Read that thread and followed GNUser's advice in installing lightdm and libpolkit-backend-1-0-elogind and libpolkit-gobject-1-0-elogind. I'm still getting suspend and hibernate in the shut down menu. Did I forget to do something else?

BTW, last night I removed hibernate & uswsusp as MiyoLinux wrote. Then I looked up upower in Synaptic to see what would happen if I deleted that also. It would have removed the Mate desktop as well! That doesn't seem right. And I still had suspend and hibernate in the shut down menu.

Also, this reminded me of another thing. In the Mate control center, I don't have any link to Power Management. I downloaded the mate-power-manager-common app, but still no dice. I do remember after installing it some kind of error message popped up which unfortunately I didn't write down.

I have a feeling that all of this is somehow related. Anyone have any advice?

#470 Re: Hardware & System Configuration » [SOLVED] Disabling Hibernation & Suspend » 2018-05-13 02:52:50

Ron

So I went ahead and edited this file. I still get suspend in the shut down menu, and sometimes hibernate. So this "fix" isn't really a fix at all. Is there any other way?

P.S. I always got suspend, and sometimes hibernate even before I edited this file. Why would I sometimes get hibernate, and sometimes not? Also, when I was running Jessie, neither one appeared on the shut down menu.

#471 Hardware & System Configuration » [SOLVED] Disabling Hibernation & Suspend » 2018-05-12 03:26:30

Ron
Replies: 10

I searched online how to get rid of the Suspend and Hibernate options from the shut down menu, and found the following instructions:

There are two sections in this file:
/usr/share/polkit-1/actions/org.freedesktop.upower.policy
the first for suspend and the second for hibernate.
Near the end of each section will be a line with:

     <allow_active>yes</allow_active>

It should be changed from “yes” to “no” to disable hibernate/suspend.

Can someone here verify if this is a correct way to do this? Or, if there is a more correct way to do it?

#472 Re: Installation » On putting boot loader on its own partition » 2018-05-09 01:55:27

Ron
GNUser wrote:

Note that GRUB will look for /boot/grub/grub.cfg on the partition from which you run the grub-install command (i.e., if you run grub-install from your ASCII partition, GRUB will look for /boot/grub/grub.cfg in /dev/sda6)

Thanks for all the info GNUser. My system uses the MBR partition table (thanks for showing me how to check). Here's what happened, I believe. The last OS I installed was ASCII. Now when I deleted Jessie, that caused my ASCII partition, which had been sda6 up to that point, to switch to being sda5 (I wasn't expecting that). So based on what you wrote above (I believe) GRUB was looking  for /boot/grub/grub.cfg in /dev/sda6, which then no longer existed. Does that sound plausible to you?

Also, what makes putting GRUB on its own partition a bad idea? I'm just wondering because that is an option when installing the OS.

Once again, thanks for the help.

#473 Installation » On putting boot loader on its own partition » 2018-05-08 21:01:14

Ron
Replies: 4

A little background: I was tripled-booting Mint, Jessie & ASCII (Miyo). Jessie was on sda5 and ASCII on sda6. Since ASCII runs so well, I decided to delete my Jessie partition and integrate it into my ASCII partition. So I did that (while booted in Mint), but it messed up the grub loader, which I fixed by reinstalling ASCII (I know, that was drastic).

Question: If I had installed grub on its own partition, would that have prevented grub from getting messed up? Also, how big should the separate grub partition be? Thanks!

#474 Re: Devuan » Some ASCII love » 2018-05-08 20:54:03

Ron

I just wanted to post this as a follow up:  ASCII runs so great, that I've deleted Jessie and am running ASCII full-time.

#475 Re: Other Issues » [SOLVED] Alarm Clock App » 2018-05-07 22:22:29

Ron

Thanks MiyoLinux. I already had the "ugly" installed but I needed the "bad." So it's now working. If you can remember how you found out it needed both these plugins, I'd appreciate knowing. I searched last night and came up empty. I did look at the dependencies listed in Synaptic, and I had them all. But gstreamer1.0-plugins-bad wasn't listed in Synaptic. Why would that be? It lists gstreamer1.0-plugins-base & gstreamer1.0-plugins-good. (Is there a gstreamer package that includes all this stuff so a user wouldn't have to download a bunch of different ones?

Thanks again.

Board footer

Forum Software