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 Wed 19 Sep 2018, 00:59
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
DebianDog - Jessie (21 June 2017)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 68 of 68 [1013 Posts]   Goto page: Previous 1, 2, 3, ..., 66, 67, 68
Author Message
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 29 Sep 2016, 13:28    Post subject:  

fredx181 wrote:
But if someone would mark this thread as closed, I wouldn't be sad, because it's not fun and/or useful anymore.

Your wish is my command.

There is an e-mail on my github account profile in case you like me to remove any other of yours scripts.

As I wrote - good luck with the community project.
Mine github page has nothing to do with your work and shouldn't stop it.

Pleas everyone - stop posting here. The thread is closed.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
ttuuxxx


Joined: 05 May 2007
Posts: 11193
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 02 Oct 2016, 09:55    Post subject:  

Cleaned up and closed until saintless ask to have it reopened. Respect the developers wishes Guys !!
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Wed 21 Jun 2017, 16:05    Post subject:  

According to this post the thread stays open as a community project:
mcewanw wrote:
As I say, all dogs are community projects; no-one can ask for that work to be locked or deleted without agreement from the other contributors.

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
backi

Joined: 27 Feb 2011
Posts: 1545
Location: GERMANY

PostPosted: Thu 22 Jun 2017, 02:38    Post subject:  

Hi Toni !

It`s a pleasure to see you back in Town ! Very Happy Very Happy Very Happy
NOT kidding........

So Let`s praise the Lord ......Halleluja....!


Regards !
Back to top
View user's profile Send private message 
AndresC2

Joined: 08 Jul 2017
Posts: 50

PostPosted: Tue 03 Oct 2017, 23:25    Post subject: Debian Jessie JWM Tray Launcher  

Very Happy Hi Tony thanks for your response!

http://murga-linux.com/puppy/viewtopic.php?t=111199&start=540

This is my first script.

add another tray in JWM with icons from /etc/jwm/debian-menu and Update when reload script.

default Position New Tray Bottom y="-1" you can change Top y="0"

put JWM-Tray in /home/user and make executable chmod +x.

in .jwmrc add:

<Program icon="your-icon.png" label="JWM Tray">/home/user/JWM-Tray ; jwm -restart</Program>

<Include /home/user/.jwmrc-tray </Include>

your need for test.

apt-get install menu jwm xfe htop

the Script:

#!/bin/bash

# AndresC2 2017-10-03, 'JWM-Tray-Update' for Jessie Debian 8.

grep -Ev "Menu|Programming|touch|JWM|Python|Top|Bash|Dash|Sh|uxterm" /etc/jwm/debian-menu > /tmp/debian-menu

#### Change Text ####
sed -i 's/<Program/<TrayButton/g' /tmp/debian-menu
sed -i 's_</Program>_</TrayButton>_g' /tmp/debian-menu

sed -i 's/confirm="false">/confirm="false">exec:/g' /tmp/debian-menu
sed -i 's/label/popup/g' /tmp/debian-menu

#### htop don't show icon in debian-menu ####
# <Program label="htop" confirm="false">x-terminal-emulator -T "htop" -e sh -c "/usr/bin/htop"</Program>
#### Add icon to Htop ####
sed -i 's/popup="htop"/popup="htop" icon="htop.png"/g' /tmp/debian-menu

#### Add sudo to XFE ####
sed -i 's_exec:/usr/bin/xfe_exec:sudo /usr/bin/xfe_g' /tmp/debian-menu

#### Build JWM-Tray ####
echo ' <?xml version="1.0"?>

<JWM>

<!-- Tray attributes: autohide, width, border, layer, layout, ( y -1 for bottom, 0 for top ) -->
<Tray autohide="false" border="0" y="-1" halign="center" height="35" layout="horizontal">' > /home/user/.jwmrc-tray
echo "" >> /home/user/.jwmrc-tray
cat /tmp/debian-menu >> /home/user/.jwmrc-tray
echo "" >> /home/user/.jwmrc-tray
echo '</Tray>

</JWM>' >> /home/user/.jwmrc-tray

sed -i 's/^ *//g' /home/user/.jwmrc-tray

#sleep 1
#clean up
rm -f /tmp/debian-menu

exit 0

# Thanks
JWM-Tray.gz
Description  remove .gz
gz

 Download 
Filename  JWM-Tray.gz 
Filesize  1.07 KB 
Downloaded  83 Time(s) 
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 852

PostPosted: Mon 03 Sep 2018, 10:29    Post subject:  

Hi Toni!

i couldn't change boot to puppy:

saintless wrote:
change the default autologin from root to user...

you mean root to "puppy"? Smile

Quote:
For sysvinit boot change root to puppy (or newFor sysvinit b created user name) in /etc/inittab:
Code:
1:2345:respawn:/bin/login -f root </dev/tty1 >/dev/tty1 2>&1

is sysvinit boot the default boot?

i pasted this to the bottom of /etc/inittab. Still booting as root.
Code:
1:2345:respawn:/bin/login -f root </dev/tty1 >/dev/tty1 2>&1

How to fix?

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3353
Location: holland

PostPosted: Mon 03 Sep 2018, 10:52    Post subject:  

johnywhy wrote:
i pasted this to the bottom of /etc/inittab. Still booting as root.
Code:
1:2345:respawn:/bin/login -f root </dev/tty1 >/dev/tty1 2>&1


The existing line should be modified, so delete that line at the bottom again, and change root to puppy on that existing line, so becomes:
Code:
1:2345:respawn:/bin/login -f puppy </dev/tty1 >/dev/tty1 2>&


Quote:
is sysvinit boot the default boot?


Yes.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 852

PostPosted: Mon 03 Sep 2018, 14:23    Post subject:  

fredx181 wrote:
The existing line should be modified, so delete that line at the bottom again, and change root to puppy on that existing line, so becomes:
Code:
1:2345:respawn:/bin/login -f puppy </dev/tty1 >/dev/tty1 2>&


Thx, Fred. Suggestion, maybe someone could put that info the doc. saintless' instruction says

Quote:
For sysvinit boot change root to puppy in /etc/inittab:
Code:
1:2345:respawn:/bin/login -f root </dev/tty1 >/dev/tty1 2>&1

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

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 68 of 68 [1013 Posts]   Goto page: Previous 1, 2, 3, ..., 66, 67, 68
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.1232s ][ Queries: 12 (0.0621s) ][ GZIP on ]