Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 22 Nov 2019, 16:35
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
StretchDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 12 of 13 [187 Posts]   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13 Next
Author Message
sszindian


Joined: 24 Apr 2010
Posts: 799
Location: Pennsylvania U.S.

PostPosted: Wed 24 Apr 2019, 15:47    Post subject: conky clock  

Thanks for the quick response... Yes, I did put a nice mountian-picture (.jpg) as the desktop... have a frugal install with this Dog so updated to the latest kernel... tried PWidgets but they didn't display either... added my lttle 'Cloud Computing For Every Puppy (a.pet) but I don't believe that would cause any problem... added a 'No Blank Screen .pet' (an oldie from way back but works fine). Off hand can't thin of anything else BUT as I get older, that doesn't say much Smile

>>>---Indian------>

_________________
Cloud Computing For Every Puppy (a .pet)
http://murga-linux.com/puppy/viewtopic.php?t=69192
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Wed 24 Apr 2019, 16:15    Post subject:  

Hi sszindian, and what you get when you run conkyclock from terminal ?
I get this (says "syntax error" but despite that, it works well for me (Assuming it's in old syntax and attempting conversion))
Code:
root@live:~# conkyclock
conky: Syntax error (/root/.conky/Analog_clock/conkyrc1:3: unexpected symbol near '#') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (800147) is subwindow of root window (277)
conky: window type - normal
conky: drawing to created window (0x3200001)
conky: drawing to double buffer
conky: Unknown setting 'color10'


Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
sszindian


Joined: 24 Apr 2010
Posts: 799
Location: Pennsylvania U.S.

PostPosted: Wed 24 Apr 2019, 21:37    Post subject: conky clock  

Trying various things, I lost all my savefolder upgrades and a basic stretch now loads and the mouse is totally froze up... so I can't do anything except a hard shut down (several times)... lost a lot of work here!!! Setting StretchDog on the side for now, may get back into it at a later date hard to believe all because of wanting that nice Conky Clock on my desktop Sad

Thanks for your help Fred!

>>>---Indian------>

_________________
Cloud Computing For Every Puppy (a .pet)
http://murga-linux.com/puppy/viewtopic.php?t=69192
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Thu 25 Apr 2019, 03:13    Post subject: Re: conky clock  

sszindian wrote:
Trying various things, I lost all my savefolder upgrades and a basic stretch now loads and the mouse is totally froze up... so I can't do anything except a hard shut down (several times)... lost a lot of work here!!! Setting StretchDog on the side for now, may get back into it at a later date hard to believe all because of wanting that nice Conky Clock on my desktop Sad

Thanks for your help Fred!

>>>---Indian------>


Mmm.. sounds bad, looks like something went wrong earlier which may be also be the reason why conkyclock didn't work.
In case you get back on it later, I'd say it's best to do a fresh install from the ISO.
EDIT: or if you ran upgrade-kernel, restore the .bak files in the live folder to the original, e.g. remove vmlinuz1 first then rename vmlinuz1.bak to vmlinuz1 (and same way for initrd1.xz). And then start with empty savefolder.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
sszindian


Joined: 24 Apr 2010
Posts: 799
Location: Pennsylvania U.S.

PostPosted: Wed 08 May 2019, 22:03    Post subject: new StretchDog  

Back working on a fresh new download and install of StretchDog.

Apparently my original download was corupt causing many problems including the conky-clock which now is beautiful on the desktop, kind of reminds of the old days when regular puppy analog clocks used to work OOTB in pwidgets!!!

Well, installing a piece at a time until I get it where I want it. It is a fantastic program and still has some years of life in it.

Only problem I ran into, Abiword3.0.2 from the PM doesn't want to run? Is this a problem with StretchDog or Abiword3.0.2 or... is there a 'fix' for it?

Thanks for this fine program fred!!!

>>>---Indian------>

_________________
Cloud Computing For Every Puppy (a .pet)
http://murga-linux.com/puppy/viewtopic.php?t=69192
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Fri 10 May 2019, 07:47    Post subject:  

sszindian wrote:
Only problem I ran into, Abiword3.0.2 from the PM doesn't want to run? Is this a problem with StretchDog or Abiword3.0.2 or... is there a 'fix' for it?


Installing package "libgl1-mesa-dri" should fix that, but... note that it's huge (has also as dependency big library libllvm)
EDIT: On the other hand, having "libgl1-mesa-dri" installed gives support for to use 3D programs such as Blender, Google-earth, games, etc...
Don't know if you use 32 or 64-bit, but for 32-bit (only) there's also package "abiword-portable" version 3.0.0 that doesn't need these big dependencies.
If you install that one, better uninstall first the 3.0.2 version (they may bite each other, but not sure about that, to be honest)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
sszindian


Joined: 24 Apr 2010
Posts: 799
Location: Pennsylvania U.S.

PostPosted: Fri 10 May 2019, 11:18    Post subject: Abiword 3.0.2  

Thanks fred!

Abiword 302 works, prints jike a charm!! (Running 64-bit StretchDog)

>>>---Indian------>

_________________
Cloud Computing For Every Puppy (a .pet)
http://murga-linux.com/puppy/viewtopic.php?t=69192
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1389

PostPosted: Sun 19 May 2019, 23:28    Post subject:  

Does the "Kernel Update" script need updating for the 4.9.0.9 kernel that seems to have appeared in synaptic? It doesn't recognize it as a new kernel.

Code:
apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  peasywifi
The following packages will be upgraded:
  linux-image-4.9.0-9-amd64 linux-image-amd64
2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


Chose "no" which is correct, I don't want to use apt-get to upgrade that. Correct?
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Mon 20 May 2019, 14:17    Post subject:  

dancytron wrote:
Chose "no" which is correct, I don't want to use apt-get to upgrade that. Correct?

Yes, correct, it won't do anything for a live system depending on aufs.
The problem is that the stock Debian kernel doesn't have aufs included and also squashfs LZ4 is not supported.
So , indeed as you know, "upgrade-kernel" should be used, but depends on me having to compile aufs and squashfs kernel modules everytime there's a kernel upgrade available, which is a bit of a pain (and I'm most of the time behind), I've been trying to make this automated, but no luck.
For aufs it's possible to automate (as there is package "aufs-dkms" that can create aufs kernel module), but for squashfs-LZ4 I can't figure out how to do it a similar way.

Anyway, using latest upgrade-kernel should work now to upgrade to 4.9.0.9 (using new aufs and squashfs modules compiled for 4.9.0.9 to be copied from github)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 2161

PostPosted: Tue 03 Sep 2019, 15:33    Post subject:  

Someone posted this in another thread:
markwiering wrote:

I have tried DogLinux "Stretch". It looked promising at first glance, but I couldn't configure the keyboard layout "United States International with dead keys", and I also couldn't configure a secondary keyboard layout.

http://murga-linux.com/puppy/viewtopic.php?p=1035980#1035980

but I'm not sure if there is enough info for anyone to offer him/her any help.

_________________
Find me on minds and on pearltrees.
Back to top
View user's profile Send private message Visit poster's website 
williams2

Joined: 14 Dec 2018
Posts: 190

PostPosted: Tue 03 Sep 2019, 19:51    Post subject:  

I think he wanted us-intl and russian phonetic switched using the right control key. This might work:
Code:
setxkbmap -verbose -layout 'ru(phonetic),us(alt-intl)' -option grp:rctrl_toggle

-verbose is optional.
This could run from a script in /root/Startup (in a Pup)
Or from a script that runs if a desktop icon is clicked.

This would change keymaps if left-ctrl+leftshift are pressed.
-option grp:lctrl_lshift_toggle

In the Pup I'm running the names of the keymaps are in
/usr/share/X11/xkb/rules/evdev.lst
or
/usr/share/X11/xkb/rules/base.lst
Code:
cat /usr/share/X11/xkb/rules/evdev.lst | grep -i phonetic | grep -i russ
Back to top
View user's profile Send private message 
williams2

Joined: 14 Dec 2018
Posts: 190

PostPosted: Tue 03 Sep 2019, 20:09    Post subject:  

If you want to be sure it switches to US when the script executes, this should work:
Code:
#! /bin/sh
setxkbmap us
setxkbmap 'us(alt-intl),ru(phonetic)' -option grp:rctrl_toggle
Back to top
View user's profile Send private message 
markwiering

Joined: 11 Oct 2015
Posts: 13

PostPosted: Sat 07 Sep 2019, 18:46    Post subject:  

williams2 wrote:
I think he wanted us-intl and russian phonetic switched using the right control key. This might work:
Code:
setxkbmap -verbose -layout 'ru(phonetic),us(alt-intl)' -option grp:rctrl_toggle

-verbose is optional.
This could run from a script in /root/Startup (in a Pup)
Or from a script that runs if a desktop icon is clicked.

This would change keymaps if left-ctrl+leftshift are pressed.
-option grp:lctrl_lshift_toggle

In the Pup I'm running the names of the keymaps are in
/usr/share/X11/xkb/rules/evdev.lst
or
/usr/share/X11/xkb/rules/base.lst
Code:
cat /usr/share/X11/xkb/rules/evdev.lst | grep -i phonetic | grep -i russ


I sincerely thank you for your useful comment.

I indeed want to have the keyboard layouts "United States International with dead keys" and "Russian", in which "United States International with dead keys" is the default one, while "Russian" is the alternate one (the one being activated when right control is pressed).

I also would like the Scroll Lock LED to be lit when I press right control. Does this command take care of this as well? Very Happy

Anyway, I am going to make a Dog Linux Stretch bootable USB again, boot Dog Linux Stretch and then try out your command. Afterwards, I will tell you whether this has worked. If so, then I will probably switch to DogLinux.

Right now, I have MX Linux installed on my computer. It's a decent and robust OS, but it's a little bit heavy, since the response time when clicking on something is half a second instead of reacting immediately. When I had DogLinux Stretch in Live Mode, it reacted just as fast as Puppy Linux does, which was a huge plus for me, since I seek to combine the responsiveness and lightweightness of Puppy Linux with the power of the apt repository (the ability to install whatever I want with a simple command).
Back to top
View user's profile Send private message 
williams2

Joined: 14 Dec 2018
Posts: 190

PostPosted: Sat 07 Sep 2019, 19:22    Post subject:  

Quote:
I also would like the Scroll Lock LED to be lit

This might work:
Code:
#! /bin/sh
setxkbmap us -option
setxkbmap 'ru(phonetic),us(alt-intl)' -option grp:rctrl_toggle,grp_led:scroll

I don't have a scroll key or led, but it works with my caps led.

There are different keymaps available, for example a us with russian variant.
I'm not sure which one you want.

In the script, the first setxkbmap clears the options and
sets a keymap different from the ones you will set later.
Then when the second setxkdbmap executes, it always
sets the first keymap.
Otherwise, if you have the russian keymap selected,
it won't switch back to the us map.
You might prefer it not to switch when the script runs.
Back to top
View user's profile Send private message 
williams2

Joined: 14 Dec 2018
Posts: 190

PostPosted: Sat 07 Sep 2019, 22:32    Post subject:  

Sorry, you want US to be the default.
It should be:
Code:
#! /bin/sh
setxkbmap us -option
setxkbmap 'us(alt-intl),ru(phonetic)' -option grp:rctrl_toggle,grp_led:scroll


If you are not running as root you may need to use sudo.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 12 of 13 [187 Posts]   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1189s ][ Queries: 12 (0.0043s) ][ GZIP on ]