The officially official Devuan Forum!

You are not logged in.

#251 Re: Devuan Derivatives » Any Devuan-based distros that use Debian's original installer? » 2018-05-15 11:22:46

golinux wrote:

I think maybe without non-free and contrib options + a truly libre kernel

A libre installer that a) installs the linux-libre kernel, b) installs only software from main, and c) puts only main in /etc/apt/sources.list would accomplish that.

IMHO linux-libre should be available in our main repo and a new libre repository would lead to confusion because main is already libre by definition.

#252 Re: Devuan Derivatives » Any Devuan-based distros that use Debian's original installer? » 2018-05-15 02:36:37

How would the proposed libre repo be different from main?

I thought only free software was allowed in main, so we already have a "libre" repo. Am I missing something?

#253 Re: Desktop and Multimedia » Again Mate and permissions problem » 2018-05-10 15:42:15

Those power options in LightDM are greyed out for me, too. I don't know how to fix.

#254 Re: Desktop and Multimedia » always disabling overlay scrollbar in caja file manager [SOLVED] » 2018-05-09 16:35:39

It was a deficiency in sudo's environment, fortunately. Comparing env and sudo env clued me in that my normal environment has GTK_OVERLAY_SCROLLING=0 but sudo environment does not. After realizing this, it was just a matter of figuring out the proper command syntax.

#256 Desktop and Multimedia » always disabling overlay scrollbar in caja file manager [SOLVED] » 2018-05-09 15:35:28

GNUser
Replies: 4

I'm on ASCII with MATE. When I use the caja file manager as regular user, the scrollbar is always there. However, when I use caja as root, the scrollbar disappears when I move my mouse away from it. This happens regardless of which theme I'm using.

I find the disappearing scrollbar profoundly irritating. Here's what I've tried:

- running GTK_OVERLAY_SCROLLING=0 gksudo caja /
- running LIBOVERLAY_SCROLLBAR=0 gksudo caja /
- looking for any installed packages with 'overlay' in its name (found none)
- ran gsettings list-recursively | egrep 'caja|overlay|scrollbar' as both regular user and root, to compare settings (found nothing promising)
- while running caja as root, went through the GUI preferences settings (found nothing about overlay vs. permanent scrollbar)

Please, how do I make the scrollbar stay there when using caja as root?

#257 Re: Installation » On putting boot loader on its own partition » 2018-05-09 03:19:12

Yes, your explanation is correct: When you deleted Jessie, ASCII's partition changed from /dev/sda6 to /dev/sda5, so GRUB could no longer find ASCII's grub.cfg--even though the file still existed--because GRUB was still looking for it in /dev/sda6.

[If GRUB used UUIDs to locate partitions, your partition reshuffling would not have created a problem. However, based on this discussion (see posts #6 and #8) GRUB "remembers" its grub.cfg partition using a single byte, which is enough to store a single digit (e.g., /dev/sda6) but not enough to store the 32 digits of a UUID.]

Are you sure that the option you saw during installation didn't have to do with putting /boot in its own partition? That would make more sense and some people do that. However, putting GRUB in its own partition just doesn't make any sense for a disk with MBR partition table--among other reasons because it would not prevent the kind of issue you experienced. If your impulse to put GRUB in its own partition is to keep it out of harm's way, perching it at the "root" of /dev/sda (which is called its MBR) accomplishes your intent beautifully: It would be very difficult for you or some piece of software to accidentally wipe the disk's MBR.

(In GPT-land everything is different, but I don't want to confuse things since both you and I live in MBR-land.)

#258 Re: Installation » On putting boot loader on its own partition » 2018-05-09 00:45:12

What probably happened is that GRUB was looking for /boot/grub/grub.cfg on your /dev/sda5 (Jessie) partition. When you deleted that partition, GRUB could no longer find its config file.

Does your disk use MBR ("msdos") or GPT partition table? Use sudo parted -l | grep 'Partition Table' to find out. If you are using MBR, best place to install GRUB is generally to the "root" (technically called the MBR) of the disk containing your OS partitions, which would be to /dev/sda in your case (not to /dev/sda5, /dev/sda6, or any /dev/sdaX. Definitely not to a partition just for the bootloader). Like so:

sudo grub-install /dev/sda

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)

If you have a GPT partition table, see this for some background and ask here for help if you need it.

Hope that helps.

P.S. When GRUB fails to find its config file in the future, you can boot your OS this way:

power up your computer

when GRUB first shows up, press 'c' to get a GRUB command prompt, which will look like something like this: grub>

grub> ls # this will show you how GRUB sees your disk and partitions. let's assume it sees your ASCII partition as (ahci0,msdos6)

grub> set root=(ahci0,msdos6)

grub> linux /vmlinuz root=/dev/sda6

grub> initrd /initrd.img

grub> boot

You will then boot to your OS and, when it's running, you can reinstall GRUB (to look for that OS's /boot/grub/grub.cfg) with sudo grub-install /dev/sda

#259 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-08 03:17:33

Glad I could help. It was a lucky guess.

Being paranoid about privacy, I've had to wiggle the mouse plenty of times to help gpg generate key pairs, but then I installed haveged and my mouse wiggling days were over smile

#260 Re: DIY » The hunt for a good browser 2017 edition » 2018-05-08 03:03:12

I've been using Firefox 59 and am very impressed. It is objectively 2x faster than the Firefox-ESR (version 52) in the ASCII repos. Subjectively it feels even faster due to some changes in the user interface.

The easiest way to get it running in ASCII (or Jessie) is to download its AppImage, put the AppImage file anywhere, make it executable, then make /usr/bin/firefox a link to the AppImage. Wife and I are quite conservative in our computing, but we are both very impressed with what Mozilla has accomplished and it would be painful to go back to pre-Quantum (<57) Firefox or any other browser.

The Firefox 59 AppImage (64-bit only) is available here: https://bintray.com/probono/AppImages/d … 4.AppImage

#261 Re: Desktop and Multimedia » Again Mate and permissions problem » 2018-05-08 02:33:05

rolfie, sorry to hear you're still struggling with this. I installed ASCII from a Miyo live image, then proceeded to install MATE and lightdm. It was at that point that all the permissions issues kicked in (any time I tried to use a thumbdrive or even just shut down the machine, I either got a permissions error or things failed silently. Those are the troubles I remember, but there were other similar issues).

For me it was simply a matter of installing two packages (libpolkit-backend-1-0-elogind and libpolkit-gobject-1-0-elogind) and all problems immediately went away. I didn't need to do any configuration, it was truly just a matter of having the right packages. It was only after a few days of everything working that I got brave and uninstalled all the consolekit-related packages, and things simply continued humming along.

If you don't have a strong reason to stick with consolekit, why don't you try your luck with elogind?

#262 Re: Installation » Black Screen on Devuan Ascii - acpi=off solves it (undesirable) » 2018-05-05 18:02:12

Sorry for the overly complicated /etc/apt/preferences.d/pinned-xorg above. Here is a much simpler version, that prevents upgrade of these packages by simply giving highest priority to the currently-installed package versions. It accomplishes the same as the above, but is much easier on the eyes and brain:

Package: xserver-*
Pin: release a=now
Pin-Priority: 1001

Package: x11-*
Pin: release a=now
Pin-Priority: 1001

Package: xfonts-*
Pin: release a=now
Pin-Priority: 1001

Package: xorg*
Pin: release a=now
Pin-Priority: 1001

Package: libpng12-0
Pin: release a=now
Pin-Priority: 1001

#263 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-05 12:22:14

My ASCII+MATE installation also started out as Miyo linux. I've used lightdm, slim, and startx; boot/login time for all of them is about the same (12 seconds; note that I have a SSD).

The bit about login time being shorter when mouse is moved around is very strange. The only process I can think of which is faster when mouse is moved is entropy generation. It wouldn't hurt to install haveged and see if it helps.

#264 Re: Installation » Black Screen on Devuan Ascii - acpi=off solves it (undesirable) » 2018-05-04 23:18:25

lunario wrote:

I am aware that this is not a clean solution, but it solves it for me at least. It also does not allow you to install any ascii packages anymore as soon as you have changed the sources back to jessie of course, but if you really want/need packages from ascii, this works, provided you install them before reinstalling X.

Lunario, I also had severe miscellaneous issues with graphics when I upgraded my ThinkPad (T400 with Libreboot) to Ascii. I found that either downgrading X (as you did) or using linux-libre 4.16.2 kernel fixed my problems.

If you choose to stick with the downgraded X, why don't you pin the downgraded packages so that you can go back to using ascii repositories? You just need to remember to pin not only the X packages you explicitly installed, but also their dependencies.

This was the command I used to install the X packages from Jessie:

sudo apt-get install xorg xserver-xorg xserver-xorg-core xserver-input-all xserver-xorg-video-intel xserver-xorg-video-vesa

Looking in /var/log/apt/history.log shows all those packages and their versions, as well as the dependencies and their versions:

Start-Date: 2018-05-01  18:14:37
Commandline: apt-get install xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-video-intel xserver-xorg-video-vesa
Requested-By: bruno (1000)
Install: xserver-xorg-input-all:amd64 (1:7.7+7), xserver-xorg-input-synaptics:amd64 (1.8.1-1, automatic), xserver-xorg:amd64 (1:7.7+7), xserver-xorg-video-vesa:amd64 (1:2.3.3-1+b3), xserver-common:amd64 (2:1.16.4-1+deb8u2, automatic), xserver-xorg-core:amd64 (2:1.16.4-1+deb8u2), x11-apps:amd64 (7.7+4, automatic), xserver-xorg-input-wacom:amd64 (0.26.0+20140918-1, automatic), x11-session-utils:amd64 (7.7+1, automatic), xserver-xorg-input-vmmouse:amd64 (1:13.0.0-1+b3, automatic), xfonts-75dpi:amd64 (1:1.0.3, automatic), xorg-docs-core:amd64 (1:1.7-1, automatic), xserver-xorg-video-intel:amd64 (2:2.21.15-2+b2), xserver-xorg-input-evdev:amd64 (1:2.9.0-2, automatic), xorg:amd64 (1:7.7+7), xfonts-100dpi:amd64 (1:1.0.3, automatic), xfonts-scalable:amd64 (1:1.0.3-1, automatic), xserver-xorg-input-mouse:amd64 (1:1.9.1-1, automatic), libpng12-0:amd64 (1.2.50-2+deb8u3, automatic)
End-Date: 2018-05-01  18:14:46

So in my case, I created /etc/apt/preferences.d/pinned-xorg  with this in it:

Package: xserver-xorg-input-all
Pin: version 1:7.7+7
Pin-Priority: 1001

Package: xserver-xorg-input-synaptics
Pin: version 1.8.1-1
Pin-Priority: 1001

Package: xserver-xorg
Pin: version 1:7.7+7
Pin-Priority: 1001

Package: xserver-xorg-video-vesa
Pin: version 1:2.3.3-1+b3
Pin-Priority: 1001

Package: xserver-common
Pin: version 2:1.16.4-1+deb8u2
Pin-Priority: 1001

Package: xserver-xorg-core
Pin: version 2:1.16.4-1+deb8u2
Pin-Priority: 1001

Package: x11-apps
Pin: version 7.7+4
Pin-Priority: 1001

Package: xserver-xorg-input-wacom
Pin: version 0.26.0+20140918-1
Pin-Priority: 1001

Package: x11-session-utils
Pin: version 7.7+1
Pin-Priority: 1001

Package: xserver-xorg-input-vmmouse
Pin: version 1:13.0.0-1+b3
Pin-Priority: 1001

Package: xfonts-75dpi
Pin: version 1:1.0.3
Pin-Priority: 1001

Package: xorg-docs-core
Pin: version 1:1.7-1
Pin-Priority: 1001

Package: xserver-xorg-video-intel
Pin: version 2:2.21.15-2+b2
Pin-Priority: 1001

Package: xserver-xorg-input-evdev
Pin: version 1:2.9.0-2
Pin-Priority: 1001 

Package: xorg
Pin: version 1:7.7+7
Pin-Priority: 1001

Package: xfonts-100dpi
Pin: version 1:1.0.3
Pin-Priority: 1001

Package: xfonts-scalable
Pin: version 1:1.0.3-1
Pin-Priority: 1001

Package: xserver-xorg-input-mouse
Pin: version 1:1.9.1-1
Pin-Priority: 1001

Package: libpng12-0
Pin: version 1.2.50-2+deb8u3
Pin-Priority: 1001

And after that, go ahead and restore ascii's /etc/apt/sources.list, do sudo apt-get update, and you're back to installing packages and upgrading your system normally while keeping the downgraded X packages. Surprisingly, this works well--it seems that the X packages are relatively independent from the rest of the system.

#265 Re: Desktop and Multimedia » cannot get VLC hardware acceleration under Ascii/Raspberry Pi 3 » 2018-05-03 18:27:21

fanfoue70 wrote:

I've recompiled VLC for Ascii ARM64 on RPi but cannot get image when using -vout omxil_vout.

How are you compiling? If from upstream non-debianized source code, your custom VLC may be much more different from our repository version than you think, which possibly may account for failure to produce video.

Here are my personal notes on building a .deb from debianized source code. Forgive me if you already know all this. If you do it this way, your custom package is virtually guaranteed to differ from our repository version only in what you change.

$ sudo apt-get install build-essential dpkg-dev fakeroot

make sure /etc/apt/sources.list has at least one deb-src line
(e.g., deb-src http://pkgmaster.devuan.org/merged/ ascii main)

$ sudo apt-get update

$ sudo apt-get build-dep vlc

$ apt-get source vlc

edit source code to taste

$ cd vlc-<version>

$ dpkg-buildpackage -rfakeroot -us -uc
(if this step complains about "missing upstream tarball", add -b flag)  

Sorry I can't be helpful in specifics. Graphics are not my forte.

#266 Re: Other Issues » [SOLVED] DSA-4187-1 Security Update » 2018-05-03 10:48:21

Automatic kernel upgrades only come in if one has the metapackage installed, which you don't have.

Do this: sudo apt-get install linux-image-686-pae then try upgrading your system again. Now (and going forward) you will get the kernel security upgrades automatically smile

(One more question: Do you use GRUB and have multiple OSs installed? If so and if your primary OS--the first one listed in GRUB--is something other than Jessie, you'll need to manually do sudo update-grub in your primary OS in order for GRUB to be "aware" that Jessie has a new kernel.)

#267 Re: Other Issues » [SOLVED] DSA-4187-1 Security Update » 2018-05-03 10:31:58

Can you please post the output of dpkg -l | perl -lane 'print "$F[1] $F[2]" if /^.i/' | grep linux?

#268 Re: Off-topic » In what country are you right Now ? » 2018-05-03 03:22:12

I'm Brazilian but live in the USA with my American wife and two children (third on the way). We have a bilingual home where wife only speaks English to the kids, I only speak Portuguese (and geek) to them smile

Good to meet you guys. This is a nice little community.

-Bruno

#269 Re: Desktop and Multimedia » closing and opening laptop lid maximizes brightness [SOLVED] » 2018-05-02 20:18:42

My gut feeling is that it is a kernel component, too. Thanks for sharing your thoughts. I'm glad that my hunch seems plausible to at least one other knowledgeable user.

Maybe we'll never know for sure, but as long as we're not missing an obvious answer then I'm fine with that.

#270 Re: Desktop and Multimedia » when X is killed, lightdm restarts it [SOLVED] » 2018-05-02 18:56:04

Yes, it works. Wow, that is much simpler. Thank you for that!

#271 Re: Desktop and Multimedia » closing and opening laptop lid maximizes brightness [SOLVED] » 2018-05-02 17:14:28

So I installed acpid and both closing the lid and opening it are events that acpi can catch. I save the brightness on lid close, then restore it on lid open. Now after I open the lid, the brightness is maxed out for a fraction of a second and then acpi restores the saved brightness.

So although I now have a workaround (thank you, devuser!), the main reason I opened the thread is that I would like to know what system component is cranking up the brightness when I open the lid. I know it's not UPower and not acpi (since it wasn't even installed). How do I find out if the culprit is X, the kernel, i915, or something else?

#272 Re: Desktop and Multimedia » when X is killed, lightdm restarts it [SOLVED] » 2018-05-02 12:51:36

ralph.ronnquist: The above works, but I was wondering if we could make it a lot simpler.

Maybe we could simply write a one-liner that does everything we need? I was thinking something like this, but it doesn't work:

sudo service lightdm stop; sudo /sbin/getty 38400 tty7

No luck with this either:

sudo chvt 1; sudo service lightdm stop; sudo /sbin/getty 38400 tty7; sudo chvt 7

Any ideas how to tweak the above so that it works?

#273 Re: Desktop and Multimedia » when X is killed, lightdm restarts it [SOLVED] » 2018-05-02 12:26:12

BEAUTIFUL, ralph.ronnquist! Yes, that does it.

So to summarize:
1. Do the steps in post #9
2. Add the line to /etc/inittab as shown in post #10
3. Bind Control+Alt+Backspace to run the command sudo init 3 (e.g., via xbindkeys)
4. Disable* the system's Control+Alt+Backspace keybinding to kill X server (if your system has that binding)

Now the behavior is exactly what one would expect: Logging out causes LightDM to show a graphical login screen, while Control+Alt+Backspace kills X and lightdm, and the user gets a CLI login prompt in tty7. To return to a graphical session in tty7, user types sudo init 2 (if xinit package is installed, startx also works).

* I don't know a CLI or DE-agnostic way to do this. In MATE: System > Preferences > Keyboard > Layouts > Options > Key sequence to kill the X server > uncheck the Control+Alt+Backspace box

#274 Re: Desktop and Multimedia » when X is killed, lightdm restarts it [SOLVED] » 2018-05-02 11:44:25

fsmithred, here is a variation on your idea that is getting me closer to what I want:

In /etc/init.d/lightdm, change this

# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6

To this

# Default-Start:     2 4 5
# Default-Stop:      0 1 3 6

Then run these commands:

sudo update-rc.d lightdm remove
sudo update-rc.d lightdm defaults

Now switching from runlevel 2 to 3 with sudo init 3 does stop lightdm and X. The only problem with this is that, as in my approach in #7, lightdm quits to a black screen with blinking cursor and not to a prompt.

Isn't there any way for tty7 to be usable after lightdm stops?

#275 Re: Desktop and Multimedia » when X is killed, lightdm restarts it [SOLVED] » 2018-05-02 11:33:13

fsmithred, the runlevel approach is pretty clever.

Normally when I want to remove a symlink for a runlevel, I just go with the absolute easiest way and prepend the link's name with an underscore.

Here's what I tried:

$ sudo mv /etc/rc3.d/{,_}S04lightdm
$ sudo init 3

But the above is not working: Switching runlevels has no discernible effect--I still find myself in my MATE session with both X and lightdm still running. I can confirm that the change in runlevel did occur:

bruno@thinkpad:~$ runlevel
2 3

Any ideas?

Board footer

Forum Software