View previous topic :: View next topic |
Author |
Message |
Amity88 Apprentice


Joined: 03 Jul 2010 Posts: 246 Location: Third planet from the Sun
|
Posted: Fri Jun 02, 2017 3:44 pm Post subject: Openbox + Lightdm: Session restore & GUI mount permissio |
|
|
Hi guys,
I did a light weight installation on my laptop by having OpenBox as the window manager and LightDM for session management. Brightness control is handled by XFCE4-power-manager and file management is done using PCmanFM. This is a hardened gentoo installation. I'm facing a couple of issues (listed below). Any help/guidance is much appreciated.
1) Each time I reboot my PC, the brightness resets to 100%. It doesn't remember the adjustments across sessions/reboots. How can it be configured to remember that?
2) PCmanFM displays the windows partitions in the bar, but when I try to mount it displays an error : "Not authorized to perform operation". How can it be configured to graphically ask for root password and then mount the partition? I've already tried installing gksudo, but that didn't work. _________________
Ant P. wrote: | The enterprise distros sell their binaries. Canonical sells their users. |
Also... Be ignorant... Be happy!  |
|
Back to top |
|
 |
Hieronymus Bosch Tux's lil' helper


Joined: 29 Jan 2015 Posts: 76 Location: 31°45′33.14″N 106°29′24.63″W
|
Posted: Fri Jun 02, 2017 4:56 pm Post subject: |
|
|
I have a similar problem with the brightness, the "solution" that I used was :
1) Install xbacklight
Code: |
# emerge -av xbacklight
|
2) Put a xbacklight command into .bashrc, thus every time you open a terminal your brightness is set
Where X is the percentage of brightness. _________________ Details fueled any investigation ... |
|
Back to top |
|
 |
Naib Watchman


Joined: 21 May 2004 Posts: 5881 Location: Removed by Neddy
|
Posted: Fri Jun 02, 2017 5:29 pm Post subject: |
|
|
Code: |
[jrb@fluidmotion:~] $ head -n 20 .config/openbox/autostart
#!/bin/bash
#. $GLOBALAUTOSTART
WALLPAPER="/home/jrb/Pictures/wallpaper-WoT.jpg"
feh --bg-scale "$WALLPAPER" &
if [[ $(pgrep pcmanfm) ]];
then true;
else pcmanfm --daemon-mode &
fi
#cairo-compmgr &
compton -bcCGfF -o 0.38 -O 200 -I 200 -t 0 -l 0 -r 3 -D2 -m 0.88
xrdb -merge $HOME/.Xresources &
|
_________________ https://www.otw20.com/ Where you can talk |
|
Back to top |
|
 |
|