You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2012-06-06 06:52:37

tradetaxfree
New member
Registered: 2012-06-05
Posts: 2

Fluxbox GTK Logout / Menu Script with Icons

I tried the Arch Perl script but it didn't seem to generate application menu icons so I've modified the Menu & Logout scripts from AntiX to run on Archbang. I've also added (under "Desktop") the entries from the Openbox menu (Screenshots / Eye Candy / Conky / Edit System Files / Input Devices / Screen Resolution / GTK Theme Settings) :

archbang_desktop060612.jpg

The script also creates menu entries for .desktop files in ~/.local/share/applications

The scripts & fluxbox menu are here (8.06kb). Inside the archive are a compressed ~/.fluxbox/menu & /usr/local/bin/ structure containing the python & bash scripts to update the menu & provide the Logout Window. Just unpack & drop them into place.

There are some dependencies for the GTK Dialog & Screenlock:

pacman -S gtkdialog xlockmore

& also for the GUI for inxi:

pacman -S zenity inxi lm_sensors hddtemp mesa-demos

& optionally:

pacman -S bbrun mc

I made the following changes to sudoers:

sudo visudo
# add the following after the root ALL ALL ALL permissions #
# Allow users to Suspend / Hibernate / Shutdown & reboot
your-username ALL = NOPASSWD: /usr/sbin/pm-hibernate
your-username ALL = NOPASSWD: /usr/sbin/pm-suspend
your-username ALL = NOPASSWD: /sbin/reboot
your-username ALL = NOPASSWD: /sbin/halt
your-username ALL = NOPASSWD: /sbin/shutdown

The above is with the 16052012 test ISO's running in Virtualbox with the Shiki Statler Fluxbox Theme & OMG Dark GTK Theme. Hibernation appears to work, I need to test Suspend on a USB stick.

Has anyone tried modifying obpipemenu-places / obrecent.sh to work in Fluxbox ?

Offline

#2 2012-06-06 14:57:19

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,625
Website

Re: Fluxbox GTK Logout / Menu Script with Icons

Thanks for sharing this; will try it..


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

Board footer

Powered by FluxBB