Screen Brighness at Live?

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
guiltyking
White ninja
White ninja
Posts: 5
Joined: 23 Oct 2015, 21:58
Distribution: 3.17.4-porteus
Location: istanbul

Screen Brighness at Live?

Post#1 by guiltyking » 23 Oct 2015, 22:11

Porteus works fine at laptop with USBLive. i was about to give 5* this distro till..
Not yet install persistent at USB, after observing an api appears through screen an changing brightness every 10 seconds.
is this a bug or surprise egg for new comers?
How to stop this.?

Forum Tips Collection:
http://www.porteus.org/info/tips-and-tricks.html
-->Safe Browse your System?<-- open browser paste this file://
--> but where do you put the cheatcode before you boot you live CD <--
When the graphical Porteus logo appears with the boot menu, choose your desired menu entry and hit the TAB key,
which will allow you to edit the command line.
changes=/dev/device
changes=/path/
changes=/path/fileSaveSession.dat

All changes made in Porteus are kept in memory until you reboot.
With this boot parameter, you tell Porteus to use a device other than your memory for storing changes.
You can, for example, format your disk partition /dev/sdb2 with some Linux filesystem and then use 'changes=/dev/sdb2'
to store all changes to that partition. If it is a windows filesystem (FAT32/NTFS) you have to create a save.dat file first.
Please read /boot/docs/cheatcodes.txt
btw...why not use a USB-thumb-drive?...much more comfort and ease of use, especially if you want to use additional modules.
-->Default root password for the Live CD<--
root password: toor unless you changed it at some point.
guest password:guest
--> Is there a command to show what USM modules active?<-- ls /mnt/live/memory/images
--> Persistent item in menu from deactivated module<-- First hide it with Sistem - Preferences - Main Menu and reboot it's not there (not even hidden)
-->in order to "uninstall" a program from a module, I have to: Extract the module, Delete the files, Compress the module..
I want to get rid of several programs I don't use (like gimp and pigdin) and it seems a rather complicated and prone-to-error method. Is there any other method?<--

mkdir /tmp/unpacked
xzm2dir /path/to/002-xorg.xzm /tmp/unpacked
ROOT=/tmp/unpacked removepkg gimp
dir2xzm /tmp/unpacked /path/to/002-xorg.xzm

Only 2 comments:
the line ROOT=.... has to be run as root (so a previous su is required)
some of the programs are not in 002-xorg.xzm but in 003-mate.xzm, so I had to repeat the process accordingly
-->Problems with creating save.dat container<--
menu > System Tools>Porteus's Save File manager. .Saving it to the flash drive's porteus folder is fine but do note that Linux is case sensitive, thus Porteus and porteus are two different names so maybe saving it to the flash drive's root might be a better place to start. And no need to get to get carried away with size, start with 512MB and you should be fine. I have one system with one half that.
At some point you will hear about the flash drive's UUID but for the moment lets concentrate on the save.dat file.
Once you have created it, and located it you need to add it to the porteus.cfg file. Something like this:
APPEND initrd=initrd.xz changes=/porteussave.dat
APPEND initrd=initrd.xz changes=EXIT:/porteussave.dat
As for what the difference is between the two check the file:///mnt/sde1/multiboot/Porteus-KDE4-v3.1-i486/boot/docs/cheatcodes.txt file.
Once the cfg file has been changed reboot to impliment it. assuming your flash drive is formatted as FAT and not a Linux format.
-->Can you run multiple instance USM?<-- No.
--><--
Last edited by guiltyking on 24 Oct 2015, 02:47, edited 6 times in total.

User avatar
francois
Contributor
Contributor
Posts: 4902
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Screen Brighness at Live?

Post#2 by francois » 24 Oct 2015, 00:32

@Guilty king:

Welcome to the porteus community.

I had also the same problem of mouse dancing. It was periodic. Actually, it is no present. Here is a solution inspired by the following thread:
https://bbs.archlinux.org/viewtopic.php?id=170784
check out the xorg.conf option Option "VertHysteresis" "integer".

Code: Select all

root@porteus:~# synclient -l
Parameter settings:
    LeftEdge                = 1467
    RightEdge               = 5467
...
...
    HorizHysteresis         = 8
    VertHysteresis          = 8
    ClickPad                = 0
root@porteus:~# synclient -h
synclient: invalid option -- 'h'                                                                                                                     
Usage: synclient [-h] [-l] [-V] [-?] [var1=value1 [var2=value2] ...]                                                                                 
  -l List current user settings                                                                                                                      
  -V Print synclient version string and exit                                                                                                         
  -? Show this help message                                                                                                                          
  var=value  Set user parameter 'var' to 'value'.                                                                                                    
root@porteus:~#    
I imagine that:

Code: Select all

synclient VertHysteresis=4
or 5, 6 should do the job.
Voltaire: Le mieux est l'ennemi du bien.

guiltyking
White ninja
White ninja
Posts: 5
Joined: 23 Oct 2015, 21:58
Distribution: 3.17.4-porteus
Location: istanbul

Re: Screen Brighness at Live?

Post#3 by guiltyking » 24 Oct 2015, 01:15

francois wrote: I had also the same problem. It was periodic. Actually, it is no present. Here is a solution inspired by the following thread:
https://bbs.archlinux.org/viewtopic.php?id=170784
I'll check it. are you sure periodical screen brightness change 57-100 percent is related to synaptics?
i have closed touchpad.
also changed those values at console.
still working.

User avatar
francois
Contributor
Contributor
Posts: 4902
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Screen Brighness at Live?

Post#4 by francois » 24 Oct 2015, 02:28

Display brightness variation.
This is not a problem that I had faced. However, here is what I found, hoping that it will help:
https://sites.google.com/site/easylinux ... erformance
https://bbs.archlinux.org/viewtopic.php?id=182262

From the second link, I would try xbacklight with the following value:
https://bbs.linuxdistrocommunity.com/di ... brightness

Code: Select all

root@porteus:~# usm -u all
root@porteus:~# usm -g xbacklight
...
...
1) xbacklight-1.2.1-x86_64-1.txz
#? 

Code: Select all

xbacklight -set 70
Voltaire: Le mieux est l'ennemi du bien.

guiltyking
White ninja
White ninja
Posts: 5
Joined: 23 Oct 2015, 21:58
Distribution: 3.17.4-porteus
Location: istanbul

Re: Screen Brighness at Live?

Post#5 by guiltyking » 24 Oct 2015, 02:46

francois wrote:Display brightness variation.

Code: Select all

xbacklight -set 70
root@porteus:~# xbacklight -set 70
No outputs have backlight property


thx. page help me find this

Code: Select all

root@porteus:~# xrandr | grep -w connected | cut -f1 -d" "
LVDS-1
root@porteus:~# xrandr --output LVDS-1 --brightness 0.2
But that bug still appears to change brightness but this time it can'T.
Dude, this is really annoying.
still screw my eyes. lowering n rising ill put it 0.1

User avatar
francois
Contributor
Contributor
Posts: 4902
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Screen Brighness at Live?

Post#6 by francois » 24 Oct 2015, 04:03

What are your screen and video card specs?
Voltaire: Le mieux est l'ennemi du bien.

guiltyking
White ninja
White ninja
Posts: 5
Joined: 23 Oct 2015, 21:58
Distribution: 3.17.4-porteus
Location: istanbul

Re: Screen Brighness at Live?

Post#7 by guiltyking » 27 Oct 2015, 02:03

francois wrote:What are your screen and video card specs?
1:00.0 VGA compatible controller: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] (rev 01) (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer Device 0669
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 9
Memory at c0000000 (32-bit, prefetchable)
Memory at f9000000 (32-bit, non-prefetchable)
Expansion ROM at <unassigned> [disabled]
Capabilities: [60] Power Management version 2
Capabilities: [70] AGP version 3.0

same problem poteus xfce :ROFL:

i have try at least 10 distros. only porto does this.

User avatar
francois
Contributor
Contributor
Posts: 4902
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Screen Brighness at Live?

Post#8 by francois » 27 Oct 2015, 03:46

Try this package:
http://pkgs.org/slackware-14.1/slackwar ... 2.txz.html

Right click on the package once downloaded and txz2xzm, and transfer to /porteus/modules foleder and reboot porteus. It should work out of the box.

If not we will find someone for the fine tuning.
Voltaire: Le mieux est l'ennemi du bien.

guiltyking
White ninja
White ninja
Posts: 5
Joined: 23 Oct 2015, 21:58
Distribution: 3.17.4-porteus
Location: istanbul

Re: Screen Brighness at Live?

Post#9 by guiltyking » 11 Jan 2016, 13:25

francois wrote:Try this package:
http://pkgs.org/slackware-14.1/slackwar ... 2.txz.html

Right click on the package once downloaded and txz2xzm, and transfer to /porteus/modules foleder and reboot porteus. It should work out of the box.

If not we will find someone for the fine tuning.
/mnt/sda1//multiboot/Porteus-MATE-v3.1-x86_64/porteus/base/xf86-video-openchrome-0.3.3-x86_64-2.xzm

wont help.

same USB live works fine new generation laptops. problem is about VIA card configuration.
system info: http://pastebin.com/B0vFbQaf

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: Screen Brighness at Live?

Post#10 by phhpro » 11 Jan 2016, 22:05

...
Last edited by phhpro on 04 Feb 2016, 03:35, edited 1 time in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Screen Brighness at Live?

Post#11 by brokenman » 11 Jan 2016, 23:47

That's a private pastebin link.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply