The officially official Devuan Forum!

You are not logged in.

#1451 Re: Desktop and Multimedia » Obmenu-generator problem » 2020-12-07 18:58:02

Helllo:

MiyoLinux wrote:

Not sure what the problem could be.
... depends according to the "Debian-based" instructions ...

Yes.
And added libtgtk3-perl just in case.  8^)

MiyoLinux wrote:

Did you mistakenly create it as root instead?

I don't think so ...
But given the results, I've been thinking it that I may have.

Altoid wrote:

What am I missing?

MiyoLinux wrote:

elogind commands...
Shutdown = loginctl poweroff
Reboot = loginctl reboot

Thanks for the heads up.
I'll have a look and see how I do with those.

Thanks for your input.

Cheers,

A.

#1452 Re: Desktop and Multimedia » Obmenu-generator problem » 2020-12-06 21:35:44

Hello:

Head_on_a_Stick wrote:

... must be mistaken ...

Quite so.  8^/
Was without my coffee ...

Head_on_a_Stick wrote:

Not sure, sorry. I would investigate ...

I'll have a look and see.
Snooker is a priority.  8^D

Thanks a lot for your help.

Cheers,

A.

#1453 Re: Desktop and Multimedia » Obmenu-generator problem » 2020-12-06 18:33:23

Hello:

Head_on_a_Stick wrote:

You should show us exactly what you are adding ...

Right ...
It is the same stanza I used with the previous OB setup.

## This uses the 'oblogout' menu
{item => ['lxterminal sudo -e shutdown -r now', 'Reboot', 'applications-system']},

and

## This uses the 'oblogout' menu
{item => ['lxterminal sudo -e shutdown -h now', 'Shutdown', 'applications-system']},
Head_on_a_Stick wrote:

This works ...

{item => ['sudo shutdown -r now', 'Reboot']},

... doesn't have an icon ...

Indeed ...
Works as intended.
I used one of the other available icons.

BTW: only those icons are available? ie: the ones with the UUID type names?

Head_on_a_Stick wrote:

... prefer to use obsession to exit the openbox session.

I'm used to ctrl+alt+backspace, fast enough.

Thanks for your input.

Cheers,

A.

#1454 Re: Desktop and Multimedia » Obmenu-generator problem » 2020-12-06 16:27:49

Hello:

Head_on_a_Stick wrote:

Check the installation instructions ...
... link to my Debian packages ...
... decide to use my packages ...

Done.
I was having a hard time with the other install.
Took a while to week everything out.
But finally managed to get it done.

Head_on_a_Stick wrote:

... try to remove the perl modules ...

# cpanm uninstall Linux::DesktopFiles Data::Dump File::DesktopEntry

It only worked with

# cpanm --uninstall Linux::DesktopFiles Data::Dump File::DesktopEntry
Head_on_a_Stick wrote:

HTH

Yes ...
Much easier/straightforward to install.

But I think it may have a problem (?).
It would not pick up xfe, starting Firefox instead.
Again, after a while I managed to get a hold on editing schema.pl and fixed it.

Now I have a problem with a couple of Openbox entries I use frequently.
In my previous non-configurator menu, I had entries for reboot and shutdown.

execute --> lxterminal sudo -e shutdown -r now and execute --> lxterminal sudo -e shutdown -r now.

These still work perfectly well from the command line ie: sudo -e shutdown -r/h now but using the stanza in schema.pl won't work.

What am I missing?

---

dice wrote:

sort of off topic ...

Nah !

dice wrote:

Doesn't have all the functionality of obmenu-generator ...

Let me see if I can get my head around this one first.  8^7
Thanks for the heads up.
---

Thanks in advance,

A.

#1455 Re: Desktop and Multimedia » Obmenu-generator problem » 2020-12-06 10:13:24

Hello:

GlennW wrote:

... permissions for the location "/home/groucho/.config/obmenu-generator"?

Hmmm ...
The wrong ones.

groucho@eee-dev3:~$ ls -l /home/groucho/.config/obmenu-generator
total 8
-rw-r--r-- 1 root root 4986 Dec  5 21:30 schema.pl
groucho@eee-dev3:~$ ls -l /home/groucho/.config
groucho@eee-dev3:~$ ls -l /home/groucho/.config
total 328
--- snip ---
drwxr-xr-x 2 root    root      4096 Dec  5 21:30 obmenu-generator
--- snip ---
groucho@eee-dev3:~$ 
GlennW wrote:

... installer has left the permission to write as root or admin only.

It seems so.
I did follow the instructions, specifically where it said not to use root.
Evidently I did something wrong.

GlennW wrote:

... make the location available to write by the user ...

chown -hR groucho:groucho /home/groucho/.config/obmenu-generator

and

chmod -R 755 /home/groucho/.config/obmenu-generator

That was it.

groucho@eee-dev3:~$ obmenu-generator -p -i
:: A dynamic menu has been successfully generated!
groucho@eee-dev3:~$ 
GlennW wrote:

I hope this helps.

It did.  8^D
Thanks a lot for your input.

Cheers,

A.

#1456 Desktop and Multimedia » Obmenu-generator problem » 2020-12-06 02:17:53

Altoid
Replies: 11

Hello:

Continuing with my 1000HE Beowulf install ...
Trying to set up Openbox to my liking.

I read about it so off I went to https://miyolinux.weebly.com/obmenu-generator.html and followed the instructions for setting up the obmenu-generator.

But I cannot get it to work.
I get these errors:

groucho@eee-dev3:~$ obmenu-generator -p -i
mkdir /home/groucho/.config/obmenu-generator/icons: Permission denied at /usr/bin/obmenu-generator line 208.
groucho@eee-dev3:~$ 
}

if ($with_icons and not -d $icons_dir) {
    remove_database($cache_db);
    require File::Path;
    File::Path::make_path($icons_dir)   <-------------------------------- line 208 (according to jed)
      or warn "$0: can't create icon path `$icons_dir': $!\n";
}
groucho@eee-dev3:~$ obmenu-generator -s -c
Can't open file '/home/groucho/.config/obmenu-generator/config.pl' for write: Permission denied at /usr/bin/obmenu-generator line 265.
groucho@eee-dev3:~$ 
sub dump_configuration {
    require Data::Dump;
    open my $config_fh, '>', $config_file        <--------------------- line 265 (according to jed)
      or die "Can't open file '${config_file}' for write: $!";
    my $dumped_config = q{our $CONFIG = } . Data::Dump::dump(\%CONFIG) . "\n";
    $dumped_config =~ s/\Q$home_dir\E/\$ENV{HOME}/g if ($home_dir eq $ENV{HOME});
    print $config_fh $config_documentation, $dumped_config;
    close $config_fh;
}

No idea as how to deal with this.
Anyone used it?

Thanks in advance,

A.

#1457 Re: Hardware & System Configuration » [SOLVED] Asus 1000HE SATA question » 2020-12-03 14:36:02

Hello:

Altoid wrote:

Maybe the DHs at Intel disabled it?

Came across this, just after I posted.
See http://forum.notebookreview.com/threads/ich7-m.460478/

... the southbridge chipset on this mobo is part of the ICH7-M family and does not support SATA II while its desktop counterpart does.

So, no SATA II for the mobile version.

Cheers,

A.

#1458 Hardware & System Configuration » [SOLVED] Asus 1000HE SATA question » 2020-12-03 14:26:49

Altoid
Replies: 1

Hello:

Sorry if this is a bit OT, but I have not found a valid definitive answer on-line.

I put a spare HDD in my 1000HE to try Beowulf i386.

The drive (Seagate ST9160310AS) has a  SATA 3Gb/s.
http://www.seagate.com/docs/pdf/datashe … 5400_5.pdf

hdparm confirms it:

groucho@eee-dev3:~$ sudo hdparm -I /dev/sda | grep -i speed
[sudo] password for groucho: 
	   *	Gen1 signaling speed (1.5Gb/s)
	   *	Gen2 signaling speed (3.0Gb/s)   <---
groucho@eee-dev3:~$ 

The 1000HE's SATA controller is this one:

groucho@eee-dev3:~$ lspci | grep -i sata
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [AHCI mode] (rev 02)
groucho@eee-dev3:~$ 

I have not seen it in the Asus spec sheet but it is reported that the ICH7-M in the 1000HE is SATA II capable.

But looking at my dmesg output, I see that the SATA link is only 1.5Gbs.

groucho@eee-dev3:~$ sudo dmesg | grep -i sata | grep 'link up'
[    5.362162] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
groucho@eee-dev3:~$

Is this some sort of configuration problem or is it just that the 1000HE is not Sata II?
Maybe the DHs at Intel disabled it?
Would not be at all surprised.

I was planning to get a SSD but if this is locked at 1.5Gbs, I don't think it would make sense.

Thanks in advance,

A.

#1459 Installation » fstab, UUID and SD Card drive letter assignments » 2020-12-03 11:51:00

Altoid
Replies: 2

Hello:

I've been writing/re-writing a few *.iso files to SD Cards for working on my Beowulf+1000HE test installation and using my main box to do so.

My /etc/fstab was supposed to have all drives with their corresponding file system+UUID pairing.

But it turns out that I had forgotten to do add a UUID to a SAS HDD that I later stated using to keep stuff in.
And (as was bound to happen) screwed it up.

Fortunately testdisk and gparted did their job and after a couple of hours things were back to normal.  8^7

1st. question:
If every drive is assigned a file system ie: /dev/sdX and linked to a UUID, am I safe from this happening again?
ie: will file system labels remain unmovable and anything plugged in will use other ie: unused file system labels?

2nd. question:
I have a couple of 500Gb 2.5" SATA drives that get very little or no use these days.
I could mount them inside my box and use them to back up the contents of the different drives I keep stuff in just to be safe, not for fast access.

What method would you suggest to get that done?

Thanks in advance.

Cheers,

A.

#1460 Re: Installation » Beowulf kernel question » 2020-12-02 10:13:58

Hello:

GlennW wrote:

if you use the meta (package) you'll need the version specific (package) too.

fsmithred wrote:

You can uninstall the non-pae kernel after you reboot into the new one.

Right ...

Done.
Now NX protection is active.

Thank you both for your input. 8^D

Best,

A.

#1461 Re: Installation » Beowulf kernel question » 2020-12-01 23:45:30

Hello:

Thanks for the fast reply.  8^)

fsmithred wrote:

Install linux-image-686-pae if you want the metapackage ...
Or else you could install linux-image-<version>-686-pae ...

I was fiddling with the install and ended up installing both.
Seems the metapackage is the best/most convenient option.

Should I uninstall the version specific package?
It's taking up space.

TIA,

A.

#1462 Installation » Beowulf kernel question » 2020-12-01 21:54:08

Altoid
Replies: 5

Hello:

Today I put a spare HDD on my 1000HE to try and see how devuan_beowulf_3.0.0_i386 does there, hardware limitations and all.

Downloaded the netinstall *.iso here: https://files.devuan.org/devuan_beowulf/installer-iso/

groucho@eee-dev3:~$ uname -a
Linux eee-dev3 4.19.0-12-686 #1 SMP Debian 4.19.152-1 (2020-10-18) i686 GNU/Linux
groucho@eee-dev3:~$

A line in dmesg caught my attention:

[    0.000000] Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!

But the Intel Atom N280 inside is PAE able.

groucho@eee-dev3:~$ cat /proc/cpuinfo | grep flags | grep pae
flags		: fpu vme de pse tsc msr *pae* mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm
groucho@eee-dev3:~$ 

It seems I may have installed the wrong kernel?
Can this get fixed without reinstalling?

TIA,

A.

#1463 Re: Desktop and Multimedia » E233: cannot open display » 2020-11-28 16:07:37

Hello:

boycottsystemd wrote:

... no mention about using search engine before posting a question ...

Hmm ...
There is no mention of it because it is basic common sense to do so before posting a question here and in every other forum on the net.
The same way it is basic common sense to then do a search on the site/forum to see if anyone else has come across that problem before you did.
And maybe found (or not) a solution which may have worked for them but not for you.

............................................................................................................................................................................................
Whatever data you find before posting and then share with the forum when you post constitutes relevant information.
............................................................................................................................................................................................

No need to take it as a criticism, HoaS always gives genuinely good advice.

Lighten up ...
There's a deadly pandemic raging outside.

Cheers,

A.

#1464 Re: ARM Builds » Is a Devuan build for the new Apple M1 chip possible? » 2020-11-21 12:01:27

Hello:

steve_v wrote:

... puzzled why anyone would want to run Devuan on Apple hardware.
... buy a better designed machine for a better price ...

Quite so.
+1
What is it about not being able to do whatever you want to do with your (obviously) overpriced, (usually) irrepairable and (mostly) non-upgradeable hardware?
Why it is alluring to so many people?

I wonder if it would be the same if the Apple logo disappeared from their portable's lid and as a consequence, from 90% of movies that feature a laptop in a scene.

A.

#1465 Re: Installation » Friend wants to know ... » 2020-11-20 23:09:43

Hello:

swarfendor437 wrote:

Will Devuan 3.0 run ok on hardware of following specs ...

It's really very easy to find out.

Downoad the desktop-live *.iso, dd it to a USB drive (do read the README.desktop-live.txt first, that's what it is there for) and boot the notebook from that.

If any problems arise, check dmesg to see what's going on and post here.

Cheers,

A.

#1466 Re: Desktop and Multimedia » Thunar folder and file ordering » 2020-11-15 16:50:08

Hello HoaS:

Head_on_a_Stick wrote:

... not saving my preferred setting would irritate me immensely.

Indeed ...
It does irritate me.
Immensely.

But you grasped that already.  8^*
I digress ...

Preferred settings are usually set in a way that they can be recognised as such and are usually referred to as Default settings.
In Thunar: Edit -> Preferences -> File Manager Preferences -> Display -> Default View

The Default View being the one that is there always, no matter what.
ie: the preferred setting

When I click on Name, Size, Type, Date Modified, Permissions or Owner, I am overriding the default setting.

Whoever had this idea at Thunar HQ is (with all due respect) a dick.

Head_on_a_Stick wrote:

Create an executable wrapper script at /usr/local/bin/thunar to reset the property every time the file manager is launched:

#!/bin/sh
xfconf-query --channel thunar --property /last-sort-column --set THUNAR_COLUMN_NAME
/usr/bin/thunar "$@"

Thank you very much for taking the time to write this up for me.
And for improving my foul mood this morning.  8^7

Edit:
While further researching on your lead, I found that property under the thunar Channel using the Settings Editor and saw that it had a check box in the Locked column.

While this would imply that this setting could be locked (?) ie: Thunar would behave as if using the wrapper you wrote up and still be able to sort in a different manner if I wanted to, I am unable to check that box.

Is there a way to lock the setting?

Edit_2:
I don't think this is possible.
The Value for this Property is changed on-the-fly as I use the different sorting options in Thunar.

I expect that locking it would not let me use any other sorting option and that what I need would require a Property called something like default-sort-column with a THUNAR_COLUMN_NAME Value.

Cheers,

A.

#1467 Re: Desktop and Multimedia » Thunar folder and file ordering » 2020-11-15 14:13:54

Hello:

mknoop wrote:

... files and directories for a folder will be listed as they were the last time I opened that particular folder.
Are you not seeing this?

Yes, I am.

The problem arises when you sort files or folders (whichever way) and then exit Thunar.
When you open Thunar again, you get the files sorted the way you did it previously.
ie: it survives a restart.

eg: if you sort files by date in a folder and then exit Thunar, on opening Thunar again, you get the files sorted by date again.
Not according to the default alphabetical sorting.
Yes, you get folders first if you set it that way in File Manager Preferences but the view is not reset to what you can expect to be the default (alphabetical sorting)

I really do not need Thunar to remind me how I sorted my files to be seen the last time I used it.
Why?

Because I will have purposely (or not) forgotten that very unneccesary tidbit of information.
Why?

Because alphabetical is the common sense way to sort anything with a name made up of letters in an alphabet.
Hence the concept of alphabetical.

And it has always been that way, probably from when the dictionary was invented.

Seeing that there is no option to set this type of sorting permanently in File Manager Preferences, it stands to reason that a sort by date action (or any other) is a temporary one.
ie: to specifically find a recently edited/modified file.

Yet the sorting you last used actually survives a Thunar exit/restart, which is quite annoying.
Very Poetteringesque™, if I may say so.

My question would then be: why the flying fuck is this so? is there a way to keep Thunar from doing this?

Cheers,

A.

#1468 Desktop and Multimedia » Thunar folder and file ordering » 2020-11-14 20:59:51

Altoid
Replies: 5

Hello:

One thing I do not like about Thunar (Thunar 1.6.11 in ascii) is how it orders folders and files, placing the last opened file or folder at the top of the list.
Find it quite annoying having to reset it every time.

Anyone know where this specific behaviour is set?

Thanks in advance,

A.

#1469 Re: Installation » two questions, new to Devuan » 2020-11-04 21:54:23

Hello:

caieng wrote:

... sound works now, after reading RELEASE NOTES ...

Hmm ...

Has it occurred to you that there's a reason for the existence of the Release Notes?
Think about it for a while, you may eventually grasp the idea.

caieng wrote:

Very primitive, completely the contrary to the experience with Mint 16, 17....20
... certainly not required to hear music, in running Cinnamon on any other distro ...

I have noticed your not mentioning anyone putting a gun to your head to force you to install and use Devuan.
If, for whatever motive, it is not to your liking, I respectfully suggest you stay with Mint or choose any one of the many available options at your disposal.

caieng wrote:

Why would several forum participants request/demand "relevant troubleshooting information" ...

Because [reasons] ...

*******************************************************************************
The main one being that it is how we do things here at Dev1.
*******************************************************************************

caieng wrote:

What is it about "system D" ...

You may have not read the first few lines on the devuan.org web page:

Devuan GNU+Linux is a fork of Debian without systemd that allows users to reclaim control over their system by avoiding unnecessary entanglements and ensuring Init Freedom.

I'd say that your questions about systemd are something you have to take elsewhere.

You may not notice but I am making an effort to be as polite as possible, so I will end this post in the following manner:

***********************************************************************************************************************************************************************************

I take exception to the tone in your posts as I consider them to be both unwarranted and out of place.
I would personally appreciate your showing more respect to the members of this forum and to those who volunteer their work to keep this site working.

***********************************************************************************************************************************************************************************

Thank you.

A.

#1470 Re: Installation » Sources.list ascii-backports question » 2020-11-03 21:59:12

rolfie wrote:

... backports is pinned down.
If you want packages from backports, you need to enter:

apt -t ascii-backports install wine

Thanks for the heads up.
I'm still trying to learn how to use command line instead of synaptic.

ralph.ronnquist wrote:

... apt policy wine, the backports version(s) have priority 100 which is less than the 500 of the version(s) currently installed.
... 100 is the default priority for backports on the basis that they should not be installed unless explicitly asked ...

I see.
I'll get on to that and see how it goes.

Thanks for your input.

Cheers,

A.

#1471 Installation » Sources.list ascii-backports question » 2020-11-03 20:36:03

Altoid
Replies: 3

Hello:

I run Devuan ascii latest:

groucho@devuan:~$ uname -a
Linux devuan 4.9.0-14-amd64 #1 SMP Debian 4.9.240-2 (2020-10-30) x86_64 GNU/Linux
groucho@devuan:~$ 

This is my sources.list file:

groucho@devuan:~$ more /etc/apt/sources.list
## package repositories

deb http://deb.devuan.org/merged/ ascii main contrib non-free
deb http://deb.devuan.org/merged/ ascii-security main contrib non-free
deb http://deb.devuan.org/merged/ ascii-updates main contrib non-free
deb http://deb.devuan.org/merged/ ascii-backports main contrib non-free 

groucho@devuan:~$ 

I see there is a backport of wine in the ascii repository ...

29 results for "wine" in ascii (in 10.138602ms)

    [ascii-backports] fonts-wine-4.0-2~bpo9+1
    [ascii-backports] libwine-4.0-2~bpo9+1
    [ascii-backports] libwine-dev-4.0-2~bpo9+1
    [ascii-backports] q4wine-1.3.11-1~bpo9+1
    [ascii-backports] wine-4.0-2~bpo9+1
    [ascii-backports] wine64-4.0-2~bpo9+1
    [ascii-backports] wine64-preloader-4.0-2~bpo9+1
    [ascii-backports] wine64-tools-4.0-2~bpo9+1
    [ascii-backports] wine-binfmt-4.0-2~bpo9+1
--- snip ---

... but it is not installed in my system:

groucho@devuan:~$ apt policy wine
wine:
  Installed: 1.8.7-2
  Candidate: 1.8.7-2
  Version table:
     4.0-2~bpo9+1 100
        100 http://deb.devuan.org/merged ascii-backports/main amd64 Packages
        100 http://deb.devuan.org/merged ascii-backports/main i386 Packages
 *** 1.8.7-2 500
        500 http://deb.devuan.org/merged ascii/main amd64 Packages
        500 http://deb.devuan.org/merged ascii/main i386 Packages
        100 /var/lib/dpkg/status
groucho@devuan:~$ 

Does it have to be purposely installed?

Thanks in advance.

A.

#1472 Re: Off-topic » Choose your browser carefully » 2020-11-03 20:06:54

golinux wrote:

... that's the easy way out ...
... everyone to cultivate the concept of personal responsibility.

+1
But gets really messy sometimes.

A.

#1473 News & Announcements » X.Org ------> ex-org? » 2020-10-30 13:39:19

Altoid
Replies: 9

Hello:

While getting my morning dose of espresso and IT news, I came across this article at The Register.

Tim Anderson wrote:

... Adam Jackson, project owner for the X.Org graphical and windowing system still widely used on Linux, said the project has been abandoned ...

Anyone familiar with what it says and the present situation?

Cheers,

A.

#1474 Re: Other Issues » Xsane Image doesn't detect my scanner » 2020-10-17 23:28:32

Hello:

Ron wrote:

... tried to install pyqt4-dbus and pyqt4 ...

Sorry, my fault ...
The package name is python3-pyqt4

Ron wrote:

... did not first uninstall hplip 16. Now I'm glad I didn't.

It's quite allright.
No problem.  8^D

Cheers,

A.

#1475 Re: Other Issues » Xsane Image doesn't detect my scanner » 2020-10-17 21:16:58

Hello:

Ron wrote:

... downloaded from the hplip site.
hplip-3.19.5.run.

Ron wrote:

Here are the pertinent parts.

All parts are pertinent.

Ron wrote:
Following dependencies are not installed.
pyqt5-dbus         
pyqt5

OK

Ron wrote:

... terminal crashes and I'm still on hplip 3.16.11.

You did not purge the previous HPLIP version before trying to install 3.19.5?

I have seen at least two posts on the web where it was said that the previous package had to be cleared out.
Can't find them now but I think you should do that.

Purge the installed version of HPLIP, reboot, make sure your installation is up to date and that there are no missing dependencies.

# apt autoremove --purge hplip

# apt update && apt upgrade && apt install -f

Reboot.
Now try to install the missing dependencies.

From your post I see that the HPLIP installer says it needs pyqt5 and pyqt5-dbus.
But when it tries to install them it bitches about pyqt4 and pyqt4-dbus and crashes.

Does not take into account the dependencies of the dependencies.  8^D

Let's try to install the missing dependencies individually, one by one via apt on the terminal.
Not via the HPLIP installer, evidently it is rather lacking.

ie:

# apt install pyqt4-dbus   <---- *first* the ones that are needed to be able to install the ones HPLIP says it needs
# apt install pyqt4

# apt install pyqt5-dbus   <---- *then* the ones that HPLIP says it needs
# apt install pyqt5

Then, just in case, check for other missing dependencies or updates.
ie:

# apt update && apt upgrade && apt install -f

Stop there (don't install HPLIP yet) and let us know how it went.

Cheers,

A.

Board footer

Forum Software