The officially official Devuan Forum!

You are not logged in.

#351 Hardware & System Configuration » occasional boot hang on ascii [SOLVED] » 2018-03-29 16:10:41

GNUser
Replies: 26

Approximately 1 out of every 5-10 boots hangs on my T400 with ASCII. It seems to be completely random.

When it happens, the usual boot messages scroll by without any errors and then the messages are cleared to a black screen as usual, but instead of my desktop appearing the screen stays black with cursor blinking in the upper left corner of the screen. The only way forward is to press and hold the power button until system is off then power up again (or do SysRq + r-e-i-s-u-b).

Has anyone else experienced this? If not, can you help me troubleshoot? I guess setting up saved boot logs would be a first step?

#352 Re: Off-topic » how to force scrollbar buttons on all desktop themes [SOLVED] » 2018-03-27 22:07:22

xunilog, I'm really happy you found my hack to be useful smile

BTW, I added a comment to the above code to show what to change if you wish to customize the color of the scrollbar when you hover over it with the mouse. Search for "customize mouse hover color".

#353 Re: Off-topic » how to force scrollbar buttons on all desktop themes [SOLVED] » 2018-03-20 23:17:33

I think it's a slightly different issue. The issue I'm having is that all of the recently-created themes I downloaded (e.g., from gnome-look.org) have only a skinny "modern" scrollbar without scrollbar buttons. Just forcing these themes to show the scrollbar buttons by changing "has-backward-stepper" and "has-forward-stepper" to true in the theme's css files is not satisfactory, as scrollbar buttons do show up but both the scrollbar and the buttons look weird because the themes do not include a design for the buttons.

My solution is a complete, traditional scrollbar-with-buttons design that overrides whatever scrollbar is specified in the selected theme.

Just to clarify: I was able to solve my problem. I created the thread only in the hope that my solution may be useful to others who want to use a modern theme but override its vestigial toolbar with something more traditional.

#354 Off-topic » how to force scrollbar buttons on all desktop themes [SOLVED] » 2018-03-20 20:05:06

GNUser
Replies: 5

All nice-looking themes these days seem to think that scrollbar buttons are obsolete. Old habits die hard, and the UI designer masterminds are going to have to rip my scrollbar buttons from my cold dead hands.

I came up with a solution that gives me a nice scrollbar with buttons regardless of selected theme. By putting the code below in ~/.config/gtk-3.0/gtk.css I can have the same exact, traditional scrollbar across all themes available on my machine:

@define-color scrollbar_theme_fg_color #000000; 
@define-color scrollbar_theme_bg_color #eeeeee;  
@define-color scrollbar_core_color_b #eeeeee;
@define-color scrollbar_insensitive_fg_color shade(@scrollbar_core_color_b, 0.70);
@define-color scrollbar_internal_element_insensitive_color @scrollbar_insensitive_fg_color;
@define-color scrollbar_theme_text_color #000000;

/* junction */

@define-color scrollbars_junction_bg_color @scrollbar_theme_bg_color;

/* trough */

@define-color scrollbar_trough_border_color shade(@scrollbar_core_color_b, 0.67);

@define-color scrollbar_trough_gradient_a shade(@scrollbar_core_color_b, 0.86);
@define-color scrollbar_trough_gradient_b shade(@scrollbar_core_color_b, 0.90);

/* slider */

@define-color scrollbar_slider_bg_color shade(@scrollbar_core_color_b, 1.03);

@define-color scrollbar_slider_gradient_a @scrollbar_slider_bg_color;
@define-color scrollbar_slider_gradient_b shade(@scrollbar_core_color_b, 0.98);
@define-color scrollbar_slider_gradient_c shade(@scrollbar_core_color_b, 0.94);
@define-color scrollbar_slider_gradient_d shade(@scrollbar_core_color_b, 0.88);

@define-color scrollbar_slider_border_color mix(#000000, shade(@scrollbar_core_color_b, 0.72), 0.95);

@define-color scrollbar_slider_inner_border_color shade(@scrollbar_core_color_b, 1.04);

/* slider hover */

@define-color scrollbar_slider_hover_bg_color shade(#5294e2, 1.03); /* customize mouse hover color by changing #5294e2 to your desired color */

@define-color scrollbar_slider_hover_gradient_a @scrollbar_slider_hover_bg_color;
@define-color scrollbar_slider_hover_gradient_b shade(@scrollbar_core_color_b, 1.00);
@define-color scrollbar_slider_hover_gradient_c shade(@scrollbar_core_color_b, 0.98);
@define-color scrollbar_slider_hover_gradient_d shade(@scrollbar_core_color_b, 0.96);

/* button */

@define-color scrollbar_button_color @scrollbar_theme_fg_color;
@define-color scrollbar_button_insensitive_color @scrollbar_internal_element_insensitive_color;
@define-color scrollbar_button_border_color shade(@scrollbar_core_color_b, 0.56);

@define-color scrollbar_button_gradient_a shade(@scrollbar_core_color_b, 1.07);
@define-color scrollbar_button_gradient_b shade(@scrollbar_core_color_b, 1.02);
@define-color scrollbar_button_gradient_c shade(@scrollbar_core_color_b, 0.99);
@define-color scrollbar_button_gradient_d shade(@scrollbar_core_color_b, 0.95);

/* button hover */

@define-color scrollbar_button_hover_gradient_a shade(@scrollbar_core_color_b, 1.07);
@define-color scrollbar_button_hover_gradient_b shade(@scrollbar_core_color_b, 1.05);
@define-color scrollbar_button_hover_gradient_c shade(@scrollbar_core_color_b, 1.02);
@define-color scrollbar_button_hover_gradient_d shade(@scrollbar_core_color_b, 0.97);

/* button active */

@define-color scrollbar_button_active_gradient_a shade(@scrollbar_core_color_b, 0.95);
@define-color scrollbar_button_active_gradient_b shade(@scrollbar_core_color_b, 0.92);
@define-color scrollbar_button_active_gradient_c shade(@scrollbar_core_color_b, 0.89);
@define-color scrollbar_button_active_gradient_d shade(@scrollbar_core_color_b, 0.85);

scrollbar {
    background-image: none;
    border-style: solid;
    border-color: @scrollbar_trough_border_color;
    -GtkScrollbar-has-backward-stepper: true;
    -GtkScrollbar-has-forward-stepper: true;
    box-shadow: none;
    border-image: none;
}

scrollbar.vertical {
    border-width: 0px 0px 0px 1px;
    min-width: 14px;
}

scrollbar.horizontal {
    border-width: 1px 0px 0px 0px;
    min-height: 14px;
}

scrollbar trough {
    border-style: solid;
    border-color: @scrollbar_trough_border_color;
}

scrolledwindow junction {
    background-image: none;
    background-color: @scrollbars_junction_bg_color;
}

scrollbar.horizontal trough {
    min-height: 14px;
    border-radius: 0px;
    border-width: 0px 1px 0px 1px;
    border-image: none;
    background-image: -gtk-gradient (linear,
                      left top,
                      left bottom,
                      color-stop (0, @scrollbar_trough_gradient_a),
                      color-stop (0.5, @scrollbar_trough_gradient_b));
}

scrollbar.vertical trough {
    min-width: 14px;
    border-radius: 0px;
    border-width: 1px 0px 1px 0px;
    border-image: none;
    background-image: -gtk-gradient (linear,
                      left top,
                      right top,
                      color-stop (0, @scrollbar_trough_gradient_a),
                      color-stop (0.5, @scrollbar_trough_gradient_b));
}

/* Buttons */
scrollbar.vertical button,
scrollbar.vertical .button {
    min-width: 14px;
    min-height: 16px;
    padding: 1px 0px;
}

scrollbar.horizontal button,
scrollbar.horizontal .button {
    min-width: 16px;
    min-height: 14px;
    padding: 0px 1px;
}

scrollbar.vertical button.up,
scrollbar.vertical .button.up {
    -gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
}

scrollbar.vertical button.down,
scrollbar.vertical .button.down {
    -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}

scrollbar.horizontal button.up,
scrollbar.horizontal .button.up {
    -gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
}

scrollbar.horizontal button.down,
scrollbar.horizontal .button.down {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
}

scrollbar button,
scrollbar .button {
    border-image: none;
    border-style: none;
    border-width: 0px;
    border-radius: 0px;
    background-image: none;
    background-color: transparent;
    color: @scrollbar_theme_text_color;
    border-style: solid;
    border-color: transparent;
}

scrollbar button:hover,
scrollbar .button:hover {
    border-image: none;
    border-style: none;
    border-width: 0px;
    border-radius: 0px;
}

scrollbar button:disabled,
scrollbar .button:disabled {
    color: @scrollbar_button_insensitive_color;
    border-image: none;
    border-style: none;
    border-width: 0px;
    border-radius: 0px;
}

scrollbar.horizontal button,
scrollbar.horizontal .button {
    background-image: -gtk-gradient (linear,
                      left top,
                      left bottom,
                      from (@scrollbar_button_gradient_a),
                      to (@scrollbar_button_gradient_d));
}

scrollbar.horizontal button:hover,
scrollbar.horizontal .button:hover {
    background-image: -gtk-gradient (linear,
                      left bottom,
                      left top,
                      from (@scrollbar_button_hover_gradient_a),
                      to (@scrollbar_button_hover_gradient_d));
}

scrollbar.horizontal button:hover:active,
scrollbar.horizontal .button:hover:active {
    background-image: -gtk-gradient (linear,
                      left top,
                      left bottom,
                      from (@scrollbar_button_active_gradient_a),
                      to (@scrollbar_button_active_gradient_d));
}

scrollbar.vertical button,
scrollbar.vertical .button {
    background-image: -gtk-gradient (linear,
                      left top,
                      left bottom,
                      from (@scrollbar_button_gradient_a),
                      to (@scrollbar_button_gradient_d));
}

scrollbar.vertical button:hover,
scrollbar.vertical .button:hover {
    background-image: -gtk-gradient (linear,
                      left top,
                      left bottom,
                      from (@scrollbar_button_hover_gradient_d),
                      to (@scrollbar_button_hover_gradient_a));
}

scrollbar.vertical button:hover:active,
scrollbar.vertical .button:hover:active {
    background-image: -gtk-gradient (linear,
                      left top,
                      right top,
                      from (@scrollbar_button_active_gradient_a),
                      color-stop (0.50, @scrollbar_button_active_gradient_b),
                      color-stop (0.50, @scrollbar_button_active_gradient_c),
                      to (@scrollbar_button_active_gradient_d));
}

scrollbar.vertical slider,
scrollbar.vertical .slider {
    min-width: 14px;
    min-height: 42px;
    margin: 0px -1px 0px -1px;
}

scrollbar.horizontal slider,
scrollbar.horizontal .slider {
    min-width: 42px;
    min-height: 14px;
    margin: -1px 0px -1px 0px;
}

scrollbar slider,
scrollbar .slider {
    background-color: @scrollbar_slider_bg_color;
    background-image: none;
    border-radius: 0;
    border-style: solid;
    border-image: none;
    border-color: @scrollbar_slider_border_color;
    border-width: 1px;
}

scrollbar slider:hover,
scrollbar .slider:hover {
    background-color: @scrollbar_slider_hover_bg_color;
}

scrollbar slider {
    background-repeat: no-repeat;
    background-position: center center;
}

scrollbar.vertical slider {
    background-image: linear-gradient(to right,
                          alpha (@scrollbar_slider_inner_border_color, 0.5),
                          alpha (@scrollbar_slider_gradient_a, 0.5) 1px,
                          alpha (@scrollbar_slider_gradient_b, 0.5) 50%,
                          alpha (@scrollbar_slider_gradient_c, 0.5) 50%,
                          alpha (@scrollbar_slider_gradient_d, 0.5) 95%,
                          alpha (@scrollbar_slider_inner_border_color, 0.5)),
                      url("/opt/scripts/media/scrollbar/slider-vert-grip.png");
}

scrollbar.horizontal slider {
    background-image: linear-gradient(to bottom,
                          alpha (@scrollbar_slider_inner_border_color, 0.5),
                          alpha (@scrollbar_slider_gradient_a, 0.5) 1px,
                          alpha (@scrollbar_slider_gradient_b, 0.5) 50%,
                          alpha (@scrollbar_slider_gradient_c, 0.5) 50%,
                          alpha (@scrollbar_slider_gradient_d, 0.5) 95%,
                          alpha (@scrollbar_slider_inner_border_color, 0.5)),
                      url("/opt/scripts/media/scrollbar/slider-horz-grip.png");
}

scrollbar.vertical slider:hover {
    background-image: linear-gradient(to right,
                          alpha (@scrollbar_slider_inner_border_color, 0.5),
                          alpha (@scrollbar_slider_hover_gradient_a, 0.5) 1px,
                          alpha (@scrollbar_slider_hover_gradient_b, 0.5) 50%,
                          alpha (@scrollbar_slider_hover_gradient_c, 0.5) 50%,
                          alpha (@scrollbar_slider_hover_gradient_d, 0.5) 95%,
                          alpha (@scrollbar_slider_inner_border_color, 0.5)),
                      url("/opt/scripts/media/scrollbar/slider-vert-grip.png");
}

scrollbar.horizontal slider:hover {
    background-image: linear-gradient(to bottom,
                          alpha (@scrollbar_slider_inner_border_color, 0.5),
                          alpha (@scrollbar_slider_hover_gradient_a, 0.5) 1px,
                          alpha (@scrollbar_slider_hover_gradient_b, 0.5) 50%,
                          alpha (@scrollbar_slider_hover_gradient_c, 0.5) 50%,
                          alpha (@scrollbar_slider_hover_gradient_d, 0.5) 95%,
                          alpha (@scrollbar_slider_inner_border_color, 0.5)),
                      url("/opt/scripts/media/scrollbar/slider-horz-grip.png");
}

/*********************
 * GtkScale's slider *
 *********************/
 
scale slider,
scale.horizontal slider {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-horz.png");
}

scale slider:hover,
scale.horizontal slider:hover {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-horz-hover.png");
}

scale slider:disabled,
scale.horizontal slider:disabled {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-horz-insensitive.png");
}

scale.vertical slider {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-vert.png");
}

scale.vertical slider:hover {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-vert-hover.png");
}

scale.vertical slider:disabled {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-vert-insensitive.png");
}

scale.horizontal.marks-before slider {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-horz.png");
}

scale.horizontal.marks-before slider:hover {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-horz-hover.png");
}

scale.horizontal.marks-before slider:disabled {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-horz-insensitive.png");
}

scale.vertical.marks-before slider {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-vert.png");
}

scale.vertical.marks-before slider:hover {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-vert-hover.png");
}

scale.vertical.marks-before slider:disabled {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-vert-insensitive.png");
}

scale.horizontal.marks-after slider {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-horz.png");
}

scale.horizontal.marks-after slider:hover {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-horz-hover.png");
}

scale.horizontal.marks-after slider:disabled {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-horz-insensitive.png");
}

scale.vertical.marks-after slider {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-vert.png");
}

scale.vertical.marks-after slider:hover {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-vert-hover.png");
}

scale.vertical.marks-after slider:disabled {
    background-image: url("/opt/scripts/media/scrollbar/scale-slider-vert-insensitive.png");
}

Hopefully the above will work for you with only minimal alteration. The only thing you need to do for sure is get the few image files that are required (you can get them from my file storage here: http://files.dantas.airpost.net/public/scrollbar.tar.gz) and change every instance of /opt/scripts/media/scrollbar in the above code to where you put the image files on your system.

Enjoy!

P.S. It seems excessive to need so many lines of code for just a scrollbar, but I guess gtk programmers are not into golfing. (I fished out the code from a theme that gave me the scrollbar I wanted, so I'm not to blame for the verboseness smile)

#355 Re: Hardware & System Configuration » how to make Thinkpad's Thinklight brighter? » 2018-03-17 06:32:28

I tried booting a Linux Mint live image from USB stick. Same thinklight intensity, same directories in /sys/class/leds/ (i.e., some tpacpi::foo directories in there, but no tpacpi::thinklight).

The problem must be a bad LED or Libreboot bug. Sorry for the noise.

#356 Re: Hardware & System Configuration » how to make Thinkpad's Thinklight brighter? » 2018-03-17 05:44:30

I only know how to load a live image via the libreboot menu. Nevertheless, I'll try it and will report back.

#357 Re: Hardware & System Configuration » how to make Thinkpad's Thinklight brighter? » 2018-03-17 05:18:57

Good thought, golinux. Unfortunately, on a Libreboot system it is impossible to bypass Libreboot AFAIK, since it is Libreboot itself that loads live disks and passes on basic hardware data to them. (I think the same is true even for stock BIOS, but don't quote me bc I'm over my head in such low-level stuff.)

#358 Re: Hardware & System Configuration » how to make Thinkpad's Thinklight brighter? » 2018-03-17 02:28:48

Thanks, ralph.ronnquist. I hadn't looked in there. After reading your post I snooped around in that directory but didn't find anything related to the thinklight.

I did some more tests and realized that even while at the GRUB menu, I'm able to toggle the thinklight on and off and its intensity is identical to what is is while running Devuan ASCII, Debian Jessie, or Arch Linux. I think that pretty much rules out a system configuration or init issue.

Acpid and the kernel are probably completely unaware that the thinklight exists. I'm starting to think that the dim thinklight is due to either a BIOS bug (my laptop has Libreboot) or a bad LED.

#359 Hardware & System Configuration » how to make Thinkpad's Thinklight brighter? » 2018-03-16 19:45:35

GNUser
Replies: 7

I'm trying to make the ThinkLight brighter on my T400 ThinkPad, as it currently can be toggled on and off (via Fn + PgUp) but is so faint as to be totally useless. "ThinkLight" is the LED above the screen that can be used to illuminate the keyboard at night.

It looks like this: Thinklight.jpg

It would be nice to try editing the contents of /sys/class/leds/tpacpi:thinklight/brightness, except that this file does not exist on my system (it does exist on some systems according to this). In fact, even though acpid is running and thinkpad_acpi kernel module is loaded, I have no evidence that acpid can detect the thinklight (e.g., /sys/class/leds/tpacpi::thinklight directory does not exist even though other /sys/class/leds/tpacpi::foo directories do exist).

If I could make acpi detect the thinklight, perhaps /sys/class/leds/tpacpi:thinklight/brightness would appear, I could edit it, and find joy.

Does anyone know how to make acpid detect a component it seems to be ignoring (or how to make the Thinklight brighter through some other means)?

#360 Re: Desktop and Multimedia » toggling hidden files in caja changes directory to /proc or / » 2018-03-14 16:54:20

golinux, I thought it was weird that you said "I am blind without seeing hidden files at all times" because this is the icon I had selected to show in my notification area when hidden files are being shown:

eye.png

Haha, what are the odds?

#361 Re: Desktop and Multimedia » toggling hidden files in caja changes directory to /proc or / » 2018-03-14 15:56:15

If I keep finding these annoying little bugs, I may eventually switch to XFCE, too. As much as I love MATE, it has definitely gotten sloppy.

Not to be ungrateful (MATE is both libre and gratis, after all), but you'd think that toggling hidden files and mounting run-of-the-mill Android phones are things that file managers should be able to do out-of-the-box these days, without nasty surprises.

#362 Re: Desktop and Multimedia » toggling hidden files in caja changes directory to /proc or / » 2018-03-14 15:29:52

Thanks for your help, catprints. It was helpful to know that another Devuan ASCII + MATE user was experiencing the same thing, since that confirms that this is caused by a bug and not by some misconfiguration on my system.

This behavior bothers me enough that for the time being I've remapped control+h to run this script of mine:

#!/bin/sh

current_state=$(gsettings get org.mate.caja.preferences show-hidden-files)
if [ "$current_state" = "false" ]; then
	gsettings set org.mate.caja.preferences show-hidden-files true # to show regular user's hidden files
	sudo gsettings set org.mate.caja.preferences show-hidden-files true # to show root user's hidden files
else
	gsettings set org.mate.caja.preferences show-hidden-files false
	sudo gsettings set org.mate.caja.preferences show-hidden-files false
fi

Here's a prettier version that puts an icon in the taskbar while hidden files/folders are visible (requires yad to be installed):

#!/bin/sh

icon=/path/to/your/icon.png

current_state=$(gsettings get org.mate.caja.preferences show-hidden-files)
if [ "$current_state" = "false" ]; then
	gsettings set org.mate.caja.preferences show-hidden-files true # to show regular user's hidden files
	sudo gsettings set org.mate.caja.preferences show-hidden-files true # to show root user's hidden files
	yad --notification --image=$icon --text="Showing hidden files" --no-middle &
else
	gsettings set org.mate.caja.preferences show-hidden-files false
	sudo gsettings set org.mate.caja.preferences show-hidden-files false
	pkill -f "Showing hidden files"
fi

It's a workaround and not a fix, of course, but I want the unexpected teleports to other filesystem locations to stop right away. Hopefully a caja expert will come along and offer us a proper fix.

#364 Re: Desktop and Multimedia » toggling hidden files in caja changes directory to /proc or / » 2018-03-14 14:33:05

I will try reinstalling, wouldn't hurt.

Expected behavior when I press control + h in the file manager is to toggle visibility of hidden files and directories in the directory I'm in, not to take me to another directory (/proc, /, or anywhere else).

When you press control + h caja takes you to file systems? That's unexpected behavior, similar to what I'm experiencing.

#365 Desktop and Multimedia » toggling hidden files in caja changes directory to /proc or / » 2018-03-14 12:24:41

GNUser
Replies: 10

I noticed a strange bug in caja. If I'm inside a hidden directory (e.g., ~/.config) and toggle hidden files by pressing control + h, caja changes directory to /proc or / (root directory). This is quite disorienting.

I have absolutely no idea how to begin troubleshooting this. Any ideas? I hope one of you guys can help, as I don't think a MATE-specific forum exists anymore (notice the forums listed here: https://mate-desktop.org/community/).

Details:
Devuan ASCII
MATE version 1.16.2
Caja version 1.16.6-1+deb9u1

P.S. I also asked in the debian forum (for more eyeballs). The post is here: http://forums.debian.net/viewtopic.php? … 46&start=0

#366 Re: Desktop and Multimedia » mtp device shown twice when plugged into ascii laptop » 2018-03-12 19:13:01

A quick follow-up:

When my Android phone is mounted by jmtpfs, I can perform all these operations from within the file manager (caja) on my Devuan laptop without any problems:
  - copy and paste files in either direction (phone <-> laptop)
  - cut and paste files in either direction (phone <-> laptop)
  - create new files on the phone
  - delete files from the phone
  - open and view files on the phone

However, jmtpfs mounts the phone in such a way that GUI applications such as pluma cannot modify files on the phone--I am able to start editing files that are on the phone, but I get an I/O error when I try to save the modified file. I did some duck-ducking and it seems this a known mtp limitation (https://askubuntu.com/questions/284762/ … why/421503).

Interestingly, gvfs (when it works) mounts my phone in such a way that pluma and other GUI applications can modify and save files on the phone. How does gvfs-mtp-volume-monitor magically work around an mtp limitation? I'd love to learn the trick so that I can implement it in my workaround. Anybody know?

#367 Re: Other Issues » policykit-1, polkit, polkitd authentication problems » 2018-03-07 20:12:34

rfgmm, when I installed ascii then mate desktop, I was having similar problems. Polkit was installed but the system would not allow me (as regular user) to mount or unmount usb drives, nor shutdown/reboot using the power button on my taskbar.

For me, the solution was to install these two packages: libpolkit-backend-1-0-elogind libpolkit-gobject-1-0-elogind and reboot.

#369 Re: Desktop and Multimedia » alternative to mate-power-manager for ascii? [SOLVED] » 2018-03-04 00:43:03

Thanks for clarifying, catprints. Oops, I guess this whole thread was moot. Yes, I can see mate-power-manager-common is available for installation. I had assumed that mate-power-manager-common was a dependency and that mate-power-manager (which I couldn't find) was the main package. I feel silly.

Nevertheless, since we are on the topic, this is my /etc/apt/sources.list:

deb http://pkgmaster.devuan.org/merged/ ascii 			main
deb http://pkgmaster.devuan.org/merged/ ascii-security	main
deb http://pkgmaster.devuan.org/merged/ ascii-updates	main

How are http://deb.devuan.org/merged/ and http://pkgmaster.devuan.org/merged different? Is one more "correct"?

#370 Re: Desktop and Multimedia » how to unmount fuse mount using desktop icon? » 2018-03-03 15:08:06

Thanks, fsmithred. I did solve it that way (with .desktop file that runs the fusermount command). Take a look at the link in first post.

#371 Re: Desktop and Multimedia » alternative to mate-power-manager for ascii? [SOLVED] » 2018-03-03 15:05:14

I also have "main", "ascii-security main", and "ascii-updates main", but the http part is different. I don't have access to the machine now, so will provide the http part later. Mate-power-manager is definitely not available for installation, but it seems my sources.list may be the culprit.

#372 Re: Desktop and Multimedia » alternative to mate-power-manager for ascii? [SOLVED] » 2018-03-03 00:36:42

Hey, different strokes for different folks. MATE is free software and, in my opinion, the pieces that work work well and stay out of my way.

I tried XFCE when I first switched to Devuan and found it just isn't as polished as MATE. For instance, I spent weeks patching Thunar and xfdesktop just to get basic niceties that I get out-of-the-box with Caja.

If/when MATE becomes contrib or non-free (or if it starts pushing me around and breaking my stuff like systemd), I will gladly give it the boot.

#373 Re: Hardware & System Configuration » "Authentication failure" and no login prompt in tty1-tty6 [SOLVED] » 2018-03-02 00:30:15

By trial and error and a little luck, I was able to figure it out: My /etc/inittab was messed up.

I changed this:

1:2345:respawn:/bin/login -f user </dev/tty1 >/dev/tty1 2>&1
2:23:respawn:/bin/login -f user </dev/tty2 >/dev/tty2 2>&1
3:23:respawn:/bin/login -f user </dev/tty3 >/dev/tty3 2>&1
4:23:respawn:/bin/login -f user </dev/tty4 >/dev/tty4 2>&1
5:23:respawn:/bin/login -f user </dev/tty5 >/dev/tty5 2>&1
6:23:respawn:/bin/login -f user </dev/tty6 >/dev/tty6 2>&1

...to this:

1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

...and the problem went away. I don't know much about /etc/inittab so it was just a combination of duck-ducking and comparing the inittab in ascii to the one I had in my devuan jessie partition.

#374 Re: Hardware & System Configuration » "Authentication failure" and no login prompt in tty1-tty6 [SOLVED] » 2018-03-02 00:15:49

After logging in manually, I found something slightly different in one of the other (non-X) virtual consoles:

Authentication failure
INIT: Id "4" respawning too fast: disabled for 5 minutes
Authentication failure
INIT: Id "3" respawning too fast: disabled for 5 minutes
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "5" respawning too fast: disabled for 5 minutes
INIT: Id "6" respawning too fast: disabled for 5 minutes
Authentication failure
Authentication failure
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: No more processes left in this runlevel
Authentication failure
Authentication failure
Authentication failure
Authentication failure
Authentication failure
Authentication failure

#375 Hardware & System Configuration » "Authentication failure" and no login prompt in tty1-tty6 [SOLVED] » 2018-03-01 22:38:44

GNUser
Replies: 2

I'm sorry to ask yet another question in this forum. I know I've asked a lot lately...

I'm on ASCII with MATE and lightdm. When I try to change from the console running my X session to any other virtual console (for example, by pressing Ctrl + Alt + F1), instead of getting the expected login prompt I'm seeing "Authentication failure" multiple times and no login prompt. Therefore, only tty7 with the X session is usable because I cannot login to tty1-tty6.

For example, after pressing Ctrl + Alt + F1 I see this:

Authentication failure

Authentication failure

_

There are actually many more than two "Authentication failure"s but you get the idea. The underscore represents the blinking cursor. There is no login prompt and pressing Enter has no effect. Therefore, there I can't do anything in tty1--all I can do is press Ctrl + Alt + F7 to return to the graphical session.

I tried disabling autologin in lightdm, but the same exact thing happens after manual login into the graphical session.

Any idea how to prevent the authentication failures and get a login prompt when I switch virtual consoles?

Board footer

Forum Software