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 Tue 18 Sep 2018, 11:13
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 9 of 68 [1013 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, ..., 66, 67, 68 Next
Author Message
otoshan

Joined: 10 Jun 2015
Posts: 15

PostPosted: Sat 13 Jun 2015, 07:29    Post subject:  

Good release, thanks. How can i change to non root user account by default?
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 13 Jun 2015, 08:04    Post subject:  

DebianDog has user account puppy included or you can create new user using System -> Add New User GUI menu.
For both versions (Jwm and OpenBox) you can change the default autologin from root to user by editing:

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


For systemd boot change root to puppy (or new created user name) in /etc/systemd/system/getty.target.wants:
Code:
ExecStart=-/sbin/agetty --noclear -a root %I 38400

In case using Jwm version typing in terminal xdm-start will boot to xdm login prompt.
Typing xdm-stop will restore autologin as root.

Toni

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


Joined: 24 Apr 2014
Posts: 66
Location: Rajahmundry, India.

PostPosted: Sun 14 Jun 2015, 00:40    Post subject: very good but not auto saved  

This distro is very good but why can't I autosave? I even downloaded the 1 GB save file and my 250 GB root partition say there is only 30 MB left

http://murga-linux.com/puppy/viewtopic.php?t=99795

_________________
Heaven is positive thinking.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 14 Jun 2015, 01:17    Post subject: Re: very good but not auto saved  

way12go wrote:
This distro is very good but why can't I autosave? I even downloaded the 1 GB save file and my 250 GB root partition say there is only 30 MB left

http://murga-linux.com/puppy/viewtopic.php?t=99795

Please, post which DebianDog iso (download link will help) and the boot code (or boot menu entry title) from grub menu and give more details what is the partition type (ext, fat, ntfs) where DebianDog is installed and how is installed (using DebianDog-installer or different way).
My advice is to use porteus-boot method as closer to puppy linux save options:
http://murga-linux.com/puppy/viewtopic.php?p=774456#774456
In case you used debiandog-installer and it is installed on ext2, ext3 or ext4 partition you should have for example boot title entry "Debian-PorteusDog - changes to /live/ sysvinit" which will auto-save the changes in folder /live/changes. The boot code looks like this one (note uuid number will be different for your partition):
Code:
title Debian-PorteusDog  -  changes to /live/ sysvinit
 uuid '"$UUID"'
 kernel /live/vmlinuz1 from=/ noauto changes=/live/
 initrd /live/initrd1.xz

If you create file changes.dat inside /live (where 01-filesystem.squashfs, vmlinuz and initrd1.xz files are) you can use this boot code to save changes in save file changes.dat (you can also simply rename the 1Gb save file to changes.dat and place it inside live folder):
Code:
title Debian-PorteusDog  -  changes to /live/changes.dat sysvinit
 uuid '"$UUID"'
 kernel /live/vmlinuz1 from=/ noauto changes=/live/changes.dat
 initrd /live/initrd1.xz


way12go wrote:
I need

1. auto save

2. Battery app for laptop

and

3. Backlight set to 10 instead of 100


1. Already answered above. If you still have troubles post the details I asked.

2. Try in terminal:
Code:
apt-get update
apt-get install xbattbar

After installing xbattbar to make it autostart create link in /root/Startup:
Code:
 ln -s /usr/bin/xbattbar /root/Startup

Exit X and startx again. You will see the battery bar indicator.

3. Try installing xbacklight (you need to run apt-get update only one time if you have saving changes working):
Code:
apt-get update
apt-get install xbacklight

Set it from terminal to 10:
Code:
xbacklight -set 10

If it works for you I will attach script with this line to add it in /root/Startup folder and it will be auto-started on boot like xbattbar.

Toni

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


Joined: 24 Apr 2014
Posts: 66
Location: Rajahmundry, India.

PostPosted: Sun 14 Jun 2015, 02:29    Post subject: menu.lst modified and solved
Subject description: menu.lst modified and solved
 

menu.lst modified and solved

Quote:

# menu.lst produced by grub4dosconfig-v1.7
color white/blue black/cyan white/black cyan/black
timeout 0
default 0

title Debian-PorteusDog - changes to /live/ systemd
uuid 5f4b4d23-648e-432d-aaa9-2157a8f5c895
kernel /live/vmlinuz1 from=/ noauto changes=/live/ init=/bin/systemd
initrd /live/initrd1.xz

title Reboot computer
reboot



_________________
Heaven is positive thinking.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
way12go


Joined: 24 Apr 2014
Posts: 66
Location: Rajahmundry, India.

PostPosted: Sun 14 Jun 2015, 03:33    Post subject: Re: menu.lst modified and solved
Subject description: menu.lst modified and solved
 

Quote:
If it works for you I will attach script with this line to add it in /root/Startup folder and it will be auto-started on boot like xbattbar.


It works, thanks a lot.

Please post the script.

Thanks again.

Update:

After restart the backlight is already saved, no need for script.

_________________
Heaven is positive thinking.

Last edited by way12go on Sun 14 Jun 2015, 03:38; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
way12go


Joined: 24 Apr 2014
Posts: 66
Location: Rajahmundry, India.

PostPosted: Sun 14 Jun 2015, 03:37    Post subject: No battery icon  

After I restarted the system there is no battery icon or status.
_________________
Heaven is positive thinking.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 14 Jun 2015, 04:16    Post subject: Re: No battery icon  

way12go wrote:
After I restarted the system there is no battery icon or status.

Install xbattbar
Code:
apt-get install xbattbar
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python
  python-minimal python2.7 python2.7-minimal
Suggested packages:
  python-doc python-tk python2.7-doc binutils binfmt-support
Recommended packages:
  acpi
The following NEW packages will be installed:
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python
  python-minimal python2.7 python2.7-minimal xbattbar
0 upgraded, 8 newly installed, 0 to remove and 21 not upgraded.
Need to get 4105 kB of archives.
After this operation, 16.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y


Create link in /root/Startup:
Code:
ln -s /usr/bin/xbattbar /root/Startup

Check if the xbattbar link is created:
Code:
ls /root/Startup
exec_lxrandr-autostart   freechk  parcellite  xbattbar

Exit X and startx (or reboot).
My battery is dead but there is green line indicator on the bottom and information on mouse over in the middle of the screen. Attached screenshot.

Edit: Maybe it is better to install also the recommended package acpi.
Code:
apt-get install acpi

And reading the description laptop-mode-tools also could be useful package:
Code:
apt-get install laptop-mode-tools hdparm
xbattbar.jpg
 Description   
 Filesize   60.66 KB
 Viewed   2279 Time(s)

xbattbar.jpg


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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 14 Jun 2015, 05:27    Post subject:  

Or just forget about xbattbar and install fdpowermon:
Code:
apt-get install fdpowermon

Then create link in /root/Startup:
Code:
ln -s /usr/bin/fdpowermon /root/Startup

Exit X and startx.
I'm sure you can find more alternatives in Debian repository but fdpowermon seems to work well and it is small (it has less dependencies compared to xbattbar).
To remove xbattbar type:
Code:
apt-get purge xbattbar
apt-get autoremove

And delete ths link /root/Startup/xbattbar from file manager or from terminal:
Code:
rm -f /root/Startup/xbattbar


Edit: fixed typo from fbpowermon to fdpowermon.

Toni
fbpowermon1.png
 Description   
 Filesize   12.74 KB
 Viewed   2215 Time(s)

fbpowermon1.png

fbpowermon2.jpg
 Description   
 Filesize   7.15 KB
 Viewed   2222 Time(s)

fbpowermon2.jpg


_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Sun 14 Jun 2015, 05:54; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
way12go


Joined: 24 Apr 2014
Posts: 66
Location: Rajahmundry, India.

PostPosted: Sun 14 Jun 2015, 05:43    Post subject: sources file problem
Subject description: sources file problem
 


sources file problem


root@jessie:~# apt-get purge xbattbar
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
xbattbar*
0 upgraded, 0 newly installed, 1 to remove and 22 not upgraded.
After this operation, 29.7 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 34725 files and directories currently installed.)
Removing xbattbar (1.4.5-1) ...
Purging configuration files for xbattbar (1.4.5-1) ...
Processing triggers for menu (2.1.47) ...
root@jessie:~# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
root@jessie:~# rm -f /root/Startup/xbattbar
root@jessie:~# apt-get install fbpowermon
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package fbpowermon
root@jessie:~#

_________________
Heaven is positive thinking.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 14 Jun 2015, 05:51    Post subject: Re: sources file problem
Subject description: sources file problem
 

way12go wrote:

sources file problem


E: Unable to locate package fbpowermon

Sorry, way12go, typo error. My mistake.
It is fdpowermon
Not fbpowermon.
I will edit the previous post.

Toni

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


Joined: 24 Apr 2014
Posts: 66
Location: Rajahmundry, India.

PostPosted: Sun 14 Jun 2015, 06:02    Post subject: Problem solved
Subject description: Problem solved
 

Problem solved

Thanks a lot.

_________________
Heaven is positive thinking.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ocpaul20

Joined: 31 Jan 2008
Posts: 255
Location: PRC

PostPosted: Sat 20 Jun 2015, 21:38    Post subject:  

sorry - I got it sorted. Thanks.
===========================
Puppy DebianDog

Title Debian-PorteusDog
uuid 35d41cfe-3964-4255-bf3e-fe9fc7a9406c
kernel /live/vmlinuz1 from=/ noauto changes=/live/saves/
initrd /live/initrd1.xz

_________________
==================
Running DebianDog Jessie Frugal with /live and maybe with changes or savefile or.., who knows?
Back to top
View user's profile Send private message 
augras

Joined: 11 Nov 2013
Posts: 1487
Location: france

PostPosted: Sun 21 Jun 2015, 03:47    Post subject:  

Hello,
I try to use debiandog jessie but how can i do to get french langage ?
Thanks,
Philippe
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 21 Jun 2015, 04:53    Post subject:  

Hi, Philippe.
augras wrote:
...but how can i do to get french langage ?


The locale files are moved in separate sfs (squashfs) module. Download the one for OpenBox or Jwm version from the link in the first post or from sfs-get:
saintless wrote:
To keep the size small as posible all /usr/share/locale files for the included packages are moved in separate squashfs module (00-locale-files-jessie-openbox_xfce.squashfs and 00-locale-files-jwm-icewm-jessie.squashfs) available for download from sfs-get or from here.
In case you like to change the localization install locales and load the module or place it inside /live/image/live to be loaded at boot time.
You can also install localepurge and copy only the language files you need from the squashfs module in /usr/share/locale directory to save space in the future.

If you like to keep the size small as possible just open the squashfs module with single click and copy in /usr/share/locale only the french language folders.

Then install locales and localepurge:
Code:
apt-get update
apt-get install locales localepurge

And reconfigure the localization running in terminal:
Code:
dpkg-reconfigure locales

More information and Russian and Japan examples from Sergey and Balloon you can find here:
http://murga-linux.com/puppy/viewtopic.php?p=750594#750594
http://sakurapup.browserloadofcoolness.com/viewtopic.php?p=19267&sid=48e994a970332073fb1f9e45c9f015f0#p19267
http://murga-linux.com/puppy/viewtopic.php?p=771366#771366
http://murga-linux.com/puppy/viewtopic.php?p=771337#771337
http://murga-linux.com/puppy/viewtopic.php?p=771238#771238

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 9 of 68 [1013 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, ..., 66, 67, 68 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.1020s ][ Queries: 13 (0.0366s) ][ GZIP on ]