Porteus tips and tricks

Post tutorials, HOWTO's and other useful resources here.

Re: Porteus tips and tricks

Postby francois » 01 May 2011, 18:47

One more clarification though, if I may. Does that mean that kernel headers and kernel sources from other distributions are any different from what we call the crippled sources?

Regards.
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4580
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

Re: Porteus tips and tricks

Postby fanthom » 01 May 2011, 21:35

"Does that mean that kernel headers and kernel sources from other distributions are any different from what we call the crippled sources?"
yes - porteus crippled sources are just stripped version of full kernel sources. after compilation, full sources takes around 900MB while crippled just 38MB.
crippled sources contains kernel headers + aufs files + kernel config and are specific to porteus version (you cant use crippled sources from porteus v09 in v1.0)

Cheers
Please add [Solved] to your thread title if the solution was found.
User avatar
fanthom
Site Admin
Site Admin
 
Posts: 4476
Joined: 28 Dec 2010, 03:42
Location: Poland, currently - Cork, IE
Distribution: Porteus Kiosk

Re: Porteus tips and tricks

Postby francois » 02 May 2011, 12:14

francois wrote:
Ahau wrote:Hi all,

...
Hi Ahau, could you reedit you first post to mention the copy2ram cheatcode in some way, as we have it. It could be useful for dissemination of porteus on the net:
Porteus on the net

I am looking for a reference to mention that we have this feature in porteus as well. I would use this post as a citation so that we appear in Wikipedia's List of Linux distributions that run from RAM:
Lightweight Linux distribution: Distributions described as lightweight

In addition, in the recent CD's the cheatcodes.txt appear now in /boot/docs, is it possible to take into account of this modification in the first post of this thread.

Naturally, these are only suggestions.


Finally, less necessary as I made a post to clarify the issue of the copy2ram cheatcode:
Cheatcodes in porteus: an example copy2ram
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4580
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

Re: Porteus tips and tricks

Postby Ahau » 13 May 2011, 17:51

Edited original post to include suggestions, thanks everyone!

Please review and provide feedback or suggestions for other tips and tricks. If no further edits are needed, I'll publish this on the website on Monday.

I need to know the key combination for item 13 (opening dmenu in LXDE) -- if no one knows it, I'll delete that item from the list.

Thanks, all!
Please take a look at our online documentation, here. Suggestions are welcome!
User avatar
Ahau
King of Docs
King of Docs
 
Posts: 1331
Joined: 28 Dec 2010, 16:18
Location: USA
Distribution: LXDE & Xfce 32/64-bit

Re: Porteus tips and tricks

Postby 82issa » 14 May 2011, 08:31

Alright bud I believe I found the info on the dmenu thing.
Where it was hiding
~/.config/openbox/lxde-rc.xml
Code: Select all
<!-- Keybind for dmenu -->
    <keybind key="A-F3">
      <action name="Execute">
        <command>/usr/bin/dmenu-bind.sh</command>
      </action>
    </keybind>


keybind key="A-f3" I am translating to alt+f3

I tried out on my 64bit rc2. I am not familiar with this but.
I think this is what we are looking for here.

Posted after 30 minutes:
Oh another thing. These tips and tricks. Would make some great slides for an Installer. You know how most installers have those kinda lame slide shows towting there features while there progress bar pretends to be doing something important.
Sorry guys... I got to go. My girlfriend just casted "get your dirty ass into the shower" on me.
Oh and here is some naked grandpa pictures too.
User avatar
82issa
DOC Team
DOC Team
 
Posts: 127
Joined: 13 Apr 2011, 18:24
Location: USA, NC

Re: Porteus tips and tricks

Postby Ahau » 23 May 2011, 14:14

Thanks. 82issa!

Not a bad idea RE: the slides during install, except...our install takes about 1 second (just long enough to write 512 bytes).

Actually, sometime I'd like to make an install video, and see how short I can make it.

Posted after 2 days 23 hours 55 minutes 3 seconds:
Update -- I added a tip for using magic folders. I also created titles for each tip, so that I can link them from a table of contents once I have this on the main site. I've reordered them a little bit as well.

Posted after 5 days 22 hours 13 minutes 16 seconds:
A big thanks to Hamza for his unseen efforts to save my ass on this one!

Also, the document has been published to the main site, and removed from the first post in this thread, replaced with a link. I'll be doing this with more of our documents, to help reduce multiple versions of the same docs to keep updated. The threads will stay active for folks to continue discussing and asking questions.

Thanks, all!
Please take a look at our online documentation, here. Suggestions are welcome!
User avatar
Ahau
King of Docs
King of Docs
 
Posts: 1331
Joined: 28 Dec 2010, 16:18
Location: USA
Distribution: LXDE & Xfce 32/64-bit

Re: Porteus tips and tricks

Postby Allias » 08 May 2012, 00:47

Ahau wrote:This document has been moved to the main site, please read it here:

http://porteus.org/info/docs/45-other/1 ... ricks.html

Feel free to continue discussing this document, ask questions, or suggest changes in this thread.

Thanks!


Great job, your HOW-TO s are very good for beginners like my self :) keep up the good work!
Allias
Ronin
Ronin
 
Posts: 2
Joined: 08 May 2012, 00:38
Location: /root

Re: Porteus tips and tricks

Postby francois » 10 May 2012, 03:40

Ahau is for sure the king, if not the emperor of the documentation. :Yahoo!:
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4580
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

Re: Correct time on a Linux machine

Postby don570 » 26 Jul 2012, 21:15

On a non-windows machine the time is set wrong.

If you notice this then here are the instructions
as root user or super user --->

The time needs to be 'gmt' rather than 'localtime'.

The way I did this-->

1) Boot Porteus from CD ( or a hard drive partition)

2) At the terminal type
mkdir -p /var/log/setup/tmp

3) Then type
touch /var/log/setup/tmp/utc

4) Launch from terminal the app 'timeconfig'
and set correct timezone

5) logout and log back in
Your time should be correct now.

__________________________________
don570
Contributor
Contributor
 
Posts: 99
Joined: 01 Jun 2012, 01:37
Location: Ontario

Re: Porteus tips and tricks

Postby bigbass » 31 Jul 2012, 18:04

have the Porteus version and the time display in the title bar of your terminal

edit
/root/.bashrc

and add this to the end

Code: Select all
function xtitle()      # Adds some text in the terminal frame.
{
    case "$TERM" in
        *term | rxvt)
            echo -n -e "\033]0;$*\007" ;;
        *)
            ;;
    esac
}
xtitle= xtitle `cat /etc/porteus-version` `date`
User avatar
bigbass
Contributor
Contributor
 
Posts: 151
Joined: 13 Jan 2012, 15:35
Distribution: slackware 14

Re: Porteus tips and tricks

Postby kevjonesin » 23 May 2014, 14:50

The link at the top of this thread ...

This document has been moved to the main site, please read it here:

http://porteus.org/info/docs/45-other/1 ... ricks.html


... is dead/broken. Leads to ...

"500, View not found [name, type, prefix]: phocadocumentation, html, phocadocumentationView"
: }
- - - - – – — "Who is Ed Bernays?" #WhoIsEdBernays
User avatar
kevjonesin
White ninja
White ninja
 
Posts: 22
Joined: 23 May 2014, 14:25
Location: Columbus, OH, USA
Distribution: Porteus 3.0 RazorQt desktop

Re: Porteus tips and tricks

Postby fanthom » 23 May 2014, 22:40

thnaks - will go through the whole porteus website during next two weeks as it got outdated a bit.
wont be able to track all forum links i'm afraid...
Please add [Solved] to your thread title if the solution was found.
User avatar
fanthom
Site Admin
Site Admin
 
Posts: 4476
Joined: 28 Dec 2010, 03:42
Location: Poland, currently - Cork, IE
Distribution: Porteus Kiosk

Re: Porteus tips and tricks

Postby long123 » 17 Jun 2015, 09:24

The cheatcodes.txt file just isnt very clear on how it works and which changes= to use. What I want is to set up the changes.dat file the first time I boot up and then never have to change it or load it again. Being a windows user I find the idea of having to type all this stuff out EVERY time I load the OS to be down right redundant and time wasting
long123
White ninja
White ninja
 
Posts: 5
Joined: 17 Jun 2015, 09:20
Location: hefei
Distribution: long123

Re: Porteus tips and tricks

Postby donald » 17 Jun 2015, 14:05

From cheatcodes.txt:
cheatcodes can be added to the APPEND line of your
/boot/syslinux/porteus.cfg entries...to apply them automatically on every boot.

There is no need to "type all this stuff out EVERY time"
donald
Full of knowledge
Full of knowledge
 
Posts: 996
Joined: 17 Jun 2013, 14:17
Location: Germany
Distribution: Porteus 3.2.2 XFCE 32bit

Re: Porteus tips and tricks

Postby Ed_P » 17 Jun 2015, 15:41

long123 wrote:The cheatcodes.txt file just isnt very clear on how it works and which changes= to use.

Ok.
What I want is to set up the changes.dat file the first time I boot up and then never have to change it or load it again.

Ok. That's the idea how it works and how it is done. You boot Porteus, you use the Porteus Setting app to create the porteussave.dat file, and then you have to manually change the porteus.cfg file to point to the porteussave.dat file you just created. And yes it would be nice if the app did that for you.
Being a windows user I find the idea of having to type all this stuff out EVERY time I load the OS to be down right redundant and time wasting

I think you'll find Linux and Android users feel the same way.

My cheatcode looks like so:
Code: Select all
changes=EXIT:/porteus3.0/changes/porteussave.dat

This option allows my changes to be saved to the .dat file when I shutdown Porteus rather than continueously.

So, after you create the save.dat file and change the porteus.cfg file, reboot. No more typing "all the stuff out EVERY time".
Ed
User avatar
Ed_P
Contributor
Contributor
 
Posts: 2652
Joined: 06 Feb 2013, 23:12
Location: Western NY, USA
Distribution: Cinnamon 3.2.* 64-bit ISO

PreviousNext

Return to Tutorials



Who is online

Users browsing this forum: Google [Bot] and 2 guests