Basic Shell (Console) operation for beginners

Booting, installing, newbie
Message
Author
arun.gm
Posts: 2
Joined: Tue 17 Jul 2012, 11:16

Booting problem in Intel Atom d425kt motherboard

#341 Post by arun.gm »

Hello everybody

Puppy Linux installed from cd to Hdd but not showing desktop..

My Hardware details : Intel Atom 1.8, d425kt motherboard

Pelo

ALL THAT IS CHINESE FOR ME

#342 Post by Pelo »

Sure it's for the beginners ?

edu500ac
Posts: 7
Joined: Tue 01 Jan 2013, 18:21

Question about shell: Dead keys don't work in shell

#343 Post by edu500ac »

I am experiencing a problem with shell. Many languages, like French, Portuguese, Spanish, German, Esperanto and Vietnamese, to name a few ones, add diacritical marks to letters. One can say that 4/5 of the world population speak languages with diacritical marks. The Chinese, for example, use a system, called Hànyǔ pīnyīn, with diacritical marks to write their language, and teach children the pronunciation of traditional Chinese characters.

To add diacritical marks to letters, keyboards have the so called dead keys. If you want to write café, or coup d'état, bon appétit, à la vôtre santé, déjà vu, you need dead keys. The problem is that dead keys don't seem to work on console of Puppy Linux. They work everywhere, except in the console.

If I try to use the mouse and keyboard wizard, I discover that Puppy Linux offer me only one option: No dead keys. I would appreciate if a member of this community could tell me how to activate dead keys for the console.

I tried to edit the file /etc/X11/xorg.conf, without success. By the way, dead keys don't work only in the console. They work very well for everything else. They also work inside Emacs. So, I am forced to use the consoles of Emacs (shell, eshell, ansi-term bash, etc.

It is interesting that dead keys work for Lucid Puppy, but not for the other distributions of Puppy Linux.

Shep
Posts: 878
Joined: Sat 08 Nov 2008, 07:55
Location: Australia

Re: Question about shell: Dead keys don't work in shell

#344 Post by Shep »

edu500ac wrote:If I try to use the mouse and keyboard wizard, I discover that Puppy Linux offer me only one option: No dead keys. I would appreciate if a member of this community could tell me how to activate dead keys for the console.
Unfortunately, this thread is not the appropriate one for your question. I suggest that you try posting as a new thread.

Re your question, I can't help you, but I do know there are a number of terminal emulators. For example, in Dpup Exprimo the menu offers LXTerminal and urvxt-unicode terminal emulators. Maybe try these and see if one does what you desire. But I think someone would know, if you post where they will see it.

Good luck! :)

Agnishom
Posts: 23
Joined: Mon 19 Aug 2013, 12:17
Location: /dev/null

#345 Post by Agnishom »


User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#346 Post by RetroTechGuy »

Agnishom wrote:
This Link didn't work
Looks like Dapper was a Ubuntu release (6.06). What package are you looking for? (and what Puppy are you using?)

https://www.google.com/search?q=ubuntu+dapper

Perhaps try the search link in my sig line -- see if it exists as a .pet, or if there is a discussion about it.
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#347 Post by Flash »

Can you tell us where you found that link?

chapchap70
Posts: 210
Joined: Thu 18 Nov 2010, 05:39
Location: The Island Of Long (NY, USA)

#348 Post by chapchap70 »

Flash wrote:Can you tell us where you found that link?
The dapper link is in the second post of this thread. I would like to work through this as well; maybe someone can give another program that would work in the same way as the O.P. intended in his example?

Edit:

To Agnishom,

I'm going to try to work through the first example from this:


Edit: Removed link; see next post.

Obviously, click on save file. :wink:
Last edited by chapchap70 on Wed 21 Aug 2013, 05:14, edited 1 time in total.

chapchap70
Posts: 210
Joined: Thu 18 Nov 2010, 05:39
Location: The Island Of Long (NY, USA)

#349 Post by chapchap70 »

After trying the ia64 deb, I found it did not work. I am using Fatdog64.

Code: Select all

# ls
zynaddsubfx_2.4.0-1+b1_ia64.deb
# 
# for i in `ls *.deb`; do undeb $i; shift; done
# usr/bin/zynaddsubfx:
sh: usr/bin/zynaddsubfx:: No such file or directory
# usr/bin/zynaddsubfx 
sh: usr/bin/zynaddsubfx: cannot execute binary file


So then I downloaded the AMD deb from here:
http://packages.debian.org/squeeze/zynaddsubfx

I would guess that most puppies would use the i386 deb. Anyway I got this to work so far.

Code: Select all

# ls
zynaddsubfx_2.4.0-1+b1_amd64.deb
# for i in `ls *.deb`; do undeb $i; shift; done
# usr/bin/zynaddsubfx
usr/bin/zynaddsubfx: error while loading shared libraries: libmxml.so.1: cannot open shared object file: No such file or directory

I've got to get some sleep. It seems that I am able to do what the OP intended for his lesson. I'll work on it another day.

chapchap70
Posts: 210
Joined: Thu 18 Nov 2010, 05:39
Location: The Island Of Long (NY, USA)

Ran into a snag.

#350 Post by chapchap70 »

For anyone interested, I ran into a problem and I posted here.
http://www.murga-linux.com/puppy/viewto ... 123#721123

rnDPrc
Posts: 11
Joined: Thu 06 Jun 2019, 20:20

#351 Post by rnDPrc »

Is there anything I need to install to change the volume by the terminal? Tried with retrovol and alsactl but couldn't find anything. Thanks a lot in advance :)

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#352 Post by Keef »

'alsamixer' may be what you want.

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#353 Post by HerrBert »

or try

Code: Select all

amixer --help
syntax in terminal would be:

Code: Select all

amixer sset Master toggle
to toggle mute on/off or

Code: Select all

amixer sset Master 85%
to set volume to specified level

when done, you can save setting with

Code: Select all

alsactl -f /etc/asound.state store
and save to your savefile/folder

rnDPrc
Posts: 11
Joined: Thu 06 Jun 2019, 20:20

#354 Post by rnDPrc »

Thanks a lot for both answers, you guys are very helpful over here :)

HerrBert's answer solved my problem (scripting), thank you!

Post Reply