Empty Trash Bin Option

I am using Slackware 14.1, with the KDE desktop environment.

How do I add the option "Empty Trash Bin" to the trash bin icon that is shown in the command line at the bottom of the screen? If I right-click the icon I only see options "Trashcan Settings" (which does not offer what I want!) and "Unlock Widgets".

I currently empty the trash bin by left-clicking on it and using Konqueror.


Similar Content



What Happened To Trashcan Icon In Linux Mint 17.1, It Disappeared

An answer was posted for linuxmint 11 but,in mint 17 the advanced option does not exist in accessories menu. It also is not in apps/nautilus/desktop via gconf-editor all options are checked here but still no trashcan?
Right click does show "Move to Trash" option but I want trashcan icon on desktop for simple drag and drop. It was around in Linux mint 17 but not in 17.1?

The Trash Has Reached Its Maximum Size! Cleanup The Trash Manually.

when i want to delete a file to go to my trash there is a warning message that i get,it is as follows:"The trash has reached its maximum size!
Cleanup the trash manually."
what is the possible solution to this problem,i am using kubuntu!!

Bash Script For Xfce4 Powermanager Settings Switching Forth And Backward

i need a bash script to switch to zero second on ac the waiting time for turning off the monitor (highlighten in red). same as for on battery (highlighten in purple)

Code:
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-power-manager" version="1.0">
  <property name="xfce4-power-manager" type="empty">
    <property name="power-button-action" type="empty"/>
    <property name="show-tray-icon" type="empty"/>
    <property name="logind-handle-lid-switch" type="bool" value="true"/> 
    <property name="dpms-on-ac-sleep" type="uint" value="1"/>
    <property name="dpms-on-ac-off" type="uint" value="2"/> 
    <property name="brightness-on-battery" type="uint" value="9"/> 
    <property name="dpms-on-battery-sleep" type="uint" value="1"/>
    <property name="dpms-on-battery-off" type="uint" value="2"/> 
    <property name="lock-screen-suspend-hibernate" type="bool" value="false"/>
    <property name="dpms-enabled" type="bool" value="true"/>
  </property>
</channel>

Check Empty Variable Without Comments

Hello,

They gave me this:
Code:
#!/bin/bash

# Write error message on stderr and die
function die() {
  echo "$@" >&2
  exit 1
}

# Load var from properties files
function load() {
  for propertie in "$@" ; do
    [[ -f "${propertie}" ]] || die "load() : \"${propertie}\" don't exist !"
    while read ; do
echo "${REPLY%=*}"
echo "${REPLY#*=}"
      [[ -n "${REPLY%%=*}" && -z "${REPLY#*=}" ]] || die "load() : Variable \"${REPLY%%=*}\" is empty!"
      eval "${REPLY%%=*}"=\'"${REPLY#*=}"\'
    done < "${propertie}"
  done
}

load "manage_srcds.conf"
echo "SRCDS_TICKRATE=$SRCDS_TICKRATE"
echo "SRCDS_SCREEN=$SRCDS_SCREEN"
echo "SRCDS_SRCDS_GAME_NAME=$SRCDS_GAME_NAME"
echo "SRCDS_MAXPLAYERS=$SRCDS_MAXPLAYERS"

but, return:
Quote:
###################################################
###################################################
load() : Variable "###################################################" is empty!

cat manage_srcds.conf

I just wish that there was no empty variable excluding those who do not have integer.

Best regards,

Remove Launcher Icon From Desktop

I have downloaded an attachment from a website and an icon has now appeared on the bottom panel of my debian distro with gnome shell (classic).
This icon will not go away even with reboot.
If I right-click on the icon it offers me 'launch' and 'properties' option. But there is no 'delete' option.

If I click on the icon it will take me back to the same website and open the attachment again.
Now it's forever on the bottom panel of my desktop.
Clearly this is a bug.
Can someone please advise how I can get rid of this? Thank you in advance.

Not Able To Upgrade.

Trying to upgrade I get the following message "The upgrade needs a total of 913 M free space on disk '/'. Please free at least an additional 525 M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean". I went to the terminal and entered sudo apt-get clean. I have used Gparted to re-size each of of the partitions on the Linux side of my machine but I still get the message. What should I do?

While Loop Not Working

Hey, not sure if this is the best place however thought id ask my question ..

My while loop below doesnt return as id expect :

while [[ ! "$RES" =~ (1|2|3|4|5|6|7|8|9|x|10)$ ]]
do
read -p "Please select an above option : " RES || exit
done

if [[ "$RES" =~ 1 ]]
echo "Option 1 Selected"
and so on through all my results

This goes on and works all the way up to 10.

If i select option 10 it runs option 1.

Any idea how to make sure when i select option 10 it runs it not 1.

Unable To Install Package-query-1.5 From AUR

I'm getting

Error: pkgver is not allowed to be empty
Error: pkgrel is not allowed to be empty

when using makepkg -s

i modified PKGBUILD to put the arch as "any"

Trying To Install Korora 21 But Haning.

I've been testing out a couple of LiveDVD systems and I like Korora 21. I'm now trying to install this distro but the Anaconda Installer does not seem to be working.

Each time I get to the screen with the keyboard, date/time and installation destinations. The Data/time and INstallation destinations options have a white box around them. The Date/Time shows a message "Restoring Hardware time" or something like that and the Installation Destination is showing a message "Probing Storage".

I've let it sit for about 10 minutes and nothing changes. I've tried clicking on the Date/Time option and the Installation Destination option with no luck. When you hover over the Installation Destination option it shows "No Disks Selected".

Can someone help me with this please? I really like the LiveDVD and would like to give it a go.

Parameter $1 Isn't Returned After A Case (bash Scripting)

Hello everyone,

I recently started using "function" and "case" in linux but I came across a slight problem

My code:

Code:
function Return
{
echo $1
}

case "$1" in 
 ""       ) echo "give parameters please";;
 [0-9]*   ) echo "No numbers please";;
 *        ) Return;;



So whenever the first parameter is a simple word I would like it returned, but it seems like there is no returned string (empty space)

Also I know I can just write "echo $1" instead of Return, but I'd like to use a function for this.

Can anyone tell me why the function doesn't return $1? Thanks!