Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openbox + Lightdm: Session restore & GUI mount permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Amity88
Apprentice
Apprentice


Joined: 03 Jul 2010
Posts: 209
Location: Third planet from the Sun

PostPosted: Fri Jun 02, 2017 3:44 pm    Post subject: Openbox + Lightdm: Session restore & GUI mount permissio Reply with quote

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
View user's profile Send private message
Hieronymus Bosch
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2015
Posts: 75
Location: 31°45′33.14″N 106°29′24.63″W

PostPosted: Fri Jun 02, 2017 4:56 pm    Post subject: Reply with quote

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

Code:


xbacklight -set  x



Where X is the percentage of brightness.
_________________
Details fueled any investigation ...
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5588
Location: Removed by Neddy

PostPosted: Fri Jun 02, 2017 5:29 pm    Post subject: Reply with quote

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 &



_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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